/* Page Layout */
.page-container {
    min-height: 100vh;
    background-color: #ffffff;
}

.header {
    background-color: #2563eb;
    padding: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: white;
    margin: -2rem -2rem 2rem -2rem;
    border-bottom: 1px solid #e5e7eb;
}

.logo {
    height: 2rem;
    width: auto;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Progress Navigation */
.progress-nav {
    position: relative;
    padding: 0;
    margin: 3rem 0;
    width: 100%;
}

.progress-line {
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

/* Update the line based on active step */
.step-item.active ~ .step-item .step-circle::before,
.step-item:not(.active):not(.completed) .step-circle::before {
    background-color: transparent;
}

/* Show line up to active step */
.nav-steps[data-active-step="1"] ~ .progress-line {
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.7) 0%, 
        transparent 0%, 
        transparent 100%
    );
}

.nav-steps[data-active-step="2"] ~ .progress-line {
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.7) 25%, 
        transparent 25%, 
        transparent 100%
    );
}

.nav-steps[data-active-step="3"] ~ .progress-line {
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.7) 50%, 
        transparent 50%, 
        transparent 100%
    );
}

.nav-steps[data-active-step="4"] ~ .progress-line {
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.7) 75%, 
        transparent 75%, 
        transparent 100%
    );
}

.nav-steps[data-active-step="5"] ~ .progress-line {
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.7) 100%, 
        transparent 100%, 
        transparent 100%
    );
}

.nav-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    width: 100%;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    min-width: 120px;
    position: relative;
}

/* Position first and last items */
.step-item:first-child {
    margin-right: auto;
    padding-left: 0;
}

.step-item:last-child {
    margin-left: auto;
    padding-right: 0;
}

/* Position middle items */
.step-item:not(:first-child):not(:last-child) {
    margin: 0 auto;
}

/* Adjust spacing for middle items */
.step-item:nth-child(2) {
    margin-left: 15%;
}

.step-item:nth-child(3) {
    margin: 0 auto;
}

.step-item:nth-child(4) {
    margin-right: 15%;
}

.step-circle {
    width: 48px;
    height: 48px;
    background-color: white;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #2563eb;
    position: relative;
    z-index: 2;
}

.step-label {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    color: white;
}

/* Last step (Results) */
.step-item:last-child .step-circle {
    background-color: #2563eb;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.7);
}

.step-item:last-child .step-label {
    color: rgba(255, 255, 255, 0.7);
}

/* Inactive steps */
.step-item:not(.active):not(.completed) .step-circle {
    background-color: #2563eb;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.7);
}

.step-item:not(.active):not(.completed) .step-label {
    color: rgba(255, 255, 255, 0.7);
}

/* Active step */
.step-item.active .step-circle {
    background-color: white;
    border-color: white;
    color: #2563eb;
}

/* Completed steps - highest specificity */
.nav-steps .step-item.completed .step-circle,
.nav-steps .step-item:last-child.completed .step-circle {
    background-color: white !important;
    border-color: white !important;
    color: #2563eb !important;
}

.nav-steps .step-item.completed .step-label,
.nav-steps .step-item:last-child.completed .step-label {
    color: white !important;
}

/* Main Content */
.main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .logo-container {
        margin: -1rem -1rem 1rem -1rem;
        padding: 1rem;
    }

    .header-content {
        padding: 0;
    }

    .progress-nav {
        margin: 2rem 0;
    }

    .progress-line {
        display: none;
    }
    
    .nav-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-item {
        width: 100%;
        flex-direction: row;
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }
    
    .step-label {
        text-align: left;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
}

/* Font Smoothing */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} 