 

/* === LOGIN PAGE WRAPPER === */
.login-page-wrapper {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    margin-top: 60px; */
    flex: 1;
}

/* === LOGIN BOX === */
.login-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    animation: fadeIn 0.5s ease-out;
}

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

/* === LOGIN HEADER === */
.login-box-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-box-title {
    font-size: 28px;
    color: #213FA0;
    font-weight: bold;
    margin-bottom: 8px;
}

.login-box-subtitle {
    color: #999;
    font-size: 14px;
}

/* === ACCOUNT TYPE SELECTION === */
.account-type-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.account-type-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.account-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}

.account-card:hover {
    border-color: #213FA0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 63, 160, 0.2);
}

.account-card.selected {
    background: linear-gradient(135deg, #213FA0 0%, #1a3280 100%);
    border-color: #213FA0;
    color: white;
    box-shadow: 0 5px 20px rgba(33, 63, 160, 0.3);
}

/* === ACCOUNT CARD ICON === */
.account-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.account-card-icon svg {
    transition: all 0.3s ease;
}

.account-card.selected .account-card-icon {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.account-card.selected .account-card-icon svg path,
.account-card.selected .account-card-icon svg circle,
.account-card.selected .account-card-icon svg rect {
    fill: #213FA0;
}

.account-card:not(.selected) .account-card-icon svg path,
.account-card:not(.selected) .account-card-icon svg circle,
.account-card:not(.selected) .account-card-icon svg rect {
    fill: #999;
}

.account-card:hover:not(.selected) .account-card-icon svg path,
.account-card:hover:not(.selected) .account-card-icon svg circle,
.account-card:hover:not(.selected) .account-card-icon svg rect {
    fill: #213FA0;
}

/* === ACCOUNT CARD LABEL === */
.account-card-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.account-card.selected .account-card-label {
    color: white;
}

/* === CHECKMARK === */
.checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #213FA0;
}

.account-card.selected .checkmark {
    display: flex;
}

/* === GREETING MESSAGE === */
.greeting-message {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    color: #666;
    font-weight: 500;
    display: none;
}

.greeting-message.show {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.greeting-message .highlight {
    color: #213FA0;
    font-weight: 700;
}

/* === LOGIN FORM === */
.login-form-clean {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
}

/* === FORM FIELD === */
.form-field {
    position: relative;
}

.form-field label {
    position: absolute;
    top: -8px;
    left: 15px;
    background: white;
    padding: 0 8px;
    font-size: 12px;
    color: #213FA0;
    font-weight: 600;
    z-index: 1;
}

/* === INPUT WRAPPER === */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-field input {
    width: 100%;
    padding: 15px 18px 15px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-field input:focus {
    outline: none;
    border-color: #213FA0;
    background: white;
    box-shadow: 0 0 0 3px rgba(33, 63, 160, 0.1);
}

.form-field input::placeholder {
    color: #bbb;
}

/* === PASSWORD FIELD === */
.password-field-wrapper {
    position: relative;
}

.password-field-wrapper .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
 

.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: #213FA0;
}

.password-toggle-btn svg {
    display: block;
}

/* === FORM FOOTER === */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

/* === REMEMBER CHECKBOX === */
.remember-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
}

.remember-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #213FA0;
}

/* === FORGOT LINK === */
.forgot-link {
    color: #f44336;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.forgot-link:hover {
    color: #d32f2f;
    text-decoration: underline;
}

/* === LOGIN SUBMIT BUTTON === */
.login-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #213FA0 0%, #1a3280 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(33, 63, 160, 0.3);
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 63, 160, 0.4);
}

.login-submit-btn:active {
    transform: translateY(0);
}

/* === SIGNUP SECTION === */
.signup-section {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.signup-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.signup-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.signup-link {
    color: #213FA0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.signup-link:hover {
    color: #1a3280;
    text-decoration: underline;
}

.link-separator {
    color: #ccc;
}

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

/* === TABLET (768px and below) === */
@media (max-width: 767px) {
    .top-header {
        padding: 12px 15px;
    }

    .header-title {
        display: none;
    }

    .header-actions {
        gap: 10px;
    }

    .header-link {
        font-size: 12px;
        padding: 6px 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .login-box {
        padding: 35px 25px;
    }

    .login-box-title {
        font-size: 24px;
    }

    .login-box-subtitle {
        font-size: 13px;
    }

    .account-type-cards {
        gap: 12px;
    }

    .account-card {
        padding: 18px 10px;
    }

    .account-card-icon {
        width: 55px;
        height: 55px;
    }

    .account-card-icon svg {
        width: 35px;
        height: 35px;
    }

    .account-card-label {
        font-size: 13px;
    }

    .greeting-message {
        font-size: 15px;
    }

    .form-field input {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* === MOBILE (580px and below) === */
@media (max-width: 580px) {
    

    .login-box {
        padding: 30px 20px;
    }

    .login-box-title {
        font-size: 22px;
    }

    .account-type-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .account-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px 20px;
        gap: 15px;
    }

    .account-card-icon {
        width: 50px;
        height: 50px;
    }

    .account-card-icon svg {
        width: 30px;
        height: 30px;
    }

    .account-card-label {
        font-size: 15px;
        text-align: left;
    }

    .checkmark {
        top: 50%;
        transform: translateY(-50%);
    }

    .form-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .signup-links {
        flex-direction: column;
        gap: 10px;
    }

    .link-separator {
        display: none;
    }
}

/* === SMALL MOBILE (380px and below) === */
@media (max-width: 380px) {
    .header-actions {
        display: none;
    }

    .login-box {
        padding: 25px 18px;
    }

    .login-box-title {
        font-size: 20px;
    }

    .account-card {
        padding: 12px 15px;
    }

    .account-card-icon {
        width: 45px;
        height: 45px;
    }

    .account-card-icon svg {
        width: 28px;
        height: 28px;
    }

    .form-field input {
        padding: 13px 15px;
        font-size: 13px;
    }

    .login-submit-btn {
        padding: 14px;
        font-size: 15px;
    }
}

 
/* === STATUS BADGES === */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.success {
    background-color: #e8f5e9;
    color: #388e3c;
}

.status-badge.error {
    background-color: #ffebee;
    color: #d32f2f;
}

.status-badge.warning {
    background-color: #fff3e0;
    color: #f57c00;
}

.status-badge.info {
    background-color: #e3f2fd;
    color: #1976d2;
}

/* === GENERAL BUTTONS === */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: #213FA0;
    color: white;
}

.btn-primary:hover {
    background-color: #1a3280;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #666;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.btn-success {
    background-color: #4caf50;
    color: white;
}

.btn-success:hover {
    background-color: #388e3c;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

/* === ALERT/MESSAGE BOXES === */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background-color: #e8f5e9;
    color: #388e3c;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background-color: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.alert-warning {
    background-color: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffe0b2;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

/* === LOADING SPINNER === */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #213FA0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === LOADING BUTTON STATE === */
.login-submit-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.login-submit-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

/* === FORM VALIDATION STATES === */
.form-field.error input {
    border-color: #f44336;
    background-color: #fff5f5;
}

.form-field.error label {
    color: #f44336;
}

.form-field.success input {
    border-color: #4caf50;
    background-color: #f5fff5;
}

.form-field.success label {
    color: #4caf50;
}

.field-error-message {
    font-size: 12px;
    color: #f44336;
    margin-top: 5px;
    display: block;
}
 