/* Real Estate Partner Program Page Styles */

/* =========================================================================
   HERO SECTION WITH BACKGROUND IMAGE
   ========================================================================= */

.hero-partner {
    position: relative;
    background-image: url('../page_images/agent-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
}

.hero-partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(38, 43, 61, 0.75) 0%,
        rgba(38, 43, 61, 0.85) 100%
    );
    z-index: 1;
}

.hero-partner > .container {
    position: relative;
    z-index: 2;
}

/* Responsive hero adjustments */
@media (max-width: 991.98px) {
    .hero-partner {
        min-height: 450px;
        background-position: center top;
    }
}

@media (max-width: 767.98px) {
    .hero-partner {
        min-height: 400px;
    }

    .hero-partner .display-1 {
        font-size: 2rem;
    }

    .hero-partner .lead {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-partner {
        min-height: 380px;
        background-position: 60% center;
    }
}

/* High-DPI screens - ensure crisp image */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-partner {
        background-image: url('../page_images/agent-hero.jpg');
    }
}

/* =========================================================================
   EXISTING 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;
}

/* Responsive 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;
    }
}

/* 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);
}
