/* ===============================
   GAMEVO Auth Pages
   Login / Register Theme
   =============================== */

.auth-page,
.login-page,
.register-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(0, 245, 255, 0.08), transparent 35%),
        radial-gradient(circle at bottom right, rgba(0, 255, 153, 0.06), transparent 35%),
        #020403;
    color: #ffffff;
}

.auth-container,
.login-container,
.register-container {
    width: min(460px, calc(100% - 32px));
    margin: 120px auto 60px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(0, 245, 255, 0.22);
    border-radius: 20px;
    box-shadow:
        0 0 35px rgba(0, 245, 255, 0.08),
        inset 0 0 30px rgba(0, 255, 153, 0.025);
}

.auth-card,
.login-card,
.register-card {
    background: rgba(5, 10, 15, 0.88);
    border: 1px solid rgba(0, 245, 255, 0.18);
    border-radius: 18px;
    padding: 28px;
}

.auth-title,
.login-title,
.register-title,
.auth-container h1,
.login-container h1,
.register-container h1,
.auth-container h2,
.login-container h2,
.register-container h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 800;
}

.auth-subtitle,
.login-subtitle,
.register-subtitle,
.auth-container p,
.login-container p,
.register-container p {
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
}

.auth-form,
.login-form,
.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.auth-form label,
.login-form label,
.register-form label,
.auth-container label,
.login-container label,
.register-container label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.auth-form input,
.login-form input,
.register-form input,
.auth-container input,
.login-container input,
.register-container input {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 11px;
    padding: 13px 15px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: 0.25s ease;
}

.auth-form input::placeholder,
.login-form input::placeholder,
.register-form input::placeholder,
.auth-container input::placeholder,
.login-container input::placeholder,
.register-container input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.auth-form input:focus,
.login-form input:focus,
.register-form input:focus,
.auth-container input:focus,
.login-container input:focus,
.register-container input:focus {
    border-color: #00f5ff;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.12);
}

.auth-btn,
.login-btn,
.register-btn,
.auth-container button,
.login-container button,
.register-container button,
.auth-container input[type="submit"],
.login-container input[type="submit"],
.register-container input[type="submit"] {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #00f5ff, #00ff99);
    color: #00110f;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.16);
}

.auth-btn:hover,
.login-btn:hover,
.register-btn:hover,
.auth-container button:hover,
.login-container button:hover,
.register-container button:hover,
.auth-container input[type="submit"]:hover,
.login-container input[type="submit"]:hover,
.register-container input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(0, 255, 153, 0.26);
}

.auth-link,
.login-link-text,
.register-link-text,
.auth-container a,
.login-container a,
.register-container a {
    color: #00f5ff;
    text-decoration: none;
    font-weight: 700;
}

.auth-container a:hover,
.login-container a:hover,
.register-container a:hover {
    color: #00ff99;
    text-decoration: underline;
}

.message,
.alert,
.error-message,
.success-message {
    border-radius: 12px;
    padding: 13px 15px;
    margin-bottom: 16px;
    font-weight: 700;
}

.error-message,
.alert-error,
.message-error {
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.35);
    color: #ff9b9b;
}

.success-message,
.alert-success,
.message-success {
    background: rgba(0, 255, 153, 0.1);
    border: 1px solid rgba(0, 255, 153, 0.35);
    color: #00ff99;
}

@media (max-width: 768px) {
    .auth-container,
    .login-container,
    .register-container {
        margin: 100px auto 40px;
        padding: 22px;
        border-radius: 16px;
    }

    .auth-card,
    .login-card,
    .register-card {
        padding: 22px;
    }

    .auth-title,
    .login-title,
    .register-title,
    .auth-container h1,
    .login-container h1,
    .register-container h1,
    .auth-container h2,
    .login-container h2,
    .register-container h2 {
        font-size: 24px;
    }
}
/* ===============================
   GAMEVO Auth Final Override
   =============================== */

body.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(0, 245, 255, 0.08), transparent 35%),
        radial-gradient(circle at bottom right, rgba(0, 255, 153, 0.06), transparent 35%),
        #020403 !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.auth-page .auth-container {
    width: min(460px, calc(100% - 32px));
    margin: 40px auto;
    padding: 34px;
    background: rgba(5, 10, 15, 0.88) !important;
    border: 1px solid rgba(0, 245, 255, 0.24) !important;
    border-radius: 20px;
    box-shadow:
        0 0 38px rgba(0, 245, 255, 0.12),
        inset 0 0 30px rgba(0, 255, 153, 0.025);
    backdrop-filter: blur(10px);
}

body.auth-page .auth-header {
    text-align: center;
    margin-bottom: 28px;
}

body.auth-page .auth-header h1 {
    color: #00f5ff;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

body.auth-page .auth-header p {
    color: rgba(255, 255, 255, 0.68);
}

body.auth-page .back-link {
    display: inline-block;
    color: #00f5ff;
    text-decoration: none;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

body.auth-page .back-link:hover {
    color: #00ff99;
    transform: translateX(-4px);
}

body.auth-page .form-group {
    margin-bottom: 18px;
}

body.auth-page .form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
}

body.auth-page .form-group input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.36) !important;
    border: 1px solid rgba(0, 245, 255, 0.26) !important;
    border-radius: 11px;
    padding: 13px 15px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: 0.25s ease;
}

body.auth-page .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

body.auth-page .form-group input:focus {
    border-color: #00f5ff !important;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.12);
}

body.auth-page .password-field {
    position: relative;
}

body.auth-page .password-field input {
    padding-right: 52px;
}

body.auth-page .password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    padding: 0;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 8, 12, 0.88) !important;
    border: 1px solid rgba(0, 245, 255, 0.72) !important;
    border-radius: 10px;
    color: #6fffff !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.34),
        0 0 12px rgba(0, 245, 255, 0.18);
}

body.auth-page .password-toggle:hover,
body.auth-page .password-toggle:focus-visible {
    transform: translateY(-50%);
    background: rgba(0, 24, 22, 0.95) !important;
    border-color: rgba(0, 255, 153, 0.86) !important;
    color: #9fffe5 !important;
    box-shadow:
        0 0 0 2px rgba(0, 245, 255, 0.18),
        0 0 18px rgba(0, 255, 153, 0.3);
    outline: none;
}

body.auth-page .toggle-eye {
    position: relative;
    width: 18px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

body.auth-page .toggle-eye::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

body.auth-page .toggle-eye::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 7px;
    width: 2px;
    height: 23px;
    background: #00ff99;
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(0, 255, 153, 0.45);
    transform: rotate(45deg);
    opacity: 0;
}

body.auth-page .password-toggle.is-visible .toggle-eye::after {
    opacity: 1;
}

body.auth-page .auth-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #00f5ff, #00ff99) !important;
    color: #00110f !important;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.16);
}

body.auth-page .auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(0, 255, 153, 0.26);
}

body.auth-page .auth-form-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 18px;
    min-height: 52px;
    margin: -2px 0 2px;
    padding: 10px 13px;
    border: 1px solid rgba(0, 245, 255, 0.16);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(0, 245, 255, 0.045), rgba(0, 255, 153, 0.025)),
        rgba(0, 0, 0, 0.2);
    font-size: 13px;
}

body.auth-page .remember-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    user-select: none;
}

body.auth-page .remember-checkbox {
    position: absolute;
    width: 1px !important;
    height: 1px;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    pointer-events: none;
}

body.auth-page .remember-option-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding-left: 31px;
    line-height: 1.35;
}

body.auth-page .remember-option-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 245, 255, 0.62);
    border-radius: 6px;
    background: rgba(1, 12, 15, 0.9);
    box-shadow: inset 0 0 8px rgba(0, 245, 255, 0.08);
    transform: translateY(-50%);
    transition: 0.2s ease;
}

body.auth-page .remember-option-text::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 50%;
    width: 5px;
    height: 9px;
    border-right: 2px solid #00110f;
    border-bottom: 2px solid #00110f;
    opacity: 0;
    transform: translateY(-62%) rotate(45deg) scale(0.75);
    transition: 0.18s ease;
}

body.auth-page .remember-option:hover .remember-option-text::before {
    border-color: #00ff99;
    box-shadow: 0 0 12px rgba(0, 255, 153, 0.18);
}

body.auth-page .remember-checkbox:focus-visible + .remember-option-text::before {
    outline: 2px solid rgba(0, 245, 255, 0.42);
    outline-offset: 3px;
}

body.auth-page .remember-checkbox:checked + .remember-option-text::before {
    border-color: #00ff99;
    background: linear-gradient(135deg, #00f5ff, #00ff99);
    box-shadow: 0 0 14px rgba(0, 255, 153, 0.28);
}

body.auth-page .remember-checkbox:checked + .remember-option-text::after {
    opacity: 1;
    transform: translateY(-62%) rotate(45deg) scale(1);
}

body.auth-page .forgot-password-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-left: auto;
    color: #00f5ff;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

body.auth-page .forgot-password-link:hover,
body.auth-page .forgot-password-link:focus-visible {
    color: #00ff99;
    text-decoration: underline;
}

body.auth-page .auth-footer {
    text-align: center;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
}

body.auth-page .auth-footer a {
    color: #00f5ff;
    text-decoration: none;
    font-weight: 800;
}

body.auth-page .auth-footer a:hover {
    color: #00ff99;
    text-decoration: underline;
}

body.auth-page .auth-footer-divider {
    display: inline-block;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.35);
}

body.auth-page .message {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
}

body.auth-page .message.error {
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.35);
    color: #ff9b9b;
}

body.auth-page .message.success {
    background: rgba(0, 255, 153, 0.1);
    border: 1px solid rgba(0, 255, 153, 0.35);
    color: #00ff99;
}

body.auth-page .auth-dev-card {
    padding: 14px;
    margin-bottom: 18px;
    background:
        linear-gradient(135deg, rgba(0, 245, 255, 0.09), rgba(0, 255, 153, 0.07)),
        rgba(2, 8, 12, 0.78);
    border: 1px solid rgba(0, 245, 255, 0.28);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.6;
}

body.auth-page .auth-dev-kicker {
    display: block;
    margin-bottom: 3px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.3px;
    color: #00ff99;
}

body.auth-page .auth-dev-card p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.72);
    text-align: left;
}

body.auth-page .auth-dev-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    width: 100%;
    padding: 10px 14px;
    box-sizing: border-box;
    background: rgba(0, 245, 255, 0.12);
    border: 1px solid rgba(0, 245, 255, 0.42);
    border-radius: 10px;
    color: #00f5ff;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    transition: 0.25s ease;
}

body.auth-page .auth-dev-button:hover {
    background: rgba(0, 255, 153, 0.14);
    border-color: rgba(0, 255, 153, 0.58);
    color: #00ff99;
    text-decoration: none;
}

@media (max-width: 768px) {
    body.auth-page {
        padding: 16px;
        align-items: flex-start;
    }

    body.auth-page .auth-container {
        margin-top: 32px;
        padding: 24px;
        border-radius: 16px;
    }

    body.auth-page .auth-header h1 {
        font-size: 28px;
    }

    body.auth-page .auth-footer-divider {
        display: none;
    }

    body.auth-page .auth-footer a {
        display: block;
    }
}

@media (max-width: 420px) {
    body.auth-page .auth-form-links {
        align-items: stretch;
        padding: 11px 12px;
    }

    body.auth-page .remember-option,
    body.auth-page .forgot-password-link {
        width: 100%;
    }

    body.auth-page .forgot-password-link {
        justify-content: flex-end;
        margin-left: 0;
        padding-top: 7px;
        border-top: 1px solid rgba(0, 245, 255, 0.1);
    }
}
