/* ==========================================================
    RESET & BASE VARIABLES
    ========================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #050b12;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================
    AUTH CONTAINER (CENTERED)
    ========================================================== */
.auth-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}

/* Logo ToonGod SVG */
.auth-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 18px;
    margin-bottom: 30px;
}
.auth-logo-badge img {
    width: 100%;
}

/* Title & Description */
.auth-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.auth-subtitle {
    font-size: 13.5px;
    color: #9ba3b4;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* ==========================================================
    FORM STYLES
    ========================================================== */
.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 7px;
}

/* Input Style (Light bluish input as seen in Login screenshot) */
.form-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    background: #eef3f8;
    border: 1px solid #d4dce6;
    border-radius: 5px;
    font-size: 14px;
    color: #1a1e28;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}
.form-input:focus {
    background: #ffffff;
    border-color: #2f98af;
    box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.25);
}
.form-input::placeholder {
    color: #8c93a3;
}

/* Dark Input Variant (cho form Register) */
.form-input.dark-input {
    background: #151c27;
    border-color: #263042;
    color: #ffffff;
}
.form-input.dark-input:focus {
    background: #18212e;
    border-color: #2f98af;
}
.form-input.dark-input::placeholder {
    color: #637084;
}

/* Row chứa Remember me & Forgot password */
.form-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 20px;
    font-size: 13px;
}
.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c4cad8;
    cursor: pointer;
    user-select: none;
}
.remember-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #2f98af;
    cursor: pointer;
}
.forgot-link {
    color: #0284c7;
    font-weight: 500;
    transition: color 0.15s;
}
.forgot-link:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* ==========================================================
    SUBMIT BUTTONS & FOOTER NAVIGATION
    ========================================================== */
.btn-auth-submit {
    width: 100%;
    height: 46px;
    background: #2f98af;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 173, 181, 0.35);
}
.btn-auth-submit:hover {
    background: #2f98af;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 173, 181, 0.45);
}
.btn-auth-submit:active {
    transform: translateY(0);
}

/* Back to Home Link */
.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    color: #9ba3b4;
    transition: color 0.2s;
}
.back-home-link:hover {
    color: #ffffff;
}

/* Switch Forms Animation */
.auth-box-section {
    animation: fadeIn 0.3s ease-in-out;
}

.notice{
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}