/* 
Theme Name: Monezony Modern
Description: Professional, modern, mobile-first responsive design
Version: 5.0
*/

/* ============================================
   CSS RESET & ROOT VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-900: #1E3A8A;
    --primary-800: #1E40AF;
    --primary-700: #1D4ED8;
    --primary-600: #2563EB;
    --primary-500: #3B82F6;
    --primary-100: #DBEAFE;
    --primary-50: #EFF6FF;
    --accent-500: #F59E0B;
    --accent-400: #FBBF24;
    --accent-100: #FEF3C7;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --error: #DC2626;
    --error-light: #FEF2F2;
    --success: #059669;
    --success-light: #ECFDF5;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #EEF2FF 0%, #E8EDF8 30%, #F5F3FF 70%, #FFF7ED 100%);
    background-attachment: fixed;
    color: var(--gray-800);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

/* ============================================
   MAIN LAYOUT - MOBILE FIRST (STACKED)
   ============================================ */
.info-section-style {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 10px 8px;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
}

/* ============================================
   LEFT COLUMN - INFO SECTION
   ============================================ */
.info-section {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 18px;
    background: linear-gradient(160deg, #1E3A8A 0%, #1E40AF 40%, #1D4ED8 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: auto;
}

.info-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.info-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.info-section .logo {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.info-section .logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.info-section .logo img:hover {
    transform: scale(1.05);
}

.info-section .content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.info-section h1#info-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.info-section ul#info-reasons {
    list-style: none;
    padding: 0;
}

.info-section ul#info-reasons li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
    text-align: left;
}

/* ============================================
   RIGHT COLUMN - FORM CONTAINER
   ============================================ */
.form-container {
    width: 100%;
    max-width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 14px;
    box-shadow: var(--shadow-lg);
    overflow-y: visible;
    max-height: none;
}

.form-container h1#form-title {
    font-size: 1.15rem;
    color: var(--primary-900);
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    position: relative;
}

.form-container h1#form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-500);
    border-radius: 3px;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.language-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

#language-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#language {
    width: 100%;
    max-width: 100%;
    padding: 10px 36px 10px 12px;
    font-size: 0.85rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

#language:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    outline: none;
}

.geo-language-note {
    display: block;
    margin-top: 5px;
    font-size: 0.7rem;
    color: var(--gray-400);
    text-align: center;
    font-style: italic;
}

/* ============================================
   FORM LAYOUT - SINGLE COLUMN MOBILE FIRST
   ============================================ */
#sheetdb-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-group {
    flex: 1 1 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

/* ============================================
   LABELS
   ============================================ */
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
}

.required-star {
    color: var(--error);
    font-weight: 700;
}

/* ============================================
   INPUTS & SELECTS
   ============================================ */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 11px 12px;
    font-size: 0.9rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--gray-50);
    color: var(--gray-800);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
    outline: none;
}

.form-group input::placeholder {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

#country {
    background: var(--gray-100) !important;
    color: var(--gray-600) !important;
    border-color: var(--gray-300) !important;
}

/* ============================================
   ⭐ NEW: PASSWORD FIELD
   ============================================ */
.password-field-wrapper {
    position: relative;
    width: 100%;
}

.password-field-wrapper input {
    width: 100%;
    padding-right: 60px !important;
}

html[dir="rtl"] .password-field-wrapper input {
    padding-right: 12px !important;
    padding-left: 60px !important;
}

.password-toggle {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-500);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
    z-index: 2;
}

.password-toggle:hover {
    color: var(--primary-600);
    background: rgba(37,99,235,0.05);
}

html[dir="rtl"] .password-toggle {
    right: auto;
    left: 2px;
}

/* Password Hint */
.password-hint {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 3px;
    line-height: 1.3;
}

/* Password Strength Bar */
.password-strength {
    height: 3px;
    border-radius: 2px;
    margin-top: 4px;
    transition: all 0.3s ease;
    background: var(--gray-200);
    width: 100%;
}

.password-strength.weak {
    background: #DC2626;
    width: 33%;
}

.password-strength.medium {
    background: #F59E0B;
    width: 66%;
}

.password-strength.strong {
    background: #059669;
    width: 100%;
}

/* ============================================
   PHONE FIELD
   ============================================ */
#label-phone {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.whatsapp-icon-label {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
}

.phone-container {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.phone-prefix {
    display: flex;
    align-items: center;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    flex-shrink: 0;
    width: 80px;
}

.phone-prefix:focus-within {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.phone-prefix span {
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 6px 11px 10px;
    user-select: none;
}

.phone-prefix input {
    border: none !important;
    background: transparent !important;
    width: 50px;
    padding: 11px 10px 11px 2px !important;
    font-size: 0.9rem;
    color: var(--gray-800);
    outline: none;
    box-shadow: none !important;
}

.phone-local {
    flex: 1;
}

/* ============================================
   CHECKBOX (CONSENT)
   ============================================ */
.form-group.check-style {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    background: var(--gray-50);
    padding: 14px;
    border-radius: var(--radius);
    border: 2px solid var(--gray-100);
    margin-top: 6px;
}

.form-group.check-style input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-600);
}

#consent-Lan {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 400;
    cursor: pointer;
    line-height: 1.4;
}

#consent-Lan a {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

#consent-Lan a:hover {
    color: var(--primary-900);
}

/* ============================================
   ERROR STATES
   ============================================ */
.error-field {
    border-color: var(--error) !important;
    background: var(--error-light) !important;
}

.error-message {
    color: var(--error);
    font-size: 0.75rem;
    margin-top: 3px;
    display: none;
    font-weight: 500;
}

.error-message.show {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */
#success-message {
    display: none;
    background: var(--success-light);
    color: var(--success);
    padding: 14px;
    border-radius: var(--radius);
    margin: 10px 0;
    text-align: center;
    border: 2px solid var(--success);
    flex: 1 1 100%;
}

#success-message h2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--success);
    margin: 0;
}

/* ============================================
   COUNTDOWN & RECAPTCHA
   ============================================ */
.countdown-message {
    color: #D97706;
    font-size: 0.8rem;
    text-align: center;
    margin: 6px 0;
    padding: 10px;
    background: var(--accent-100);
    border-radius: var(--radius);
    display: none;
    border: 1px solid var(--accent-500);
    flex: 1 1 100%;
    font-weight: 500;
}

.countdown-message.show {
    display: block;
}

.recaptcha-notice {
    font-size: 0.68rem;
    color: var(--gray-400);
    text-align: center;
    margin: 6px 0;
    flex: 1 1 100%;
    line-height: 1.4;
}

.recaptcha-notice a {
    color: var(--primary-600);
    text-decoration: underline;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */
#submit-button {
    flex: 1 1 100%;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(30,58,138,0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    min-height: 50px;
    margin-top: 4px;
}

#submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30,58,138,0.4);
}

#submit-button:hover::before {
    width: 500px;
    height: 500px;
}

#submit-button:active {
    transform: translateY(0);
}

#submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--gray-400);
    box-shadow: none;
}

/* ============================================
   ⭐ NEW: AUTH LINK (Login/Signup link)
   ============================================ */
.auth-link {
    text-align: center;
    margin: 10px 0;
    padding: 12px 14px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.auth-link span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.auth-link a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-left: 4px;
}

.auth-link a:hover {
    color: var(--primary-900);
    text-decoration: underline;
}

html[dir="rtl"] .auth-link a {
    margin-left: 0;
    margin-right: 4px;
}

/* ============================================
   WHATSAPP SHARE
   ============================================ */
.wstyle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(37,211,102,0.3);
    line-height: 1.2;
    min-height: 50px;
    text-align: center;
    margin: 10px 0;
}

.wstyle:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}

.wstyle img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    vertical-align: middle;
    margin-left: -13px;
}

/* ============================================
   EMAIL INFO
   ============================================ */
.email-info {
    text-align: center;
    margin-top: 8px;
}

.email-info a {
    color: var(--primary-600);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
}

.email-info a:hover {
    color: var(--primary-900);
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
    padding: 14px 10px;
    font-size: 0.78rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 4px;
}

.footer-links a {
    color: var(--accent-400);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 0.72rem;
    color: var(--gray-400);
}

/* ============================================
   GOOGLE TRANSLATE (HIDDEN)
   ============================================ */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.skiptranslate iframe {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

body { top: 0 !important; }
.notranslate { unicode-bidi: isolate; }

/* ============================================
   RTL SUPPORT
   ============================================ */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .phone-prefix {
    flex-direction: row-reverse;
}

html[dir="rtl"] .phone-prefix input {
    padding: 11px 2px 11px 10px !important;
    text-align: right;
}

html[dir="rtl"] .form-group.check-style {
    flex-direction: row-reverse;
}

html[dir="rtl"] .info-section ul#info-reasons li {
    padding-left: 0;
    padding-right: 22px;
    text-align: right;
}

/* ============================================
   ⭐ NEW: AUTH PAGES (Login, Forgot Password, Reset Password)
   ============================================ */

/* Auth Container - Centers the form on auth pages */
.auth-container {
    max-width: 480px;
    margin: 40px auto;
    width: 100%;
}

/* Auth Form Layout */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form .form-group {
    flex: 1 1 100%;
    min-width: 100%;
}

/* Auth Page Header */
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header .logo {
    margin-bottom: 16px;
}

.auth-header .logo img {
    height: 50px;
    width: auto;
}

.auth-header h1 {
    font-size: 1.3rem;
    color: var(--primary-900);
    margin: 0 0 6px 0;
    font-weight: 700;
}

.auth-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

/* Auth Messages (Error & Success) */
.auth-message {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.auth-error {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FCA5A5;
}

.auth-success {
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #6EE7B7;
}

/* Auth Links (Forgot Password, Create Account, Back to Login) */
.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    flex-wrap: wrap;
    gap: 8px;
}

.auth-links a {
    color: var(--primary-600);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.auth-links a:hover {
    color: var(--primary-900);
    text-decoration: underline;
}

/* Back Link (centered single link) */
.back-link {
    text-align: center;
    margin-top: 16px;
}

.back-link a {
    color: var(--primary-600);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.back-link a:hover {
    color: var(--primary-900);
    text-decoration: underline;
}

/* ============================================
   ⭐ NEW: DASHBOARD PAGE STYLES
   ============================================ */

/* Dashboard Container */
.dashboard-container {
    max-width: 900px;
    margin: 20px auto;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-header .logo img {
    height: 40px;
    width: auto;
}

.dashboard-welcome {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
}

.dashboard-welcome span {
    color: var(--primary-600);
}

/* Logout Button */
.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #DC2626;
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(220,38,38,0.2);
}

.logout-btn:hover {
    background: #B91C1C;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220,38,38,0.3);
    color: white;
    text-decoration: none;
}

.logout-btn svg {
    width: 16px;
    height: 16px;
}

/* Dashboard Content Area */
.dashboard-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

/* Welcome Card */
.welcome-card {
    text-align: center;
    padding: 40px 20px;
}

.welcome-card h1 {
    font-size: 1.8rem;
    color: var(--primary-900);
    margin-bottom: 10px;
    font-weight: 700;
}

.welcome-card p {
    color: var(--gray-500);
    font-size: 1rem;
    margin: 0;
}

/* User Info Grid */
.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

/* Info Card */
.info-card {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
}

.info-card .info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gray-400);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.info-card .info-value {
    font-size: 0.95rem;
    color: var(--gray-800);
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET & DESKTOP
   ============================================ */

/* Tablet (768px and above) */
@media (min-width: 768px) {
    .info-section-style {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        padding: 30px 20px;
        gap: 30px;
        max-width: 1300px;
    }

    .info-section {
        flex: 1;
        max-width: 480px;
        padding: 50px 35px;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        min-height: auto;
    }

    .info-section::before {
        top: -120px;
        right: -120px;
        width: 350px;
        height: 350px;
    }

    .info-section::after {
        bottom: -100px;
        left: -100px;
        width: 300px;
        height: 300px;
    }

    .info-section .logo img {
        height: 80px;
    }

    .info-section h1#info-title {
        font-size: clamp(1.6rem, 2.5vw, 2.2rem);
        margin-bottom: 25px;
    }

    .info-section ul#info-reasons li {
        font-size: clamp(0.9rem, 1.2vw, 1.05rem);
        padding-left: 28px;
    }

    .form-container {
        flex: 1;
        max-width: 620px;
        border-radius: var(--radius-xl);
        padding: clamp(25px, 4vw, 45px) clamp(20px, 3vw, 40px);
        box-shadow: var(--shadow-xl);
    }

    .form-container h1#form-title {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
        margin-bottom: 25px;
    }

    .form-group {
        flex: 1 1 calc(50% - 8px);
        min-width: 180px;
    }

    #sheetdb-form {
        gap: 16px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="password"],
    .form-group select {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .phone-prefix span {
        font-size: 0.92rem;
        padding: 12px 8px 12px 12px;
    }

    .phone-prefix input {
        font-size: 0.92rem;
        padding: 12px 12px 12px 4px !important;
        width: 55px;
    }

    .phone-prefix {
        width: 85px;
    }

    #submit-button {
        font-size: 1.05rem;
        padding: 16px 24px;
        min-height: 56px;
    }

    .wstyle {
        font-size: 1.05rem;
        padding: 16px 24px;
        min-height: 56px;
    }

    .form-group.check-style {
        padding: 16px;
    }

    #consent-Lan {
        font-size: 0.84rem;
    }
    
    /* Auth pages on tablet */
    .auth-container {
        padding: 0;
    }
    
    /* Dashboard on tablet */
    .dashboard-header {
        padding: 24px 0;
    }
    
    .user-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .info-section-style {
        padding: 25px 15px;
        gap: 20px;
    }
    
    .info-section {
        max-width: 400px;
        padding: 70px 25px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-group {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

/* Desktop (992px and above) */
@media (min-width: 992px) {
    .user-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .dashboard-container {
        padding: 0;
    }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
    .info-section-style {
        padding: 6px 4px;
        gap: 12px;
    }
    
    .info-section {
        padding: 32px 12px;
        border-radius: var(--radius);
    }
    
    .info-section h1#info-title {
        font-size: 1.15rem;
    }
    
    .info-section ul#info-reasons li {
        font-size: 0.8rem;
    }
    
    .info-section .logo img {
        height: 70px;
    }
    
    .form-container {
        padding: 16px 10px;
        border-radius: var(--radius);
    }
    
    .form-container h1#form-title {
        font-size: 1rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="password"],
    .form-group select {
        padding: 10px 10px;
        font-size: 0.85rem;
    }
    
    .phone-prefix span {
        padding: 10px 4px 10px 8px;
        font-size: 0.85rem;
    }
    
    .phone-prefix input {
        padding: 10px 8px 10px 2px !important;
        font-size: 0.85rem;
        width: 42px;
    }

    .phone-prefix {
        width: 72px;
    }
    
    #submit-button {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 46px;
    }
    
    .wstyle {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 46px;
    }
    
    .form-group.check-style {
        padding: 10px;
    }
    
    #consent-Lan {
        font-size: 0.75rem;
    }
    
    /* Auth pages on mobile */
    .auth-container {
        margin: 20px auto;
        padding: 0 4px;
    }
    
    .auth-header h1 {
        font-size: 1.15rem;
    }
    
    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Dashboard on mobile */
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-welcome {
        font-size: 1rem;
    }
    
    .welcome-card h1 {
        font-size: 1.4rem;
    }
    
    .user-info-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        padding: 20px 16px;
    }
    
    .logout-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small phones (360px and below) */
@media (max-width: 360px) {
    .info-section {
        padding: 32px 10px;
    }
    
    .info-section h1#info-title {
        font-size: 1.05rem;
    }
    
    .form-container {
        padding: 12px 6px;
    }
    
    .form-container h1#form-title {
        font-size: 0.95rem;
    }
    
    .auth-header h1 {
        font-size: 1.1rem;
    }
    
    .welcome-card h1 {
        font-size: 1.2rem;
    }
}