/* ============================================
   TM BIZWHATS - MAIN STYLESHEET
   ============================================ */

:root {
    /* WhatsApp Color Palette */
    --primary-dark: #075E54;
    --primary: #128C7E;
    --primary-light: #25D366;
    --ultra-light: #DCF8C6;
    --chat-bg: #ECE5DD;
    --accent: #34B7F1;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #075E54 0%, #128C7E 50%, #25D366 100%);
    --gradient-button: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    --gradient-dark: linear-gradient(135deg, #064E45 0%, #0A6B60 50%, #128C7E 100%);
    
    /* Light Theme */
    --bg: #ffffff;
    --bg-secondary: #f7f9fc;
    --text: #1a1a1a;
    --text-secondary: #666;
    --border: #e5e7eb;
    --card-bg: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    
    /* Status Colors */
    --success: #25D366;
    --error: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    
    /* Sizes */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;
}
/* ============================================
   ONBOARDING PAGE
   ============================================ */

.onboarding-page {
    padding: 20px 15px;
}

.onboarding-container {
    max-width: 480px;
}

.onboarding-card {
    padding: 30px 25px;
    max-height: none;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 25px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transform: scale(1.1);
}

.progress-step.active .step-label {
    color: var(--primary-dark);
}

.progress-step.completed .step-number {
    background: var(--primary-light);
    color: white;
}

.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 16px;
}

.progress-step.completed .step-number {
    font-size: 0;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 0 -4px;
    margin-top: -18px;
    z-index: -1;
}

/* Onboarding Steps */
.onboarding-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.onboarding-step.active {
    display: block;
}

.step-header {
    text-align: center;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 42px;
    margin-bottom: 10px;
}

.step-header h1 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.step-header p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Logo Upload */
.logo-upload-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-upload-label:hover .logo-preview {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.logo-preview {
    width: 100px;
    height: 100px;
    border: 3px dashed var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 36px;
}

.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.upload-hint {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Form Hint */
.form-hint {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
    display: block;
}

/* Button Row */
.button-row {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.button-row .btn {
    flex: 1;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

/* Textarea */
.form-group textarea {
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    background: #f7f9fc;
    color: var(--text);
    transition: all 0.3s ease;
    width: 100%;
    resize: vertical;
    min-height: 80px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

/* Mobile Optimization for Onboarding */
@media (max-width: 480px) {
    .onboarding-page {
        padding: 15px 10px;
    }
    
    .onboarding-card {
        padding: 22px 18px;
    }
    
    .step-header h1 {
        font-size: 20px;
    }
    
    .step-icon {
        font-size: 36px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .logo-preview {
        width: 85px;
        height: 85px;
    }
    
    .button-row {
        flex-direction: column;
    }
    
    .button-row .btn {
        width: 100%;
    }
}

/* Short screens */
@media (max-height: 750px) {
    .onboarding-card {
        padding: 20px 22px;
    }
    
    .progress-container {
        margin-bottom: 18px;
    }
    
    .step-header {
        margin-bottom: 15px;
    }
    
    .step-icon {
        font-size: 32px;
        margin-bottom: 6px;
    }
    
    .step-header h1 {
        font-size: 18px;
    }
    
    .step-header p {
        font-size: 12px;
    }
    
    .logo-upload-container {
        margin-bottom: 15px;
    }
    
    .logo-preview {
        width: 80px;
        height: 80px;
    }
}
/* Dark Theme */
[data-theme="dark"] {
    --bg: #0a1014;
    --bg-secondary: #131c22;
    --text: #ffffff;
    --text-secondary: #a0a0a0;
    --border: #2a3942;
    --card-bg: #1e2a30;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   LANDING PAGE
   ============================================ */

.landing-page {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.landing-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.landing-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.landing-container {
    width: 100%;
    max-width: 500px;
    z-index: 2;
    position: relative;
}

.landing-content {
    text-align: center;
    color: white;
}

.app-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.logo-circle {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.app-name {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.app-tagline {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 60px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 18px 30px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    gap: 8px;
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-full {
    width: 100%;
}

.landing-footer {
    margin-top: 60px;
    font-size: 13px;
    opacity: 0.8;
    animation: fadeIn 0.8s ease 0.8s both;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
    .app-name { font-size: 36px; }
    .app-tagline { font-size: 16px; margin-bottom: 40px; }
    .logo-circle { width: 110px; height: 110px; border-radius: 25px; }
    .logo-text { font-size: 40px; }
    .btn { padding: 16px 25px; font-size: 15px; }
    .landing-footer { margin-top: 40px; }
}
/* ============================================
   AUTH PAGES (Login/Register/Forgot)
   ============================================ */

.auth-page {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.auth-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    z-index: 2;
    position: relative;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    width: 70px;
    height: 70px;
    background: var(--gradient-button);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.auth-logo span {
    color: white;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.auth-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    background: #f7f9fc;
    color: var(--text);
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
}

.toggle-password:hover {
    opacity: 1;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-light);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 8px 0;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-link {
    font-size: 13px;
    opacity: 0.8;
}

/* Alert Boxes */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.alert-success {
    background: #d1f2eb;
    color: #0d6b52;
    border: 1px solid #a3e4d1;
}

.alert-error {
    background: #fadbd8;
    color: #922b21;
    border: 1px solid #f1948a;
}

.alert-info {
    background: #d6eaf8;
    color: #1b4f72;
    border: 1px solid #aed6f1;
}

.alert-warning {
    background: #fef5e7;
    color: #7d6608;
    border: 1px solid #f9e79f;
}

/* Responsive Auth Pages */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header h1 {
        font-size: 22px;
    }
    
    .form-group input {
        padding: 12px 14px;
        font-size: 14px;
    }
}
/* ============================================
   AUTH PAGE - FIT TO SCREEN OPTIMIZATION
   ============================================ */

.auth-page {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    margin: auto;
}

.auth-card {
    padding: 25px 25px;
    max-height: calc(100vh - 30px);
    max-height: calc(100dvh - 30px);
    overflow-y: auto;
}

.auth-header {
    margin-bottom: 20px;
}

.auth-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 15px;
}

.auth-logo span {
    font-size: 24px;
}

.auth-header h1 {
    font-size: 22px;
    margin-bottom: 5px;
}

.auth-header p {
    font-size: 13px;
}

.auth-form {
    gap: 14px;
}

.form-group {
    gap: 6px;
}

.form-group label {
    font-size: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    font-size: 14px;
}

.btn {
    padding: 14px 25px;
    font-size: 15px;
}

.auth-footer {
    margin-top: 18px;
    padding-top: 15px;
}

.auth-footer p {
    font-size: 13px;
    margin: 5px 0;
}

/* Hide scrollbar but keep functionality */
.auth-card::-webkit-scrollbar {
    width: 4px;
}

.auth-card::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Extra small screens */
@media (max-height: 700px) {
    .auth-card {
        padding: 20px;
    }
    
    .auth-header {
        margin-bottom: 15px;
    }
    
    .auth-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .auth-logo span {
        font-size: 20px;
    }
    
    .auth-header h1 {
        font-size: 20px;
    }
    
    .auth-form {
        gap: 12px;
    }
    
    .form-group input {
        padding: 10px 12px;
    }
    
    .btn {
        padding: 12px 20px;
    }
}

/* Mobile portrait optimization */
@media (max-width: 480px) {
    .auth-page {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .auth-card {
        padding: 25px 20px;
        border-radius: 20px;
    }
}

/* Very short screens (landscape mobile) */
@media (max-height: 600px) {
    .auth-page {
        align-items: flex-start;
        padding-top: 10px;
    }
    
    .auth-card {
        padding: 15px 20px;
    }
    
    .auth-header {
        margin-bottom: 12px;
    }
    
    .auth-logo {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }
}
/* ============================================
   REGISTER PAGE - EXTRA COMPACT (More Fields)
   ============================================ */

/* Detect register page by form ID */
body:has(#registerForm) .auth-container {
    max-width: 440px;
}

body:has(#registerForm) .auth-card {
    padding: 22px 25px;
}

body:has(#registerForm) .auth-header {
    margin-bottom: 15px;
}

body:has(#registerForm) .auth-logo {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    margin-bottom: 12px;
}

body:has(#registerForm) .auth-logo span {
    font-size: 22px;
}

body:has(#registerForm) .auth-header h1 {
    font-size: 20px;
    margin-bottom: 4px;
}

body:has(#registerForm) .auth-header p {
    font-size: 12px;
}

body:has(#registerForm) .auth-form {
    gap: 11px;
}

body:has(#registerForm) .form-group {
    gap: 5px;
}

body:has(#registerForm) .form-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

body:has(#registerForm) .form-group input {
    padding: 10px 13px;
    font-size: 14px;
}

body:has(#registerForm) .checkbox-label {
    font-size: 12px;
}

body:has(#registerForm) .btn {
    padding: 13px 20px;
    font-size: 14px;
    margin-top: 5px;
}

body:has(#registerForm) .auth-footer {
    margin-top: 15px;
    padding-top: 12px;
}

body:has(#registerForm) .auth-footer p {
    font-size: 12px;
    margin: 4px 0;
}

/* On short screens - even more compact */
@media (max-height: 800px) {
    body:has(#registerForm) .auth-card {
        padding: 18px 22px;
    }
    
    body:has(#registerForm) .auth-header {
        margin-bottom: 10px;
    }
    
    body:has(#registerForm) .auth-logo {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }
    
    body:has(#registerForm) .auth-logo span {
        font-size: 18px;
    }
    
    body:has(#registerForm) .auth-header h1 {
        font-size: 18px;
    }
    
    body:has(#registerForm) .auth-header p {
        font-size: 11px;
    }
    
    body:has(#registerForm) .auth-form {
        gap: 9px;
    }
    
    body:has(#registerForm) .form-group input {
        padding: 9px 12px;
        font-size: 13px;
    }
    
    body:has(#registerForm) .btn {
        padding: 11px 18px;
    }
    
    body:has(#registerForm) .auth-footer {
        margin-top: 10px;
        padding-top: 10px;
    }
}

/* Mobile Portrait - Register Optimization */
@media (max-width: 480px) {
    body:has(#registerForm) .auth-page {
        padding: 8px;
        align-items: flex-start;
        padding-top: 15px;
    }
    
    body:has(#registerForm) .auth-card {
        padding: 20px 18px;
        border-radius: 18px;
    }
    
    body:has(#registerForm) .auth-form {
        gap: 10px;
    }
}
/* ============================================
   REGISTER PAGE - COMPATIBLE VERSION
   ============================================ */

.register-page .auth-container {
    max-width: 440px;
}

.register-page .auth-card {
    padding: 22px 25px;
}

.register-page .auth-header {
    margin-bottom: 15px;
}

.register-page .auth-logo {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.register-page .auth-logo span {
    font-size: 22px;
}

.register-page .auth-header h1 {
    font-size: 20px;
    margin-bottom: 4px;
}

.register-page .auth-header p {
    font-size: 12px;
}

.register-page .auth-form {
    gap: 11px;
}

.register-page .form-group {
    gap: 5px;
}

.register-page .form-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.register-page .form-group input {
    padding: 10px 13px;
    font-size: 14px;
}

.register-page .checkbox-label {
    font-size: 12px;
}

.register-page .btn {
    padding: 13px 20px;
    font-size: 14px;
    margin-top: 5px;
}

.register-page .auth-footer {
    margin-top: 15px;
    padding-top: 12px;
}

.register-page .auth-footer p {
    font-size: 12px;
    margin: 4px 0;
}

@media (max-height: 800px) {
    .register-page .auth-card { padding: 18px 22px; }
    .register-page .auth-header { margin-bottom: 10px; }
    .register-page .auth-logo { width: 45px; height: 45px; margin-bottom: 8px; }
    .register-page .auth-logo span { font-size: 18px; }
    .register-page .auth-header h1 { font-size: 18px; }
    .register-page .auth-header p { font-size: 11px; }
    .register-page .auth-form { gap: 9px; }
    .register-page .form-group input { padding: 9px 12px; font-size: 13px; }
    .register-page .btn { padding: 11px 18px; }
    .register-page .auth-footer { margin-top: 10px; padding-top: 10px; }
}

@media (max-width: 480px) {
    .register-page.auth-page {
        padding: 8px;
        align-items: flex-start;
        padding-top: 15px;
    }
    .register-page .auth-card {
        padding: 20px 18px;
        border-radius: 18px;
    }
    .register-page .auth-form { gap: 10px; }
}