/* ==============================================
   Login Page Styles (Source: px → PostCSS → rem)
   Design base: 390px width
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

/* Explicit SVG Icon sizing to prevent huge expansion when Tailwind fails or scales */
.form-section svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    flex-shrink: 0;
}

:root {
    --primary-bg: #1A1A1A;
    --surface-color: #2B2B2B;
    --primary-action: #99FF00;
    --secondary-hint: #707070;
    --content-text: #FFFFFF;
}

.shadow-neon-glow {
    box-shadow: 0 0 0.625rem rgba(153, 255, 0, 0.8), 0 0 0.3125rem rgba(153, 255, 0, 0.4);
}

.top-logo-area {
    background: #FFFFFF;
    position: relative;
    height: 35%;
}

.tab {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    transition: all 300ms;
    opacity: 0.5;
}

.tab.active {
    opacity: 1;
    color: #99FF00;
    border-bottom: 0.1875rem solid #99FF00;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
}

.hidden {
    display: none !important;
}

/* Custom Checkbox Design matching Script Battle theme */
#phone-frame #agreement-checkbox {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 1rem !important;
    height: 1rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 1.5px solid #707070 !important;
    border-radius: 0.25rem !important;
    outline: none !important;
    background-color: #2B2B2B !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 200ms ease !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#phone-frame #agreement-checkbox:checked {
    background-color: #99FF00 !important;
    border-color: #99FF00 !important;
    box-shadow: 0 0 0.5rem rgba(153, 255, 0, 0.6) !important;
}

#phone-frame #agreement-checkbox:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 0.25rem !important;
    top: 1px !important;
    width: 0.3125rem !important;
    height: 0.5625rem !important;
    border: solid #1A1A1A !important;
    border-width: 0 0.15625rem 0.15625rem 0 !important;
    transform: rotate(45deg) !important;
}

/* WeChat Mini Program One-Click Login Styles */
.wechat-login-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0.625rem;
    gap: 1rem;
}

.btn-wechat-quick-login {
    width: 100%;
    background-color: #07C160;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.125rem;
    border-radius: 624.9375rem;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(7, 193, 96, 0.4);
    border: none;
    cursor: pointer;
    transition: all 200ms ease;
}

.btn-wechat-quick-login:hover {
    background-color: #06ad56;
}

.btn-wechat-quick-login:active {
    transform: scale(0.98);
}

