/**
 * Budget Wizard Styles
 *
 * 5 adımlı wizard için stiller
 *
 * @package EmlakPusulasi
 */

/* =====================================================
   WIZARD CONTAINER
   ===================================================== */

.wizard-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

/* =====================================================
   PROGRESS BAR
   ===================================================== */

.wizard-progress {
    position: relative;
    margin-bottom: 2rem;
}

.wizard-progress-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.wizard-progress-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transition: width 0.3s ease;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-indicator .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-indicator.active .step-circle {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.2);
}

.step-indicator .step-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
}

.step-indicator.active .step-label {
    color: var(--primary-blue);
    font-weight: 500;
}

/* =====================================================
   WIZARD STEPS
   ===================================================== */

.wizard-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wizard-step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wizard-step-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.wizard-step-header p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* =====================================================
   INPUT STYLES
   ===================================================== */

.wizard-input-group {
    margin-bottom: 1.5rem;
}

.wizard-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #343a40;
}

.wizard-input-group .form-control-lg {
    font-size: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.wizard-input-group .form-control-lg:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* Slider */
.wizard-slider {
    margin-top: 1rem;
}

.wizard-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
}

.wizard-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-orange);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.wizard-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}

/* =====================================================
   SELECTION BUTTONS
   ===================================================== */

.selection-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.selection-btn {
    flex: 1;
    min-width: 80px;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.selection-btn:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 86, 179, 0.05);
}

.selection-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

.selection-btn .btn-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.selection-btn .btn-label {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Wait time buttons */
.wait-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.wait-option {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.wait-option:hover {
    border-color: var(--accent-orange);
}

.wait-option.active {
    border-color: var(--accent-orange);
    background: var(--accent-orange);
    color: white;
}

.wait-option i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.wait-option span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Room type buttons */
.room-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.room-type-btn {
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 80px;
}

.room-type-btn:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.room-type-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

/* =====================================================
   TOGGLE SWITCH
   ===================================================== */

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

.toggle-switch .form-check-input:checked {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.wizard-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wizard-buttons .btn-primary {
    background: var(--primary-blue);
    border: none;
}

.wizard-buttons .btn-primary:hover {
    background: #004a99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.wizard-buttons .btn-secondary {
    background: #e9ecef;
    border: none;
    color: #6c757d;
}

.wizard-buttons .btn-secondary:hover {
    background: #dee2e6;
}

.wizard-buttons .btn-success {
    background: var(--accent-orange);
    border: none;
}

.wizard-buttons .btn-success:hover {
    background: #e5522b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3);
}

/* =====================================================
   RESULTS STYLES
   ===================================================== */

.results-header {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05), rgba(255, 94, 58, 0.05));
    border-radius: 16px;
    margin-bottom: 2rem;
}

.results-header .display-3 {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Score breakdown */
.score-breakdown-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.score-breakdown-item:last-child {
    margin-bottom: 0;
}

/* Lead action buttons */
.lead-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.lead-action-btn:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.lead-action-btn i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.lead-action-btn strong {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.lead-action-btn small {
    color: #6c757d;
    text-align: center;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .wizard-container {
        padding: 1rem;
    }

    .step-indicator .step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .step-indicator .step-label {
        font-size: 0.65rem;
    }

    .wizard-input-group .form-control-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .selection-btn {
        padding: 0.75rem;
    }

    .selection-btn .btn-icon {
        font-size: 1.25rem;
    }

    .wizard-buttons .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .results-header .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .wait-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-type-options {
        flex-direction: column;
    }

    .room-type-btn {
        width: 100%;
    }
}
