﻿
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff, #eff6ff);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    padding: 25px;
    border-radius: 0px;
    box-shadow: 0 15px 45px rgba(31, 41, 55, 0.10);
}

.login-logo {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ede9fe;
    color: #6d28d9;
    border-radius: 18px;
    font-size: 36px;
}

.login-card h2 {
    text-align: center;
    font-size: 27px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 8px;
}

.login-subtitle {
    text-align: center;
    color: #8b8fa3;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 21px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
    }

.input-wrapper {
    height: 48px;
    display: flex;
    align-items: center;
    border: 1px solid #e2e5ef;
    border-radius: 9px;
    padding: 0 13px;
    transition: 0.2s;
    background: #fff;
}

    .input-wrapper:focus-within {
        border-color: #7c3aed;
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10);
    }

.input-icon {
    color: #9298aa;
    margin-right: 11px;
    font-size: 16px;
}

.form-control {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #1f2937;
    font-size: 14px;
    min-width: 0;
}

    .form-control::placeholder {
        color: #a5a9b7;
    }

.password-toggle {
    border: none;
    background: transparent;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.validation-message {
    display: block;
    color: #dc2626;
    font-size: 12px;
    margin-top: 5px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 4px 0 25px;
    font-size: 12px;
}

.remember-label {
    display: flex !important;
    align-items: center;
    gap: 7px;
    margin: 0 !important;
    cursor: pointer;
    color: #555d70 !important;
    font-weight: 400 !important;
}

    .remember-label input {
        accent-color: #6d28d9;
    }

.login-options a,
.register-section a {
    color: #6d28d9;
    text-decoration: none;
    font-weight: 600;
}

    .login-options a:hover,
    .register-section a:hover {
        text-decoration: underline;
    }

.login-button {
    width: 100%;
    height: 49px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

    .login-button span {
        margin-left: 8px;
    }

    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 7px 18px rgba(99, 102, 241, 0.3);
    }

    .login-button:disabled {
        opacity: 0.65;
        cursor: not-allowed;
        transform: none;
    }

.login-error {
    padding: 11px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 7px;
    font-size: 13px;
    margin-bottom: 15px;
}

.register-section {
    text-align: center;
    border-top: 1px solid #edf0f5;
    padding-top: 23px;
    margin-top: 27px;
    font-size: 13px;
    color: #747b8c;
}

    .register-section a {
        margin-left: 4px;
    }

.login-footer {
    text-align: center;
    color: #9298aa;
    font-size: 12px;
    margin-top: 22px;
}

@media (max-width: 480px) {
    .login-page {
        padding: 18px 14px;
    }

    .login-card {
        padding: 28px 21px;
        border-radius: 14px;
    }

        .login-card h2 {
            font-size: 24px;
        }
}

/*Sign_Out*/

.logout-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: linear-gradient( 135deg, #f5f3ff, #ede9fe, #f8f7fc );
}

.logout-card {
    width: 100%;
    max-width: 450px;
    padding: 40px 35px;
    background: #fff;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(65, 45, 110, .10);
}

.logout-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #f3e8ff;
    color: #7c3aed;
    font-size: 34px;
}

.logout-card h2 {
    font-size: 27px;
    font-weight: 750;
    color: #25213a;
    margin-bottom: 12px;
}

.logout-description {
    color: #77718a;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.logout-info {
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
    padding: 16px;
    margin-bottom: 25px;
    border-radius: 12px;
    background: #f8f7fc;
}

    .logout-info > i {
        font-size: 25px;
        color: #16a34a;
    }

    .logout-info strong,
    .logout-info span {
        display: block;
    }

    .logout-info strong {
        color: #25213a;
        font-size: 13px;
        margin-bottom: 4px;
    }

    .logout-info span {
        color: #77718a;
        font-size: 12px;
        line-height: 1.5;
    }

.btn-logout,
.btn-cancel {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: .2s ease;
}

.btn-logout {
    border: none;
    background: #7c3aed;
    color: white;
}

    .btn-logout:hover {
        background: #6d28d9;
        box-shadow: 0 5px 15px #7c3aed35;
    }

.btn-cancel {
    margin-top: 12px;
    color: #514b63;
    border: 1px solid #e5e1ef;
    background: white;
}

    .btn-cancel:hover {
        background: #f8f7fc;
    }

.logout-footer {
    margin-top: 32px;
    font-size: 11px;
    color: #a09aad;
}

@media(max-width:480px) {
    .logout-card {
        padding: 32px 22px;
    }

        .logout-card h2 {
            font-size: 23px;
        }
}