/* ========================================
   Modern Auth Theme (Based on Index11)
   ======================================== */

:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-gray-50);
    color: var(--color-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--color-white);
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-200);
    overflow: hidden;
    position: relative;
}

.auth-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-black);
    text-decoration: none;
}

.auth-logo span {
    color: var(--color-gray-500);
}

.auth-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 0;
}

.auth-body {
    padding: 0 2rem 2.5rem;
}

/* Status Icon Styling */
.auth-status-icon {
    width: 80px;
    height: 80px;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-gray-600);
}

.auth-status-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--color-black);
    background: var(--color-white);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--color-black);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-gray-800);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-gray-100);
    color: var(--color-black);
}

.btn-secondary:hover {
    background: var(--color-gray-200);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.auth-links a {
    color: var(--color-gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: var(--color-black);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--color-gray-400);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-gray-200);
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: white;
    cursor: pointer;
}

.social-btn:hover {
    background: var(--color-gray-50);
    border-color: var(--color-gray-300);
}

.social-btn img {
    width: 24px;
    height: 24px;
}

.social-btn i {
    font-size: 24px;
}

.nav-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    padding: 0;
    list-style: none;
}

.nav-tabs li {
    flex: 1;
    text-align: center;
}

.nav-tabs a {
    display: block;
    padding: 1rem;
    color: var(--color-gray-500);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

.nav-tabs li.active a {
    color: var(--color-black);
    border-bottom-color: var(--color-black);
}

.copyright {
    text-align: center;
    padding: 2rem;
    color: var(--color-gray-400);
    font-size: 0.875rem;
}

.copyright a {
    color: var(--color-gray-600);
    text-decoration: none;
}

/* Captcha Styling */
.geetest_holder.geetest_wind {
    width: 100% !important;
}

.input-group {
    display: flex;
    gap: 0;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-addon {
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-300);
    border-left: 0;
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card {
    animation: fadeIn 0.6s ease-out;
}
