/* Real Estate Partner Program Page Styles */

/* Hero section - use site's primary color */
.bg-gradient-primary {
    background: var(--bs-primary);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.step-item.active .step-circle,
.step-item.completed .step-circle {
    background: var(--bs-primary);
    color: white;
}

.step-item.completed .step-circle {
    background: #45c4a0;
}

.step-label {
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-item.active .step-label {
    color: var(--bs-primary);
}

.step-line {
    width: 60px;
    height: 3px;
    background: #e9ecef;
    margin: 0 10px;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.step-line.active {
    background: var(--bs-primary);
}

/* Verification Input */
.verification-input {
    font-size: 32px !important;
    letter-spacing: 12px;
    font-weight: 600;
    padding: 15px 20px !important;
}

.verification-input::placeholder {
    letter-spacing: 12px;
    color: #d0d0d0;
}

/* Form Styling */
.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-select-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

/* Card Styling */
.card.shadow-lg {
    border: none;
    border-radius: 12px;
}

.card-body {
    padding: 2rem;
}

/* Button Styling - Match main site */
.btn-primary {
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:disabled {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

/* Outline button for white backgrounds */
.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--bs-primary);
}

/* How It Works Cards */
.card.h-100 {
    transition: all 0.3s ease;
}

.card.h-100:hover {
    transform: translateY(-5px);
}

/* Icon Buttons */
.btn-circle {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-soft-primary {
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Icon List */
.icon-list.bullet-primary i {
    color: var(--bs-primary);
}

/* Success Page Styles */
.success-icon {
    width: 100px;
    height: 100px;
    background: #45c4a0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-icon i {
    font-size: 50px;
    color: white;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Section styling to match main site */
.wrapper.bg-soft-primary {
    background-color: #f0f4f8;
}

/* Tablet Adjustments */
@media (max-width: 768px) {
    .step-line {
        width: 30px;
    }

    .verification-input {
        font-size: 24px !important;
        letter-spacing: 8px;
    }

    .progress-steps {
        margin-bottom: 1.5rem;
    }

    .step-label {
        font-size: 10px;
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .card-body {
        padding: 1.5rem;
    }

    .btn-primary {
        padding: 10px 20px;
    }

    .form-control-lg,
    .form-select-lg {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .step-line {
        width: 20px;
        margin: 0 5px;
    }

    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .step-label {
        font-size: 8px;
        letter-spacing: 0;
    }

    .progress-steps {
        margin-bottom: 1rem;
    }

    .verification-input {
        font-size: 18px !important;
        letter-spacing: 5px;
        padding: 10px 12px !important;
    }

    .verification-input::placeholder {
        letter-spacing: 5px;
    }

    .card-body {
        padding: 1rem;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .form-control-lg,
    .form-select-lg {
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .form-check-label {
        font-size: 12px;
    }

    h2 {
        font-size: 1.4rem;
    }

    h5 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .success-icon i {
        font-size: 35px;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .alert {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Alert Styling */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 8px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 8px;
}

.alert-info {
    background-color: #e8f4fd;
    border-color: #b8daff;
    color: #004085;
    border-radius: 8px;
}

/* Link Styling */
a.text-muted:hover {
    color: var(--bs-primary) !important;
}

/* Form Check */
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-label {
    font-size: 14px;
    color: #6c757d;
}

.form-check-label a {
    color: var(--bs-primary);
}
