:root {
    --primary: #ffffff;
    --primary-hover: #e0e0e0;
    --accent: #888888;
    --accent-hover: #aaaaaa;
    --accent-primary: #ffffff;
    --bg-dark: #000000;
    --bg-card: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --glass-blur: blur(24px);
}

/* Base Monochrome - Full Black & White */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', 'Montserrat', system-ui, sans-serif;
    background: #000000;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9998;
}

/* Subtle gradient background */
body {
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(255,255,255,0.02) 0%, transparent 50%),
        #000000;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-size: 1.6rem;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p, span {
    font-family: 'Inter', sans-serif;
}

/* Container */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 24px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #444444);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.08);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h3 {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
}

.profile-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Icon Buttons */
.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

/* Install Button */
.btn-install-header {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-install-header:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
}

/* Main Card */
.onboarding-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.05) inset,
        0 20px 60px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.onboarding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Card Icon */
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

/* Subtitle */
.subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    max-width: 320px;
}

/* Gardens List */
.gardens-title {
    font-size: 1.4rem;
    color: #ffffff;
}

.gardens-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Garden Card */
.garden-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.garden-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.garden-card.selected {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.garden-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.garden-card.selected .garden-card-icon {
    background: #ffffff;
    color: #000000;
}

.garden-card-content {
    flex: 1;
    min-width: 0;
}

.garden-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.garden-card-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.garden-card-actions {
    display: flex;
    gap: 6px;
    opacity: 1;
}

.garden-card-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.garden-card-action-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* Garden Card Avatars */
.garden-card-avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.garden-card-avatars .garden-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    box-sizing: border-box;
}

.garden-card-avatars .garden-card-avatar + .garden-card-avatar {
    margin-left: -12px;
}

.garden-card-avatars .garden-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.garden-card-avatars .garden-card-avatar svg {
    width: 100%;
    height: 100%;
}

.garden-card-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}

.garden-card-info {
    flex: 1;
    min-width: 0;
}

/* Form Inputs */
.input-container {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px 16px;
    gap: 12px;
    transition: all 0.2s;
    width: 100%;
}

.input-container:focus-within {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.03);
}

.input-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.invite-input {
    background: transparent;
    border: none;
    color: #ffffff;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.invite-input::placeholder {
    color: var(--text-muted);
}

/* Segmented Control */
.segmented-control {
    display: flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.segmented-control input {
    display: none;
}

.segmented-control label {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.segmented-control input:checked + label {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
}

/* Buttons */
.btn-primary {
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    background: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.15);
    background: #f0f0f0;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 14px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
}

.btn-success {
    background: #ffffff;
    color: #000000;
}

/* Success View */
.success-view {
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.success-icon svg {
    width: 28px;
    height: 28px;
}

/* Action Buttons Group */
.action-buttons-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* WhatsApp button override */
#send-whatsapp-btn {
    background: #ffffff;
    color: #000000;
}

#send-whatsapp-btn:hover {
    background: #f0f0f0;
}

/* Divider */
hr {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 16px 0;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    padding: 6px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 20px;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
}

.nav-item:hover {
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
}

.nav-item.active {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.notification {
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(24px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.notification-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Invite / gardens views */
#invite-view,
#invite-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#gardens-list-view {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Modal overlays */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 20002;
    justify-content: center;
    align-items: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.25s ease;
}

.modal-content {
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 24px;
    width: 100%;
    max-width: 380px;
    color: var(--text-secondary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.close-btn:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.close-btn svg {
    width: 20px;
    height: 20px;
}

input[type=range] {
    width: 100%;
    accent-color: var(--primary);
    cursor: pointer;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border: none;
}

.switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgba(255, 255, 255, 0.35);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Loading Screen */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000 !important;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255,255,255,0.08);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: auto;
    padding: 10px 0 24px;
}

/* Glow Orbs - Subtle white */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.02);
    bottom: -80px;
    left: -80px;
}

/* Settings Modal (advanced) */
#settings-modal.modal-overlay {
    z-index: 20000;
}

.settings-modal-advanced {
    max-width: 520px !important;
    max-height: 85vh;
    overflow: hidden;
    padding: 0 !important;
    gap: 0 !important;
}

.settings-modal-advanced .modal-header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.98);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 10;
}

.settings-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 9;
}

.tab-btn {
    padding: 12px 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.tab-btn i,
.tab-btn svg {
    width: 18px;
    height: 18px;
}

.btn-secondary svg,
.btn-primary svg {
    vertical-align: middle;
    display: block;
}

.settings-tab {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    text-align: left;
}

.settings-tab.active {
    display: flex;
}

.settings-tab h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.settings-input,
.settings-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.settings-input:focus,
.settings-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    outline: none;
}

.settings-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.settings-actions {
    display: flex;
    gap: 12px;
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
}

.settings-actions button {
    flex: 1;
}

.about-section {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-section h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-footer {
    text-align: center;
    padding-top: 8px;
}

.about-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.setting-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: #000000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* Responsive */
@media (min-width: 640px) {
    .settings-tabs {
        grid-template-columns: repeat(5, 1fr);
    }

    .tab-btn {
        padding: 14px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
        padding-bottom: 100px;
    }
    
    .onboarding-card {
        padding: 24px 20px;
        border-radius: 20px;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .bottom-nav {
        bottom: 16px;
        width: calc(100% - 32px);
        max-width: 420px;
    }

    .settings-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        grid-template-columns: none;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .settings-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        flex-direction: row;
        padding: 12px 14px;
        font-size: 0.72rem;
        gap: 6px;
    }

    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-content {
        max-width: 100%;
        width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 85dvh;
    }

    .settings-modal-advanced {
        max-height: 85dvh;
    }

    .settings-tab {
        padding: 16px 20px;
        max-height: calc(85dvh - 180px);
    }

    .settings-actions {
        padding: 16px 20px 20px;
    }

    input, select, textarea {
        font-size: 16px !important;
    }
}
