/* ASSIDU Authentication Pages Styles - Matching PDF Design */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1e2d 0%, #2d2d3f 100%);
    padding: 2rem 1rem;
}

.auth-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo .brand-text {
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e1e2d;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #7e8299;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Progress Steps */
.auth-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f8fa;
    border: 2px solid #e4e6ef;
    color: #7e8299;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: #175AA6;
    border-color: #175AA6;
    color: #ffffff;
}

.step.completed .step-number {
    background-color: #1bc5bd;
    border-color: #1bc5bd;
    color: #ffffff;
}

.step-label {
    font-size: 0.75rem;
    color: #7e8299;
    font-weight: 500;
    white-space: nowrap;
}

.step.active .step-label {
    color: #175AA6;
}

.step.completed .step-label {
    color: #1bc5bd;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #e4e6ef;
    margin: 0 0.75rem;
    margin-bottom: 1.5rem;
    min-width: 40px;
    max-width: 80px;
}

.step-line.active {
    background-color: #175AA6;
}

/* Auth Form */
.auth-form {
    margin-bottom: 1.5rem;
}

.auth-form .form-label {
    font-weight: 500;
    color: #3f4254;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form .form-control:focus {
    border-color: #175AA6;
    box-shadow: 0 0 0 0.2rem rgba(23, 90, 166, 0.15);
}

.auth-form .form-control::placeholder {
    color: #b5b5c3;
}

.auth-form .btn-primary {
    background-color: #175AA6;
    border-color: #175AA6;
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.auth-form .btn-primary:hover {
    background-color: #124a8a;
    border-color: #124a8a;
    transform: translateY(-1px);
}

.auth-form .btn-link {
    color: #7e8299;
    font-weight: 500;
}

.auth-form .btn-link:hover {
    color: #3699ff;
}

.auth-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #f5f8fa;
}

.auth-footer p {
    color: #7e8299;
    font-size: 0.9rem;
}

/* Organization Type Selection */
.org-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.org-type-card {
    border: 2px solid #e4e6ef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.org-type-card:hover {
    border-color: #175AA6;
    background: #D7EDFF;
}

.org-type-card.selected {
    border-color: #175AA6;
    background: #D7EDFF;
}

.org-type-card input[type="radio"] {
    display: none;
}

.org-type-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #7e8299;
}

.org-type-card.selected .icon {
    color: #175AA6;
}

.org-type-card .title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #000000;
    font-size: 0.95rem;
}

.org-type-card.selected .title {
    color: #175AA6;
}

/* Login Page Specific */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e4e6ef;
}

.auth-divider span {
    padding: 0 1rem;
    color: #7e8299;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 12px;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    .org-type-grid {
        grid-template-columns: 1fr;
    }

    .step-label {
        display: none;
    }

    .step-line {
        min-width: 30px;
        max-width: 50px;
    }
}

@media (max-width: 400px) {
    .auth-card {
        padding: 1.25rem;
    }

    .auth-steps {
        padding: 0;
    }
}
