:root {
    --bg-dark: #0a0a0f;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-sec: #cbd5e1;
    --accent: #22d3ee;
    --accent-hover: #06b6d4;
    --accent-purple: #a855f7;
    --accent-magenta: #ec4899;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

/* Background Mesh Gradient (Glassmorphism effect) */
.background-mesh {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(236, 72, 153, 0.18), transparent 28%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.2), transparent 28%),
        radial-gradient(circle at 50% 90%, rgba(34, 211, 238, 0.14), transparent 30%);
    filter: blur(60px);
}

/* Splash Screen (Premium Soft Corners & Animation) */
.splash-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh;
    background: #0a0a0f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: splash-pulse 2.5s infinite ease-in-out;
}

.splash-logo img {
    width: 180px; 
    height: auto;
    border-radius: 24px;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
    filter: drop-shadow(0 10px 20px rgba(56, 189, 248, 0.3));
    -webkit-user-drag: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.splash-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: white;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    opacity: 0;
    animation: splash-text-fade 0.8s forwards 0.2s;
}

@keyframes splash-pulse {
    0% { transform: scale(0.95); filter: brightness(0.9); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
    100% { transform: scale(0.95); filter: brightness(0.9); }
}

@keyframes splash-text-fade {
    to { opacity: 1; transform: translateY(-5px); }
}

.app-container {
    width: 100%;
    max-width: 900px;
    z-index: 10;
}

/* Ana Ekran Düzenlemeleri */
.home-landing {
    text-align: center;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative; /* Added for absolute positioning of auth-controls */
}
.home-landing .section-title {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.landing-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.15), rgba(34, 211, 238, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.25);
}
.landing-icon-box i {
    font-size: 2.8rem;
    background: linear-gradient(180deg, var(--accent-magenta), var(--accent-purple), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.home-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.8rem;
}

/* Ana sayfa buton boyutu */
.home-action-btn {
    margin-top: 0 !important;
    max-width: 350px;
    width: 100%;
    font-size: 1rem;
    padding: 1rem 1.1rem;
}

.home-coming-soon {
    font-size: 0.85rem;
    color: var(--text-sec);
    margin-top: 0.25rem;
    text-align: center;
}

.app-header-compact .header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 40px;
}

.app-header-compact h1 {
    font-size: clamp(1.35rem, 5.5vw, 2rem);
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.app-header-tagline {
    margin-top: 6px;
    font-size: 0.82rem;
    text-align: center;
    color: var(--text-sec);
    padding: 0 8px;
    line-height: 1.35;
}

header.app-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo span {
    display: inline;
    font-family: 'Outfit', sans-serif;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.logo h1 {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    letter-spacing: inherit;
    color: #ffffff;
}

.logo-iq {
    background: linear-gradient(180deg, var(--accent-magenta), var(--accent-purple), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.app-header p {
    color: var(--text-sec);
    margin-top: 0.5rem;
    font-weight: 300;
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.section-title {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
}

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent-purple);
}

.section-title p {
    color: var(--text-sec);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
}

.half {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1rem;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

label i {
    color: var(--accent);
    font-size: 0.9rem;
}

input, select, textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

input::placeholder, textarea::placeholder {
    color: #64748b;
}

textarea {
    resize: vertical;
}

/* Submit Button */
.generate-btn {
    width: 100%;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple), var(--accent));
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px -5px rgba(168, 85, 247, 0.45);
    -webkit-tap-highlight-color: transparent;
}

.generate-btn:hover {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-tap-highlight-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(236, 72, 153, 0.55);
}

.generate-btn:active {
    transform: translateY(0);
}

/* Ana sayfa renkli butonlar (generate-btn varsayilanini ezer) */
.home-actions .generate-btn.home-action-btn {
    justify-content: flex-start;
    text-align: left;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-actions .generate-btn.home-action-primary {
    background: linear-gradient(135deg, #38bdf8, #6366f1, #8b5cf6);
    box-shadow: 0 10px 24px -6px rgba(99, 102, 241, 0.55);
}

.home-actions .generate-btn.home-action-green {
    background: linear-gradient(135deg, #34d399, #10b981, #059669);
    box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.55);
}

.home-actions .generate-btn.home-action-purple {
    background: linear-gradient(135deg, #38bdf8, #818cf8, #a855f7);
    box-shadow: 0 10px 24px -6px rgba(129, 140, 248, 0.55);
}

.home-actions .generate-btn.home-action-red {
    background: linear-gradient(135deg, #fb7185, #f43f5e, #e11d48);
    box-shadow: 0 10px 24px -6px rgba(244, 63, 94, 0.55);
}

.home-actions .generate-btn.home-action-orange {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    box-shadow: 0 10px 24px -6px rgba(245, 158, 11, 0.55);
}

.home-actions .generate-btn.home-action-blue {
    background: linear-gradient(135deg, #22d3ee, #0ea5e9, #0284c7);
    box-shadow: 0 10px 24px -6px rgba(14, 165, 233, 0.55);
}

.home-actions .generate-btn.home-action-primary:hover {
    box-shadow: 0 14px 28px -6px rgba(99, 102, 241, 0.7);
}

.home-actions .generate-btn.home-action-green:hover {
    box-shadow: 0 14px 28px -6px rgba(16, 185, 129, 0.7);
}

.home-actions .generate-btn.home-action-purple:hover {
    box-shadow: 0 14px 28px -6px rgba(129, 140, 248, 0.7);
}

.home-actions .generate-btn.home-action-red:hover {
    box-shadow: 0 14px 28px -6px rgba(244, 63, 94, 0.7);
}

.home-actions .generate-btn.home-action-orange:hover {
    box-shadow: 0 14px 28px -6px rgba(245, 158, 11, 0.7);
}

.home-actions .generate-btn.home-action-blue:hover {
    box-shadow: 0 14px 28px -6px rgba(14, 165, 233, 0.7);
}

/* Loader */
.hidden {
    display: none !important;
}

.loader-container {
    text-align: center;
    padding: 3rem 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-glass);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-steps {
    list-style: none;
    margin-top: 2rem;
    color: var(--text-sec);
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.loading-steps li {
    margin-bottom: 10px;
    opacity: 0.3;
    transition: opacity 0.5s;
}

.loading-steps li.active {
    opacity: 1;
    color: var(--accent);
    font-weight: 600;
}

/* Result Section */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
}

.result-header h2 {
    color: var(--success);
    font-family: 'Outfit';
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Markdown output & App Styling Updates */
.ai-output-container {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.ai-output-container h2 {
    font-size: 1.3rem;
    color: var(--accent);
    margin: 2rem 0 1rem 0;
    font-family: 'Outfit';
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-output-container h3 {
    font-size: 1.1rem;
    color: white;
    margin: 1.5rem 0 1rem 0;
    background: rgba(139, 92, 246, 0.2);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.program-header {
    text-align: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(139, 92, 246, 0.1));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--accent);
    margin-bottom: 2rem;
}

.program-header h2 {
    color: white !important;
    justify-content: center;
    margin: 0 0 5px 0 !important;
    font-size: 1.8rem !important;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.goal-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 0 5px rgba(56, 189, 248, 0.2); }
    50% { border-color: var(--accent); box-shadow: 0 0 15px rgba(56, 189, 248, 0.4); }
    100% { border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 0 5px rgba(56, 189, 248, 0.2); }
}

.info-card, .strategy-card, .nutrition-card, .energy-card, .warning-section {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.athlete-alert {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-left: 4px solid var(--accent);
}

.athlete-alert i {
    color: var(--accent);
    margin-right: 8px;
}

.info-card strong {
    color: var(--accent);
}

.brans-card {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success);
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.brans-card i {
    color: var(--success);
    margin-right: 8px;
}

.training-day {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

.training-day:hover {
    transform: translateX(5px);
    border-color: rgba(56, 189, 248, 0.3);
}

.training-day.rest {
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid var(--accent-purple);
}

.training-day ul {
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 0;
}

.training-day li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.training-day li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 2px;
}

.ex-sets {
    float: right;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

/* YouTube Links */
.yt-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(220, 38, 38, 0.1);
    color: #fca5a5;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.yt-link i {
    color: #ef4444;
}

.yt-link:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.yt-link:hover i {
    color: white;
}

.warning-section {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #fecaca;
}

.warning-section blockquote {
    border-left: 3px solid #ef4444;
    padding-left: 1rem;
    margin: 1rem 0;
}

/* --- ATHLETIQ PRO v3: Macro Dashboard & Stats --- */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    padding: 1.25rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.stat-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--accent);
    opacity: 0.5;
}

.stat-card.protein::after { background: var(--accent-purple); }
.stat-card.maintenance::after { background: var(--accent); }
.stat-card.target::after { background: var(--accent-purple); }
.stat-card.loss::after { background: #f97316; }
.stat-card.gain::after { background: #10b981; }
.stat-card.calories::after { background: #f59e0b; }
.stat-card.bmi::after { background: #38bdf8; }
.stat-card.hypertrophy::after { background: #10b981; }

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.stat-desc {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    opacity: 0.9;
}

.progress-container {
    background: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 10px;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(to right, var(--accent), var(--accent-purple));
    transition: width 1s ease-out;
}

/* Supplemental & Shopping Modules */
.extra-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.module-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px dotted var(--border-glass);
    padding: 1.5rem;
    border-radius: 15px;
}

.module-card h3 {
    margin-top: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 1.1rem;
    color: var(--accent) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-card ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-size: 0.85rem;
}

.module-card li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-card li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* YouTube Links Premium */
.yt-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(220, 38, 38, 0.08);
    color: #fca5a5;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.yt-link:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Mobile-First Refinements & Touch Optimization */
@media (max-width: 768px) {
    body {
        padding: 0.8rem;
    }
    
    .app-header {
        margin-bottom: 1rem;
    }

    .home-landing {
        padding: 1.5rem 1rem !important;
    }

    .landing-icon-box {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    .landing-icon-box i {
        font-size: 2rem;
    }

    .glass-card {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .form-group.half {
        width: 100%;
    }

    .result-header {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }

    .action-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .secondary-btn {
        justify-content: center;
        font-size: 0.8rem;
        padding: 10px 8px;
    }
}

@media (max-width: 600px) {
    .stats-dashboard {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .extra-modules {
        grid-template-columns: 1fr;
    }

    .program-header h2 {
        font-size: 1.3rem !important;
    }
    
    .goal-indicator {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .ai-output-container h2 {
        font-size: 1.15rem;
    }

    .training-day {
        padding: 1rem;
    }

    .ex-sets {
        float: none;
        display: inline-block;
        margin-top: 5px;
    }
}

/* --- ATHLETIQ AUTH v2: Premium Modal Styling --- */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form .form-group {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-sec);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.auth-form label i {
    width: 16px;
    text-align: center;
    color: var(--accent);
}

.auth-form input, 
.auth-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.auth-form input:focus, 
.auth-form select:focus {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.auth-submit {
    margin-top: 0.5rem;
    padding: 1.1rem !important;
    font-size: 1.1rem !important;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    body {
        padding: 0.75rem;
    }

    .glass-card {
        padding: 1.5rem 1rem;
    }

    /* Mobil Giriş Modalı Optimizasyonu */
    #authModal .modal-content {
        padding: 1.75rem 1.25rem !important;
        max-width: 95% !important;
    }

    .auth-form {
        gap: 0.9rem;
    }

    .auth-form input, 
    .auth-form select {
        padding: 0.75rem 0.9rem;
        font-size: 0.9rem;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .auth-submit {
        padding: 0.9rem !important;
        font-size: 1rem !important;
    }

    .home-actions {
        gap: 0.5rem !important;
    }

    .home-action-btn {
        padding: 0.85rem !important;
        font-size: 0.95rem !important;
    }

    .logo {
        font-size: 1.6rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .stats-dashboard {
        grid-template-columns: 1fr;
    }

    .meal-row {
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .meal-label {
        width: 100%;
        font-size: 0.85rem;
    }

    .meal-calories {
        text-align: left;
        margin-top:4px;
    }

    .training-day li::before {
        top: 4px;
    }
}

/* --- ATHLETIQ PRO v5: Instagram & Branding --- */
.instagram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(214, 36, 159, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.instagram-float:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(214, 36, 159, 0.6);
}

.coach-promo-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.coach-promo-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(to right, #fdf497, #fd5949, #d6249f, #285AEB);
}

.coach-promo-header {
    margin-bottom: 1rem;
}

.coach-promo-header h3 {
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.4rem !important;
    color: white !important;
}

.coach-handle {
    color: #d6249f;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 1.5rem 0;
}

.promo-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.promo-item i {
    color: #fd5949;
}

.insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, #fd5949, #d6249f);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(214, 36, 159, 0.3);
}

.insta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 36, 159, 0.5);
}

@media (max-width: 600px) {
    .instagram-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }
}

/* --- ATHLETIQ PRO v6: Tabbed UI & Enhanced Nutrition --- */
.result-navigation {
    display: flex;
    gap: 10px;
    margin: 2rem 0;
    background: rgba(15, 23, 42, 0.4);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-sec);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.tab-content {
    animation: fadeIn 0.4s ease;
}

/* Sub-tab Navigation (Specific for Calorie/Growth Section) */
.subtab-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-sec);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
}

.subtab-btn.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.height-predictor-form {
    animation: fadeIn 0.5s ease;
}

.growth-result-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.growth-result-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-purple));
}

.growth-value-box {
    margin: 1.5rem 0;
}

.growth-value {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    line-height: 1;
}

.growth-label {
    font-size: 0.9rem;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

.growth-ai-analysis {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    text-align: left;
    border-left: 3px solid var(--accent);
}

.growth-ai-analysis h4 {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.growth-ai-analysis p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-sec);
}

.growth-potential-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.growth-potential-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--accent-purple));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Shared Accordion Card Styles */
.accordion-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header h4 {
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
    color: white !important;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-header i.fa-chevron-down {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent);
    font-size: 0.9rem;
}

.accordion-card.expanded .accordion-header {
    background: rgba(var(--accent-rgb), 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-card.expanded i.fa-chevron-down {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.accordion-card.expanded .accordion-content {
    max-height: 2000px;
    padding: 1.5rem;
}

/* Specific Adjustments for Training Days */
.training-day {
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
}

.training-day ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.training-day ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.training-day.rest {
    background: rgba(var(--accent-rgb), 0.05);
    border-color: rgba(var(--accent-rgb), 0.2);
    padding: 1.25rem;
    text-align: center;
    opacity: 0.8;
}

.nutrition-day-card {
    padding: 0.5rem;
}

.meal-row {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.meal-row:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: var(--accent-purple);
    transform: translateX(3px);
}

.meal-label {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 90px;
}

.meal-content {
    flex: 1;
    padding: 0 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.meal-calories {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

@media (max-width: 600px) {
    .meal-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .meal-content {
        padding: 0;
    }

    .meal-calories {
        align-self: flex-end;
    }
}

.pulse-orange {
    border: 1px solid #f97316 !important;
    color: #f97316 !important;
    animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* Print/PDF Optimization */
@media print {
    body { background: white; color: black; padding: 0; }
    .glass-card { background: white; box-shadow: none; border: 1px solid #ccc; color: black; }
    .app-header, .app-footer, .action-buttons, #restartBtn, .instagram-float, .coach-promo-card { display: none; }
    .ai-output-container { color: black; }
    .ai-output-container h2, .ai-output-container h3 { color: #1e293b !important; border-color: #eee; }
    .yt-link { border: 1px solid #ddd; color: #444; }
    .stat-card { border: 1px solid #eee; }
}

/* --- ATHLETIQ PRO v7: Cardio & Sectioning --- */
.workout-section-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cardio-protocol-card {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid var(--success);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.cardio-protocol-card::before {
    content: "RUN";
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.03;
    font-family: 'Outfit';
    pointer-events: none;
}

.cardio-header {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--success);
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cardio-body strong {
    color: white;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 4px;
}

.cardio-body span {
    color: var(--success);
    font-weight: 700;
    font-family: 'Outfit';
}

.cardio-body p {
    font-size: 0.85rem;
    color: var(--text-sec);
    margin-top: 8px;
    line-height: 1.4;
}

.rest-day-cardio {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(56, 189, 248, 0.05));
    border-color: rgba(139, 92, 246, 0.3);
    border-left-color: var(--accent);
}

.rest-day-cardio .cardio-header {
    color: var(--accent);
}

.rest-day-cardio .cardio-body span {
    color: var(--accent);
}

/* Mobile Adjustments for Cardio */
@media (max-width: 600px) {
    .cardio-protocol-card {
        padding: 1rem;
    }
    
    .cardio-body strong {
        font-size: 1rem;
    }
}

/* --- ATHLETIQ PRO v8: Injury Warning System --- */
.injury-warning-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(251, 191, 36, 0.06));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    margin-top: 1.5rem;
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

.injury-warning-header {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), rgba(251, 191, 36, 0.15));
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.injury-warning-header i {
    color: #ef4444;
    font-size: 1.1rem;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.injury-warning-body {
    padding: 1.25rem;
}

.injury-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left: 3px solid #ef4444;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 10px;
}

.injury-label {
    font-weight: 800;
    color: #fca5a5;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.injury-label i {
    color: #ef4444;
}

.injury-item p {
    font-size: 0.85rem;
    color: var(--text-sec);
    line-height: 1.5;
    margin: 0;
}

.injury-disclaimer {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 8px;
}

.injury-disclaimer i {
    font-size: 1rem;
    color: #fbbf24;
}

@media (max-width: 600px) {
    .injury-warning-header {
        font-size: 0.75rem;
        padding: 10px 15px;
    }
    
    .injury-item {
        padding: 0.75rem 1rem;
    }
    
    .injury-label {
        font-size: 0.85rem;
    }
}

/* --- SAVED PROGRAMS SECTION --- */
.saved-programs-section {
    margin-bottom: 2.5rem;
}

.saved-programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.saved-program-card {
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.saved-program-card:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sp-info h4 {
    color: white;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.sp-info h4 i {
    color: var(--accent);
}

.sp-info p {
    color: var(--text-sec);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.sp-actions {
    display: flex;
    gap: 10px;
}

.sp-load-btn, .sp-delete-btn {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    font-weight: 600;
}

.sp-load-btn {
    background: linear-gradient(to right, var(--accent), var(--accent-hover));
    color: white;
}

.sp-load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(56, 189, 248, 0.4);
}

.sp-delete-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.sp-delete-btn:hover {
    background: #ef4444;
    color: white;
}

.save-btn {
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #10b981 !important;
    font-weight: bold;
}
.save-btn:hover {
    background: rgba(16, 185, 129, 0.2) !important;
}

@media (max-width: 600px) {
    .saved-program-card {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .sp-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* --- MODAL & SAVED PROGRAMS REFINEMENT --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
}

.modal-content input {
    width: 100%;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: stretch;
}

.modal-actions button {
    flex: 1;
    margin-top: 0 !important;
}

.tertiary-btn {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tertiary-btn:hover {
    background: var(--accent);
    color: #fff;
}

.saved-badge {
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
}

.saved-programs-sliding-panel {
    background: rgba(15, 23, 42, 0.6);
    border: 1px dashed rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- CALORIE COUNTER --- */
.calorie-grid {
    margin-top: 20px;
}

.calorie-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.calorie-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.1);
}

.add-icon-circle {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
}

.calorie-card:hover .add-icon-circle {
    transform: scale(1.1) rotate(90deg);
    background: var(--success);
}

.calorie-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.1);
}

.calorie-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.calorie-card-header h4 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
}

.calorie-card-category {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.1);
    color: var(--text-sec);
    padding: 2px 8px;
    border-radius: 12px;
}

.calorie-card-value {
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.calorie-card-sub {
    font-size: 0.8rem;
    color: var(--text-sec);
    font-weight: normal;
}

/* Daily Calorie Sidebar Styles */
.calorie-sidebar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 340px;
    height: 85vh;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: sidebar-slide-in 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-drag-handle {
    display: none;
    width: 40px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 12px auto 0 auto;
}

.calorie-sidebar.hidden {
    opacity: 0;
    transform: translateY(-50%) translateX(100%);
    pointer-events: none;
}

.calorie-sidebar.minimized {
    height: 70px;
    width: 200px;
    cursor: pointer;
}

.calorie-sidebar.minimized .selected-foods-list,
.calorie-sidebar.minimized .sidebar-footer .clear-all-btn,
.calorie-sidebar.minimized .total-label {
    display: none;
}

.calorie-sidebar.minimized .sidebar-footer {
    padding: 0.8rem;
    background: transparent;
    border: none;
}

.calorie-sidebar.minimized .total-calories-display {
    margin-bottom: 0;
}

.calorie-sidebar.minimized .total-value {
    font-size: 1.2rem;
}

.calorie-sidebar.minimized .sidebar-header {
    display: none;
}

.calorie-sidebar.minimized .sidebar-drag-handle {
    margin: 8px auto;
}

@keyframes sidebar-slide-in {
    from { opacity: 0; transform: translateY(-50%) translateX(100%); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(56, 189, 248, 0.1);
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-family: "Outfit", sans-serif;
    color: var(--accent);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-controls {
    display: flex;
    gap: 12px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-sec);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.control-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.selected-foods-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.selected-food-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: item-fade-in 0.3s ease-out;
}

@keyframes item-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.sf-info h5 {
    font-size: 0.9rem;
    margin: 0;
    color: white;
}

.sf-info p {
    font-size: 0.75rem;
    color: var(--text-sec);
    margin: 2px 0 0 0;
}

.sf-calories {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sf-cal-value {
    font-weight: 700;
    color: var(--success);
    font-size: 0.95rem;
}

.remove-food-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.remove-food-btn:hover {
    background: #ef4444;
    color: white;
}

.sidebar-footer {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-glass);
}

.total-calories-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.total-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-sec);
    font-weight: 700;
    letter-spacing: 1px;
}

.total-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
    font-family: "Outfit", sans-serif;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.clear-all-btn {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-sec);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.clear-all-btn:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

/* Mobile Adjustments for Sidebar */
@media (max-width: 768px) {
    .calorie-sidebar {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 65vh;
        transform: translateY(0);
        border-radius: 32px 32px 0 0;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    }
    
    .calorie-sidebar.minimized {
        height: 85px;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }

    .calorie-sidebar.minimized .sidebar-footer {
        padding: 5px 1.5rem 1.5rem 1.5rem;
    }
    
    .sidebar-drag-handle {
        display: block;
    }
    
    .sidebar-header {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        border-bottom: none;
    }
    
    .calorie-sidebar.hidden {
        transform: translateY(100%);
        opacity: 0;
    }
    
    @keyframes sidebar-slide-in {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    
    .selected-food-item {
        padding: 15px;
    }
}

/* Floating Instagram Button (Draggable on Mobile) */
.instagram-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 9000;
    box-shadow: 0 4px 15px rgba(214, 36, 159, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
    user-select: none;
    cursor: grab;
}

.instagram-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(214, 36, 159, 0.6);
}

.instagram-float.dragging {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(214, 36, 159, 0.7);
    cursor: grabbing;
    transition: none;
}

.instagram-float.insta-custom-pos {
    bottom: auto;
    right: auto;
}

/* Modul ve sonuc ekranindaki ana sayfa butonlari her zaman tiklanabilir olsun */
.tool-home-btn,
.icon-toggle-btn[title="Ana Sayfa"],
#goHomeBtn,
#goHomeFromFormBtn,
#goHomeFromCalorieBtn,
#goHomeFromGrowthBtn,
#goHomeFromHeartBtn,
#goHomeFromBMIBtn,
#goHomeFromWaterBtn {
    position: relative;
    z-index: 9200;
    pointer-events: auto;
}



/* --- PULSE ANIMATIONS --- */
.pulse-blue {
    animation: pulse-blue 2s infinite;
    border-color: rgba(56, 189, 248, 0.4) !important;
    background: rgba(56, 189, 248, 0.05) !important;
}

.pulse-orange {
    animation: pulse-orange 2s infinite;
    border-color: rgba(245, 158, 11, 0.4) !important;
    background: rgba(245, 158, 11, 0.05) !important;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* --- Auth Controls Positioning (Inside Cards) --- */
.auth-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
}

.auth-btn-top {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.auth-btn-top:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
    border-color: var(--accent);
}

.auth-btn-top:active {
    transform: translateY(0);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.8);
    padding: 6px 6px 6px 14px;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#userNameDisplay {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: capitalize;
}

@media (max-width: 480px) {
    .auth-controls {
        top: 12px;
        right: 12px;
    }
    
    .auth-btn-top {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .user-profile {
        padding: 4px 4px 4px 10px;
        gap: 8px;
    }
    
    #userNameDisplay {
        font-size: 0.8rem;
    }
}

/* --- ATHLETIQ PREMIUM AUTH v3: Horizontal & Refined --- */
.auth-modal-premium {
    max-width: 700px !important;
    width: 95% !important;
    padding: 2.5rem !important;
    border-radius: 28px !important;
    backdrop-filter: blur(20px) !important;
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.auth-header-info h1 {
    font-size: 1.8rem !important;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: var(--text-sec);
    font-size: 0.9rem;
    margin-top: 4px;
}

.auth-form-redesign {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.auth-form-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeIn 0.4s ease forwards;
}

.side-header {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.form-row-compact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.auth-submit-premium {
    margin-top: 1rem !important;
    padding: 1.2rem !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%) !important;
}

.auth-divider-premium {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider-premium::before {
    content: "";
    position: absolute;
    left: 0; top: 50%; width: 100%; height: 1px;
    background: rgba(255,255,255,0.08);
}

.auth-divider-premium span {
    position: relative;
    background: var(--bg-dark);
    padding: 0 15px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 1px;
}

.google-login-btn-premium {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #ffffff;
    color: #1e293b;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.google-login-btn-premium:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    background: #f8fafc;
}

.google-login-btn-premium:disabled {
    opacity: 0.75;
    cursor: wait;
}

.google-btn-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.google-login-btn-premium img {
    width: 22px;
    height: 22px;
}

.google-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    flex: 1;
}

.google-btn-text strong {
    font-size: 0.98rem;
    color: #0f172a;
}

.google-btn-text small {
    font-size: 0.76rem;
    font-weight: 500;
    color: #64748b;
}

.google-btn-spinner {
    position: absolute;
    right: 14px;
    color: #6366f1;
    font-size: 1.1rem;
}

.google-auth-hero {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.google-auth-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-auth-status {
    font-size: 0.82rem;
    text-align: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.08);
    color: #c7d2fe;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.google-auth-status.is-error {
    background: rgba(239, 68, 68, 0.08);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.2);
}

.google-auth-status.is-success {
    background: rgba(16, 185, 129, 0.08);
    color: #a7f3d0;
    border-color: rgba(16, 185, 129, 0.2);
}

.auth-divider-inline {
    position: relative;
    text-align: center;
    margin: 0.25rem 0 0.5rem;
}

.auth-divider-inline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-divider-inline span {
    position: relative;
    background: rgba(15, 23, 42, 0.95);
    padding: 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.google-auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.google-auth-overlay-card {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    text-align: center;
    min-width: 260px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.google-auth-overlay-card i {
    font-size: 2rem;
    color: #ea4335;
    margin-bottom: 0.75rem;
}

.google-auth-overlay-card p {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pdf-export-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pdf-export-card {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    text-align: center;
    min-width: 260px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.pdf-export-card i {
    font-size: 2rem;
    color: #f87171;
    margin-bottom: 0.75rem;
}

.pdf-export-card p {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(99, 102, 241, 0.5);
    flex-shrink: 0;
}

.auth-footer-premium {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-sec);
}

.auth-footer-premium button {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 800;
    cursor: pointer;
    margin-left: 5px;
    text-decoration: underline;
    transition: color 0.2s;
}

.auth-footer-premium button:hover {
    color: white;
}

.auth-version-hint {
    margin-top: 0.75rem;
    color: #94a3b8;
    font-size: 0.78rem;
    text-align: center;
    min-height: 16px;
}

.auth-error-box {
    margin-top: 1rem;
    color: #ef4444;
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.05);
    display: none;
}

.auth-error-box:not(:empty) {
    display: block;
}

/* --- ATHLETIQ PREMIUM AUTH v4: Grid & Icon Refinement --- */
.auth-social-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
}

.facebook-login-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    border: none;
    background: #1877f2;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.facebook-login-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-input-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-sec);
    margin-left: 2px;
    display: block;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: var(--text-sec);
    font-size: 1rem;
    opacity: 0.8;
    z-index: 5;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 14px 14px 45px !important;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-with-icon input:focus {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.captcha-placeholder {
    margin-top: 10px;
    background: #fdfdfd;
    color: #444;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.captcha-placeholder i {
    color: #2fb344;
    font-size: 1.3rem;
}

.auth-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-sec);
    line-height: 1.4;
    user-select: none;
}

.custom-checkbox input {
    margin-top: 2px;
    width: 17px;
    height: 17px;
    accent-color: var(--accent);
    cursor: pointer;
}

.auth-submit-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.35) !important;
    color: #fff !important;
    border: none !important;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Responsiveness for Auth Modal */
@media (max-width: 680px) {
    .auth-modal-premium {
        padding: 1.5rem !important;
        max-width: 95% !important;
        border-radius: 20px !important;
    }
    
    .auth-form-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .auth-header-info h3 {
        font-size: 1.3rem !important;
    }
    
    .full-width {
        grid-column: span 1;
    }

    .auth-social-container {
        margin-bottom: 1.5rem;
    }
}
/* --- HEART RATE CALCULATOR STYLES --- */
.growth-result-card, .heart-rate-result-card, .bmi-result-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.growth-label, .hr-label, .bmi-label {
    font-size: 0.8rem;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.growth-value, .hr-value, .bmi-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: white;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
}

/* Specific Shadow for BMI */
.bmi-value {
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.hr-subtitle, .bmi-status-title {
    font-size: 0.9rem;
    color: #fb7185;
    font-weight: 700;
    margin-bottom: 25px;
}

.bmi-status-title {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 10px;
}

.bmi-scale-container {
    padding: 2.5rem 1rem 1rem 1rem;
    margin: 20px 0;
    position: relative;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
}

.bmi-scale {
    height: 12px;
    width: 100%;
    background: linear-gradient(to right, 
        #38bdf8 0%, #38bdf8 14%, 
        #10b981 14%, #10b981 40%, 
        #f59e0b 40%, #f59e0b 60%, 
        #ef4444 60%, #ef4444 100%);
    border-radius: 10px;
    position: relative;
}

.bmi-pointer {
    position: absolute;
    top: -25px;
    transform: translateX(-50%);
    transition: left 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bmi-pointer i {
    font-size: 1.5rem;
    color: white;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.bmi-categories-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
    text-align: left;
}

.bmi-cat-item {
    font-size: 0.75rem;
    color: var(--text-sec);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bmi-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.bmi-advice-card {
    margin-top: 25px;
    padding: 15px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    text-align: left;
}

.bmi-advice-card h4 {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bmi-advice-card p {
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.bmi-athlete-note {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.bmi-athlete-note h4 {
    color: var(--accent-purple);
}

@media (max-width: 600px) {
    .bmi-categories-info {
        grid-template-columns: 1fr;
    }
}

.hr-zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
    text-align: left;
}

.hr-zone-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 15px;
    transition: all 0.3s ease;
}

.hr-zone-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.1);
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.zone-name {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.zone-range {
    font-family: 'Outfit';
    font-size: 0.9rem;
    font-weight: 700;
}

.zone-desc {
    font-size: 0.75rem;
    color: var(--text-sec);
    line-height: 1.4;
}

/* Zone Colors */
.zone-1 { color: #38bdf8; border-left: 3px solid #38bdf8; }
.zone-2 { color: #10b981; border-left: 3px solid #10b981; }
.zone-3 { color: #f59e0b; border-left: 3px solid #f59e0b; }
.zone-4 { color: #f97316; border-left: 3px solid #f97316; }
.zone-5 { color: #ef4444; border-left: 3px solid #ef4444; }

@media (max-width: 600px) {
    .hr-zones-grid {
        grid-template-columns: 1fr;
    }
    .hr-value {
        font-size: 2.2rem;
    }
}

/* --- WATER TRACKER STYLES --- */
.water-progress-visual {
    width: 200px;
    height: 200px;
    margin: 2rem auto;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: rgba(15, 23, 42, 0.6);
    border: 3px solid rgba(14, 165, 233, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.2);
    animation: water-morph 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes water-morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

.water-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #22d3ee 0%, #0ea5e9 100%);
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.water-wave::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 200%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M321.39 56.44c58-10.79 114.16-30.13 172-41.86 82.39-16.72 168.19-17.73 250.45-.39C823.78 31 906.67 72 985.66 92.83c70.05 18.48 146.53 26.09 214.34 3V0H0v27.35a600.21 600.21 0 00321.39 29.09z" fill="%2322d3ee" opacity="0.3"/></svg>');
    background-size: cover;
    animation: wave-move 3s linear infinite;
}

@keyframes wave-move {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.water-stats {
    text-align: center;
    z-index: 2;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.current-ml {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit';
    line-height: 1;
}

.goal-ml {
    font-size: 0.9rem;
    opacity: 0.8;
}

.water-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.water-btn {
    flex: 1;
    max-width: 100px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 15px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.water-btn i {
    font-size: 1.5rem;
    color: #0ea5e9;
}

.water-btn span {
    font-size: 0.75rem;
    font-weight: 700;
}

.water-btn:hover {
    transform: translateY(-5px);
    background: rgba(14, 165, 233, 0.1);
    border-color: #0ea5e9;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.water-btn:active {
    transform: translateY(0) scale(0.95);
}

/* --- ENHANCED WATER ANIMATIONS --- */
.water-screen {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: fadeIn 0.5s ease;
}

.drop-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.water-drop {
    position: absolute;
    top: -20px;
    width: 8px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #22d3ee);
    border-radius: 50%;
    animation: drop-fall 0.8s linear forwards;
}

@keyframes drop-fall {
    0% { transform: translateY(0) scaleY(1); opacity: 1; }
    90% { transform: translateY(180px) scaleY(1.5); opacity: 1; }
    100% { transform: translateY(190px) scaleY(0.2); opacity: 0; }
}

/* Success State */
.water-success {
    animation: success-pulse 1.5s ease infinite !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4) !important;
}

@keyframes success-pulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.water-success .current-ml {
    color: #10b981;
}

.water-success .water-wave {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}
/* --- OVERFLOW STREAM ANIMATIONS --- */
.overflow-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    pointer-events: none;
    z-index: 0; /* Behind the bubble */
}

.overflow-stream {
    position: absolute;
    top: 50%;
    transform-origin: center top;
    width: 3px;
    background: linear-gradient(to bottom, #22d3ee, transparent);
    border-radius: 3px;
    animation: trickle-down 1.2s ease-in forwards;
}

@keyframes trickle-down {
    0% { height: 0; opacity: 0.8; transform: translate(-50%, -50%) translateY(0); }
    30% { height: 60px; opacity: 1; }
    100% { height: 150px; opacity: 0; transform: translate(-50%, -50%) translateY(120px); }
}

/* --- PLAY STORE / YASAL SAYFA STILLERI --- */
.health-disclaimer-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1rem auto 1rem;
    max-width: 520px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fecaca;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
}

.health-disclaimer-banner i {
    color: #f87171;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.app-legal-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.app-legal-footer a {
    color: var(--accent);
    text-decoration: none;
}

.app-legal-footer a:hover {
    text-decoration: underline;
}

.legal-page .legal-content {
    max-width: 820px;
    margin: 0 auto 3rem;
    padding: 2rem;
    line-height: 1.7;
}

.legal-content h2 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    color: #fff;
}

.legal-content ul {
    padding-left: 1.25rem;
    color: var(--text-sec);
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    text-decoration: none;
    max-width: 280px;
}

.user-profile button {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.user-profile button:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

.auth-checkboxes a {
    color: var(--accent);
    text-decoration: underline;
}

/* --- MOBIL ANA SAYFA OPTIMIZASYONU --- */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 100dvh;
        padding: max(0.45rem, env(safe-area-inset-top)) max(0.45rem, env(safe-area-inset-right)) max(0.45rem, env(safe-area-inset-bottom)) max(0.45rem, env(safe-area-inset-left));
        overflow-y: auto;
    }

    .app-container {
        max-width: 100%;
        padding-bottom: 1rem;
    }

    .app-header-compact {
        margin-bottom: 0.45rem !important;
    }

    .app-header-tagline {
        font-size: 0.72rem;
        margin-top: 2px;
    }

    .home-landing {
        padding: 0.75rem 0.65rem 0.65rem !important;
        max-width: 100%;
    }

    .home-landing .section-title {
        margin-bottom: 0.45rem;
    }

    .home-landing .section-title h2 {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .home-landing .section-title p {
        font-size: 0.76rem;
        line-height: 1.3;
        margin-top: 4px;
    }

    .landing-icon-box {
        width: 46px;
        height: 46px;
        margin-bottom: 0.4rem;
    }

    .landing-icon-box i {
        font-size: 1.35rem;
    }

    .health-disclaimer-banner {
        margin: 0.35rem 0 0.5rem;
        padding: 7px 9px;
        font-size: 0.68rem;
        line-height: 1.35;
        max-width: 100%;
    }

    .home-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 6px;
    }

    .home-action-btn {
        max-width: 100% !important;
        width: 100%;
        padding: 0.65rem 0.85rem !important;
        font-size: 0.86rem !important;
        border-radius: 12px;
        gap: 8px;
        line-height: 1.25;
        min-height: 44px;
    }

    .home-action-btn i {
        font-size: 0.9rem;
        flex-shrink: 0;
        width: 1.1rem;
        text-align: center;
    }

    .home-coming-soon {
        font-size: 0.68rem;
        margin-top: 0.15rem;
    }

    .app-legal-footer-compact {
        margin-top: 0.5rem;
        padding-top: 0.45rem;
        font-size: 0.68rem;
        gap: 6px;
    }

    .instagram-float {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.15rem !important;
    }

    .instagram-float:not(.insta-custom-pos) {
        bottom: max(10px, env(safe-area-inset-bottom)) !important;
        right: max(10px, env(safe-area-inset-right)) !important;
    }

    .instagram-float.insta-custom-pos {
        bottom: auto !important;
        right: auto !important;
    }
}

@media (max-height: 760px) and (max-width: 768px) {
    .home-landing .section-title p {
        display: none;
    }

    .landing-icon-box {
        display: none;
    }

    .home-coming-soon {
        display: none;
    }

    .health-disclaimer-banner span {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-height: 680px) and (max-width: 768px) {
    .app-header-tagline {
        display: none;
    }

    .app-legal-footer-compact {
        margin-top: 0.35rem;
        padding-top: 0.35rem;
    }
}

/* --- MODUL SAYFALARI (VKİ, Kalori, Su vb.) MOBIL OPTIMIZASYON --- */
.tool-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tool-section-header h2 {
    font-size: 1.05rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.tool-section-desc {
    font-size: 0.78rem;
    color: var(--text-sec);
    margin-top: 4px;
    line-height: 1.35;
}

.tool-home-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.tool-submit-btn {
    margin-top: 0.85rem !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.88rem !important;
}

.tool-submit-orange {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
}

.tool-result-area {
    margin-top: 1rem;
    animation: fadeIn 0.5s ease;
}

.app-footer {
    margin-top: 1rem;
    text-align: center;
    padding: 0.75rem 0.5rem 0.25rem;
}

.app-footer p {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
    /* Modul acikken ust baslik ve footer sadelestir */
    .app-container:has(.tool-section:not(.hidden)) .app-header-compact {
        margin-bottom: 0.2rem !important;
    }

    .app-container:has(.tool-section:not(.hidden)) .app-header-tagline,
    .app-container:has(.tool-section:not(.hidden)) .app-footer {
        display: none;
    }

    .app-container:has(.tool-section:not(.hidden)) .app-header-compact h1 {
        font-size: 1.15rem;
    }

    .app-container:has(.tool-section:not(.hidden)) {
        padding-bottom: 0.5rem;
    }

    .tool-section {
        padding: 0.7rem 0.65rem !important;
        border-radius: 14px !important;
        margin-bottom: 0.25rem;
    }

    .tool-section .section-title,
    .tool-section-title {
        margin-bottom: 0.55rem !important;
        padding-bottom: 0.45rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .tool-section .section-title h2 {
        font-size: 0.98rem;
        gap: 8px;
    }

    .tool-section .section-title p,
    .tool-section-desc {
        font-size: 0.72rem;
        margin-top: 3px;
        line-height: 1.3;
    }

    .tool-form-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.55rem !important;
    }

    .tool-section .form-group {
        margin-bottom: 0.35rem;
        gap: 5px;
    }

    .tool-section label {
        font-size: 0.74rem;
    }

    .tool-section input,
    .tool-section select,
    .tool-section textarea {
        padding: 8px 10px;
        font-size: 0.86rem;
        border-radius: 9px;
    }

    .tool-section .generate-btn,
    .tool-submit-btn {
        margin-top: 0.55rem !important;
        padding: 0.68rem 0.75rem !important;
        font-size: 0.8rem !important;
        border-radius: 10px;
    }

    /* VKİ sonuc karti mobil */
    .bmi-result-card,
    .heart-rate-result-card,
    .growth-result-card {
        padding: 1rem 0.75rem;
        border-radius: 14px;
    }

    .bmi-value,
    .hr-value,
    .growth-value {
        font-size: 2.2rem;
    }

    .bmi-scale-container {
        padding: 1.5rem 0.5rem 0.75rem;
        margin: 12px 0;
    }

    .bmi-categories-info {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .bmi-cat-item {
        font-size: 0.65rem;
    }

    .bmi-advice-card {
        padding: 0.75rem;
        text-align: left;
    }

    .bmi-advice-card h4 {
        font-size: 0.85rem;
    }

    .bmi-advice-card p {
        font-size: 0.78rem;
        line-height: 1.45;
    }
}

@media (max-height: 740px) and (max-width: 768px) {
    .app-container:has(.tool-section:not(.hidden)) .app-header-compact h1 {
        font-size: 1.05rem;
    }

    .tool-section-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* ==========================================
   MONETIZATION & PRO VIP STYLES
   ========================================== */

/* PRO VIP Badge & Header Button */
.pro-vip-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.25s ease;
    animation: pro-pulse 2s infinite;
}

.pro-vip-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

@keyframes pro-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.7); }
}

.pro-badge-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* AdMob Banner Container (Sticky Bottom) */
.admob-banner-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    padding: 6px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.admob-banner-container.hidden {
    display: none !important;
}

.admob-banner-inner {
    width: 100%;
    max-width: 728px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 8px 14px;
}

.admob-banner-text {
    font-size: 0.75rem;
    color: var(--text-sec);
    display: flex;
    align-items: center;
    gap: 6px;
}

.admob-banner-text span {
    background: #3b82f6;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

/* PRO VIP Subscription Modal */
.pro-vip-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.pro-vip-modal.hidden {
    display: none !important;
}

.pro-vip-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.99));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 22px;
    max-width: 420px;
    width: 100%;
    max-height: min(85vh, 640px);
    max-height: min(85dvh, 640px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 24px 20px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(245, 158, 11, 0.18);
    position: relative;
    text-align: center;
    animation: modal-pop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
}

.pro-vip-card::-webkit-scrollbar {
    display: none;
}

@keyframes modal-pop {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.pro-vip-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 100;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.pro-vip-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: scale(1.08);
}

.pro-vip-close:active {
    transform: scale(0.95);
}

.pro-vip-header-icon {
    font-size: 2.4rem;
    color: #f59e0b;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.5));
}

.pro-vip-card h2 {
    font-family: "Outfit", sans-serif;
    font-size: 1.45rem;
    color: white;
    margin: 0 0 4px 0;
}

.pro-vip-card h2 span {
    color: #f59e0b;
}

.pro-vip-card .pro-subtitle {
    font-size: 0.8rem;
    color: var(--text-sec);
    margin-bottom: 16px;
    line-height: 1.3;
}

.pro-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pro-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.35;
}

.pro-feature-list li i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

.pro-price-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 16px;
}

.pro-price-amount {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f59e0b;
}

.pro-price-period {
    font-size: 0.76rem;
    color: var(--text-sec);
}

.pro-subscribe-submit {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.25s ease;
}

.pro-subscribe-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.6);
}

@media (max-width: 480px) {
    .pro-vip-card {
        padding: 20px 14px 16px;
        border-radius: 18px;
        max-height: calc(88vh - 10px);
        max-height: calc(88dvh - 10px);
    }
    .pro-vip-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
}

/* Interstitial / Reward Ad Overlay */
.ad-reward-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ad-reward-modal.hidden {
    display: none !important;
}

.ad-reward-card {
    background: #1e293b;
    border-radius: 20px;
    max-width: 380px;
    width: 100%;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-timer-icon {
    font-size: 2.2rem;
    color: #3b82f6;
    margin-bottom: 10px;
    animation: spin-slow 3s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================
   V2 RESULT DASHBOARD & STATS STYLES (IMAGE 2)
   ========================================== */

/* Top Card Header */
.v2-dashboard-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.v2-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.v2-user-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #38bdf8;
    flex-shrink: 0;
}

.v2-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v2-user-name {
    font-family: "Outfit", sans-serif;
    font-size: 1.45rem !important;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: 0.5px;
    text-shadow: none !important;
}

.v2-goal-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.v2-subtitle {
    font-size: 0.72rem;
    color: #94a3b8;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2px;
}

.v2-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

/* VKE / BMI Row inside Card */
.v2-bmi-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 16px;
    align-items: center;
}

.v2-bmi-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v2-bmi-label {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.v2-bmi-value {
    font-family: "Outfit", sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.v2-bmi-status-badge {
    align-self: flex-start;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
}

.v2-bmi-status-badge.zayif {
    border: 1px solid #f59e0b;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

.v2-bmi-status-badge.normal, .v2-bmi-status-badge.ideal {
    border: 1px solid #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.v2-bmi-status-badge.fazla {
    border: 1px solid #f97316;
    color: #f97316;
    background: rgba(249, 115, 22, 0.12);
}

.v2-bmi-status-badge.obez {
    border: 1px solid #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

.v2-bmi-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-bmi-header {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.v2-bmi-bar-container {
    position: relative;
    padding: 10px 0;
}

.v2-bmi-bar {
    height: 8px;
    border-radius: 6px;
    display: flex;
    overflow: hidden;
    gap: 3px;
    background: rgba(255, 255, 255, 0.05);
}

.v2-bmi-bar .segment {
    flex: 1;
    height: 100%;
    border-radius: 2px;
    opacity: 0.75;
}

.v2-bmi-bar .segment.zayif { background: #f59e0b; }
.v2-bmi-bar .segment.normal { background: #eab308; }
.v2-bmi-bar .segment.ideal { background: #10b981; }
.v2-bmi-bar .segment.fazla { background: #f97316; }
.v2-bmi-bar .segment.obez { background: #ef4444; }

.v2-bmi-bar .segment.active {
    opacity: 1;
    box-shadow: 0 0 8px currentColor;
}

.v2-bmi-indicator {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: left 0.5s ease;
}

.v2-indicator-ring {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: #0f172a;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

/* Section Header */
.v2-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 14px 0;
    padding: 0 4px;
}

.v2-section-title {
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-section-title i {
    color: #f97316;
}

.v2-section-unit {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Grid Dashboard (2x2 Cards) */
.v2-grid-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.v2-stat-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.v2-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.4);
}

.v2-stat-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.v2-stat-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.v2-stat-icon-badge.target {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.v2-stat-icon-badge.loss {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.v2-stat-icon-badge.hypertrophy {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.v2-stat-icon-badge.weightloss {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.v2-stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.v2-stat-label.target { color: #38bdf8; }
.v2-stat-label.loss { color: #a855f7; }
.v2-stat-label.hypertrophy { color: #10b981; }
.v2-stat-label.weightloss { color: #f97316; }

.v2-stat-value {
    font-family: "Outfit", sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.v2-stat-unit {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.v2-progress-track {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.v2-progress-fill {
    height: 100%;
    border-radius: 4px;
}

.v2-progress-fill.target { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.v2-progress-fill.loss { background: linear-gradient(90deg, #7e22ce, #a855f7); }
.v2-progress-fill.hypertrophy { background: linear-gradient(90deg, #047857, #10b981); }
.v2-progress-fill.weightloss { background: linear-gradient(90deg, #c2410c, #f97316); }

@media (max-width: 480px) {
    .v2-grid-dashboard {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .v2-stat-card {
        padding: 14px 12px;
    }
    .v2-stat-icon-badge {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .v2-stat-value {
        font-size: 1.45rem;
    }
    .v2-bmi-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================
   HEADER BAR & SCREEN BOTTOM FIT FIXES
   ========================================== */

/* Header Row Alignment & Responsive Positioning (Görsel 1 & 2 Düzeltmeleri) */
.app-header .header-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 6px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

.logo h1 {
    font-size: 1.6rem !important;
    letter-spacing: -0.5px !important;
    white-space: nowrap !important;
}

.auth-controls {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.pro-vip-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 18px !important;
    padding: 5px 11px !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.4) !important;
    white-space: nowrap !important;
    height: 34px !important;
}

.auth-btn-top {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(30, 41, 59, 0.85) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
}

.auth-btn-top:hover {
    background: #38bdf8 !important;
    color: #0f172a !important;
    transform: scale(1.05) !important;
}

.user-profile {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(30, 41, 59, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 3px 6px !important;
    border-radius: 20px !important;
}

.user-profile.hidden {
    display: none !important;
}

/* Hide overflow-causing inline text labels from top header bar on mobile */
.header-top #userProBadge {
    display: none !important;
}

.header-top #userNameDisplay {
    display: block !important;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bottom & Top Safe Area Padding Fixes (Notch & AdMob Overlap Fix) */
body {
    padding-top: max(0px, env(safe-area-inset-top)) !important;
    padding-bottom: max(140px, calc(115px + env(safe-area-inset-bottom))) !important;
}

.app-container {
    padding-top: max(12px, env(safe-area-inset-top)) !important;
    padding-bottom: max(160px, calc(130px + env(safe-area-inset-bottom))) !important;
}

/* Ensure .hidden overrides everything */
.hidden, .auth-btn-top.hidden, .user-profile.hidden, .user-profile-top.hidden {
    display: none !important;
}

/* Ensure Form Submit Button has generous bottom margin so it is never covered by bottom banner */
#generatorForm, .generator-form, .glass-card, #coachForm {
    padding-bottom: 40px !important;
}

.form-submit-wrapper, .generate-btn-container {
    margin-top: 25px !important;
    margin-bottom: 45px !important;
}

.generate-btn {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4) !important;
}

/* Instagram Floating Icon Position (Fixed Above Bottom Ad Banner) */
.instagram-float:not(.insta-custom-pos) {
    bottom: max(85px, calc(75px + env(safe-area-inset-bottom))) !important;
    right: 16px !important;
    z-index: 998 !important;
}


/* ========================================================
   MODERN AUTH MODAL REDESIGN & MOBILE OPTIMIZATION
   ======================================================== */
#authModal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 10, 24, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Ensures top header is NEVER cut off on mobile */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: max(16px, env(safe-area-inset-top)) 12px max(24px, env(safe-area-inset-bottom)) 12px;
}

.auth-modal-modern {
    background: #0A1128; /* Deep dark blue background */
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    margin: auto 0; /* Centers vertically if space allows, top-aligns if screen height is small */
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(59, 130, 246, 0.15);
    font-family: 'Inter', sans-serif;
    color: #F8FAFC;
    max-height: calc(100dvh - max(32px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
    overflow-y: auto;
    box-sizing: border-box;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.auth-modal-modern::-webkit-scrollbar {
    width: 4px;
}
.auth-modal-modern::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 4px;
}

.swipe-dismiss-indicator {
    width: 38px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 14px auto;
}

.auth-home-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60A5FA;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.auth-home-btn-modern:hover,
.auth-home-btn-modern:active {
    background: #3B82F6;
    color: #ffffff;
    border-color: #3B82F6;
    transform: translateY(-1px);
}

.auth-guest-btn {
    width: 100%;
    margin-top: 14px;
    background: transparent;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    color: #94A3B8;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.auth-guest-btn:hover,
.auth-guest-btn:active {
    background: rgba(255, 255, 255, 0.05);
    color: #F8FAFC;
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-close-modern {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #94A3B8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.auth-close-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.auth-logo-modern {
    text-align: center;
    margin-bottom: 16px;
}

.auth-logo-modern i {
    font-size: 2.5rem;
    color: #3B82F6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    margin-bottom: 4px;
}
    color: #3B82F6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    margin-bottom: 5px;
}

.auth-logo-modern h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 1px;
}

.auth-logo-modern h2 span {
    color: #3B82F6;
}

.auth-header-modern {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header-modern h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
}

.auth-header-modern p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin: 0;
}

.wave-emoji {
    display: inline-block;
    animation: wave-animation 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
    10% { transform: rotate(14.0deg) }
    20% { transform: rotate(-8.0deg) }
    30% { transform: rotate(14.0deg) }
    40% { transform: rotate(-4.0deg) }
    50% { transform: rotate(10.0deg) }
    60% { transform: rotate( 0.0deg) }
    100% { transform: rotate( 0.0deg) }
}

.auth-form-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #CBD5E1;
    margin-bottom: 8px;
}

.form-group-modern label i {
    color: #3B82F6;
}

.input-wrapper-modern {
    position: relative;
    width: 100%;
}

.input-wrapper-modern input {
    width: 100%;
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: 12px;
    padding: 14px 15px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper-modern input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.toggle-password-modern {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-password-modern:hover {
    color: #fff;
}

.auth-options-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 10px;
    margin-bottom: 12px;
}

.remember-me-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #CBD5E1;
}

.remember-me-modern input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #3B82F6;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remember-me-modern input[type="checkbox"]:checked {
    background: #3B82F6;
}

.remember-me-modern input[type="checkbox"]:checked::after {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
}

.forgot-pwd-modern {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-pwd-modern:hover {
    color: #60A5FA;
}

.auth-info-box-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 12px 15px;
}

.auth-info-box-modern i {
    color: #3B82F6;
    margin-top: 2px;
}

.auth-info-box-modern p {
    margin: 0;
    font-size: 0.8rem;
    color: #CBD5E1;
    line-height: 1.4;
}

.auth-error-modern {
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin: 10px 0 14px 0;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    line-height: 1.4;
    word-break: break-word;
}

.auth-error-modern:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
}

.auth-submit-modern {
    width: 100%;
    background: linear-gradient(to right, #2563EB, #3B82F6);
    border: none;
    border-radius: 12px;
    padding: 15px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.auth-submit-modern:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.auth-footer-modern {
    text-align: center;
    font-size: 0.9rem;
    color: #94A3B8;
    margin-top: 10px;
}

.auth-footer-modern a {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.auth-footer-modern a:hover {
    color: #60A5FA;
}

/* ========================================================
   ADVANCED AUTH MODAL (PIN, BIO, RECOVERY)
   ======================================================== */
.auth-top-badges {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.auth-secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    color: #10B981;
}

.auth-secure-badge i {
    font-size: 1.2rem;
}

.auth-secure-badge div {
    display: flex;
    flex-direction: column;
}

.auth-secure-badge strong {
    font-size: 0.75rem;
    line-height: 1;
}

.auth-secure-badge span {
    font-size: 0.6rem;
    color: #94A3B8;
    line-height: 1.2;
    margin-top: 2px;
}

.pin-inputs-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 5px;
}

.pin-box {
    width: 50px;
    height: 55px;
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    outline: none;
    transition: all 0.3s ease;
}

.pin-box:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.biometric-toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-top: 5px;
}

.bio-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bio-icon {
    font-size: 1.5rem;
    color: #3B82F6;
    background: rgba(59, 130, 246, 0.15);
    padding: 10px;
    border-radius: 50%;
}

.bio-info div {
    display: flex;
    flex-direction: column;
}

.bio-info strong {
    font-size: 0.9rem;
    color: #F8FAFC;
}

.bio-info span {
    font-size: 0.75rem;
    color: #94A3B8;
    margin-top: 2px;
}

/* Toggle Switch CSS (Perfect Alignment Fix) */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  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: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  background-color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:checked + .slider {
  background-color: #3b82f6;
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

input:focus + .slider {
  box-shadow: 0 0 4px #3b82f6;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.slider.round {
  border-radius: 26px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Recovery Info Box */
.recovery-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 12px 15px;
    position: relative;
    overflow: hidden;
}

.rec-icon i {
    font-size: 2rem;
    color: #10B981;
}

.rec-text {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.rec-text strong {
    font-size: 0.85rem;
    color: #10B981;
}

.rec-text span {
    font-size: 0.7rem;
    color: #94A3B8;
    line-height: 1.3;
    margin-top: 3px;
}

.rec-check {
    position: absolute;
    right: 10px;
    bottom: -10px;
    font-size: 3rem;
    color: rgba(16, 185, 129, 0.1);
    z-index: 0;
}

/* Trust Badges Footer */
.auth-trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-badge i {
    color: #3B82F6;
    font-size: 1.1rem;
}

.trust-badge span {
    color: #64748B;
    font-size: 0.55rem;
    line-height: 1.3;
}


/* Ensure .hidden overrides everything */
.hidden, .auth-btn-top.hidden, .user-profile.hidden, .user-profile-top.hidden {
    display: none !important;
}

/* Bottom Padding & Screen Fitting Fixes (G�rsel 1 D�zeltmesi) */
body {
    padding-bottom: 95px !important;
}

.app-container {
    padding-bottom: 110px !important;
}

/* ==============================================================
   FORM OVERHAUL STYLES
   ============================================================== */

.form-overhaul {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.form-header-overhaul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.form-greeting {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #a78bfa;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.greeting-text h2 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.greeting-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-sec);
    line-height: 1.4;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.progress-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: #a78bfa;
    font-weight: 600;
    white-space: nowrap;
}

/* Form Blocks */
.form-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.block-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-sec);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.block-title i {
    color: #a78bfa;
    font-size: 1.1rem;
}

/* Custom Grid */
.modern-form .form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modern-form .form-group {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modern-form .full-width {
    width: 100%;
}

.modern-form .half-width {
    width: calc(50% - 5px);
}

.modern-form .name-group {
    width: calc(65% - 5px);
}

.modern-form .age-group {
    width: calc(35% - 5px);
}

.modern-form label {
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Inputs with Icons */
.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    padding-left: 45px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    height: 45px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
    outline: none;
}

.input-with-icon input:focus + i,
.input-with-icon select:focus + i {
    color: #8b5cf6;
}

/* Dropdown styling */
.modern-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23cbd5e1%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px;
}

/* Gender Selection (50% - 50% Modern Two-Column Cards) */
.gender-selection {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 2px;
}

.gender-btn {
    position: relative;
    cursor: pointer;
    display: block;
    width: 100%;
    margin: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.gender-btn input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.gender-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.gender-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.gender-icon-box.male-icon-box {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.gender-icon-box.female-icon-box {
    background: rgba(244, 114, 182, 0.15);
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.3);
}

/* Hover State */
.gender-btn:hover .gender-content {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Checked State - Male */
.gender-btn.male-btn input:checked + .gender-content {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(30, 58, 138, 0.45) 100%);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35), inset 0 0 12px rgba(56, 189, 248, 0.15);
    transform: translateY(-1px);
}

.gender-btn.male-btn input:checked + .gender-content .gender-icon-box.male-icon-box {
    background: #38bdf8;
    color: #0b1329;
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* Checked State - Female */
.gender-btn.female-btn input:checked + .gender-content {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.22) 0%, rgba(131, 24, 67, 0.45) 100%);
    border-color: #f472b6;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(244, 114, 182, 0.35), inset 0 0 12px rgba(244, 114, 182, 0.15);
    transform: translateY(-1px);
}

.gender-btn.female-btn input:checked + .gender-content .gender-icon-box.female-icon-box {
    background: #f472b6;
    color: #0b1329;
    border-color: #f472b6;
    box-shadow: 0 0 10px rgba(244, 114, 182, 0.6);
}

/* Target Selection Cards */
.target-selection-scroll {
    width: 100%;
    overflow: visible;
    padding: 4px 0 6px 0;
}

.target-selection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.target-card {
    position: relative;
    cursor: pointer;
    width: 100%;
    min-width: 0;
    height: 76px;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    user-select: none;
}

.target-card input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.target-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 100%;
    padding: 6px 2px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #94a3b8;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

.target-content i {
    font-size: 1.25rem;
    transition: all 0.25s ease;
}

.target-content span {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    white-space: normal;
    word-break: break-word;
}

.target-card input:checked + .target-content {
    background: rgba(15, 23, 42, 0.7) !important;
}

/* 1. Zayıflama (Yeşil Glow) */
.target-card:nth-child(1) input:checked + .target-content {
    border: 1.5px solid #10b981 !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.35), inset 0 0 10px rgba(16, 185, 129, 0.12) !important;
}
.target-card:nth-child(1) input:checked + .target-content i {
    color: #10b981 !important;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.8));
    transform: scale(1.1);
}
.target-card:nth-child(1) input:checked + .target-content span {
    color: #34d399 !important;
    font-weight: 700;
}

/* 2. Kilo Koruma (Mavi Glow) */
.target-card:nth-child(2) input:checked + .target-content {
    border: 1.5px solid #3b82f6 !important;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.35), inset 0 0 10px rgba(59, 130, 246, 0.12) !important;
}
.target-card:nth-child(2) input:checked + .target-content i {
    color: #3b82f6 !important;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.8));
    transform: scale(1.1);
}
.target-card:nth-child(2) input:checked + .target-content span {
    color: #60a5fa !important;
    font-weight: 700;
}

/* 3. Kilo Alma (Turuncu/Amber Glow) */
.target-card:nth-child(3) input:checked + .target-content {
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.35), inset 0 0 10px rgba(245, 158, 11, 0.12) !important;
}
.target-card:nth-child(3) input:checked + .target-content i {
    color: #f59e0b !important;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
    transform: scale(1.1);
}
.target-card:nth-child(3) input:checked + .target-content span {
    color: #fbbf24 !important;
    font-weight: 700;
}

/* 4. Kas Gelişimi (Mor Glow) */
.target-card:nth-child(4) input:checked + .target-content {
    border: 1.5px solid #a855f7 !important;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.35), inset 0 0 10px rgba(168, 85, 247, 0.12) !important;
}
.target-card:nth-child(4) input:checked + .target-content i {
    color: #a855f7 !important;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8));
    transform: scale(1.1);
}
.target-card:nth-child(4) input:checked + .target-content span {
    color: #c084fc !important;
    font-weight: 700;
}

.target-content span {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.15;
    padding: 0 2px;
    white-space: normal;
    word-break: break-word;
    display: block;
    transition: all 0.25s ease;
}

/* Submit Button */
.modern-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.5);
}

.form-footer-secure {
    text-align: center;
    color: #64748b;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Mobile Form Grid Adjustments (2-Column Side-by-Side Optimization) */
@media (max-width: 480px) {
    .modern-form .form-grid {
        gap: 10px 8px !important;
    }
    .modern-form .name-group {
        width: calc(65% - 4px) !important;
    }
    .modern-form .age-group {
        width: calc(35% - 4px) !important;
    }
    .modern-form .half-width {
        width: calc(50% - 4px) !important;
    }
    .modern-form .full-width {
        width: 100% !important;
    }
    .input-with-icon input,
    .input-with-icon select {
        height: 44px;
        font-size: 0.88rem;
        padding-left: 38px;
        padding-right: 10px;
    }
    .input-with-icon i {
        left: 12px;
        font-size: 0.9rem;
    }
    .gender-content {
        height: 48px;
        font-size: 0.92rem;
        gap: 8px;
    }
    .modern-form label {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px), (max-height: 740px) {
    .auth-modal-modern {
        padding: 16px 14px;
        border-radius: 18px;
    }
    .auth-top-badges {
        margin-bottom: 12px;
    }
    .auth-logo-modern {
        margin-bottom: 10px;
    }
    .auth-logo-modern i {
        font-size: 2rem;
    }
    .auth-logo-modern h2 {
        font-size: 1.15rem;
    }
    .auth-header-modern {
        margin-bottom: 14px;
    }
    .auth-header-modern h1 {
        font-size: 1.15rem;
    }
    .form-group-modern {
        margin-bottom: 12px;
    }
    .auth-submit-modern {
        padding: 12px;
        font-size: 0.95rem;
    }
    .auth-trust-badges {
        margin-top: 12px;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .trust-badge {
        padding: 6px;
        font-size: 0.65rem;
    }
}

/* ====================================================
   ATHLETIQ ACCOUNT & SETTINGS MODAL (NEON GLASS UI v4)
   ==================================================== */
.account-modal-container {
    position: relative;
    max-width: 480px;
    width: 92%;
    margin: auto;
    background: linear-gradient(175deg, #0b1329 0%, #060b18 100%);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 26px;
    padding: 24px 22px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(37, 99, 235, 0.18);
    overflow: hidden;
    animation: accountModalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes accountModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Ambient glow wave behind the cards */
.account-modal-wave-bg {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(14, 165, 233, 0.04) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.account-modal-wave-bg::after {
    content: '';
    position: absolute;
    top: 50px;
    right: 30px;
    width: 250px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    transform: rotate(-25deg);
    filter: blur(20px);
}

/* Header */
.account-modal-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.account-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-header-icon-box {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(30, 58, 138, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-header-icon-box .user-main-icon {
    color: #ffffff;
    font-size: 1.25rem;
}

.account-header-icon-box .user-gear-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #0d1e3a;
    border: 1.5px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 0.65rem;
}

.account-header-titles h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.account-header-titles p {
    margin: 3px 0 0 0;
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 400;
}

.account-modal-close-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-modal-close-btn:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: scale(1.06);
}

.account-modal-close-btn:active {
    transform: scale(0.95);
}

/* Action Cards */
.account-modal-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 16px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
}

/* Profile Card (Neon Blue) */
.account-action-card.profile-card {
    background: linear-gradient(135deg, rgba(13, 31, 68, 0.85) 0%, rgba(9, 19, 44, 0.92) 100%);
    border: 1.5px solid rgba(59, 130, 246, 0.32);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.account-action-card.profile-card:hover {
    background: linear-gradient(135deg, rgba(18, 42, 90, 0.9) 0%, rgba(12, 26, 58, 0.95) 100%);
    border-color: rgba(96, 165, 250, 0.65);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3), inset 0 0 15px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.account-action-card.profile-card:active {
    transform: translateY(0) scale(0.99);
}

/* Logout Card (Neon Red) */
.account-action-card.logout-card {
    background: linear-gradient(135deg, rgba(50, 14, 24, 0.85) 0%, rgba(30, 8, 14, 0.92) 100%);
    border: 1.5px solid rgba(239, 68, 68, 0.32);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.account-action-card.logout-card:hover {
    background: linear-gradient(135deg, rgba(70, 18, 32, 0.9) 0%, rgba(42, 10, 18, 0.95) 100%);
    border-color: rgba(248, 113, 113, 0.65);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.35), inset 0 0 15px rgba(239, 68, 68, 0.15);
    transform: translateY(-2px);
}

.account-action-card.logout-card:active {
    transform: translateY(0) scale(0.99);
}

/* Card Icons */
.account-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.account-card-icon.profile-glow {
    background: radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.45) 0%, rgba(10, 22, 50, 0.95) 100%);
    border: 2px solid #3b82f6;
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.55), inset 0 0 10px rgba(59, 130, 246, 0.4);
    color: #38bdf8;
    font-size: 1.45rem;
}

.account-action-card.profile-card:hover .account-card-icon.profile-glow {
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.75), inset 0 0 14px rgba(59, 130, 246, 0.55);
    border-color: #60a5fa;
    transform: scale(1.05);
}

.account-card-icon.logout-glow {
    background: radial-gradient(circle at 40% 40%, rgba(220, 38, 38, 0.4) 0%, rgba(35, 10, 15, 0.95) 100%);
    border: 2px solid #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.5), inset 0 0 10px rgba(239, 68, 68, 0.35);
    color: #f87171;
    font-size: 1.35rem;
}

.account-action-card.logout-card:hover .account-card-icon.logout-glow {
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.7), inset 0 0 14px rgba(239, 68, 68, 0.5);
    border-color: #f87171;
    transform: scale(1.05);
}

/* Card Content */
.account-card-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.account-card-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.account-user-name {
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.account-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #60a5fa;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    line-height: 1;
}

.account-status-pill.pro-vip {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.3));
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.account-logout-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #f87171;
    line-height: 1.25;
}

.account-card-desc {
    margin: 4px 0 0 0;
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.35;
}

/* Arrow Buttons */
.account-card-arrow-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.account-card-arrow-btn.profile-arrow {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    border: 1px solid rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.55);
}

.account-action-card.profile-card:hover .account-card-arrow-btn.profile-arrow {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.75);
    transform: translateX(3px);
}

.account-card-arrow-btn.logout-arrow {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    border: 1px solid rgba(248, 113, 113, 0.6);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
}

.account-action-card.logout-card:hover .account-card-arrow-btn.logout-arrow {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.8);
    transform: translateX(3px);
}

/* Delete Account Card (Dark Crimson) */
.account-action-card.delete-card {
    background: linear-gradient(135deg, rgba(55, 10, 30, 0.85) 0%, rgba(30, 5, 15, 0.92) 100%);
    border: 1.5px solid rgba(190, 18, 60, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.account-action-card.delete-card:hover {
    background: linear-gradient(135deg, rgba(75, 14, 40, 0.9) 0%, rgba(42, 8, 20, 0.95) 100%);
    border-color: rgba(225, 29, 72, 0.65);
    box-shadow: 0 12px 28px rgba(190, 18, 60, 0.35), inset 0 0 15px rgba(225, 29, 72, 0.15);
    transform: translateY(-2px);
}

.account-action-card.delete-card:active {
    transform: translateY(0) scale(0.99);
}

.account-card-icon.delete-glow {
    background: radial-gradient(circle at 40% 40%, rgba(190, 18, 60, 0.4) 0%, rgba(35, 8, 18, 0.95) 100%);
    border: 2px solid #be123c;
    box-shadow: 0 0 18px rgba(190, 18, 60, 0.5), inset 0 0 10px rgba(190, 18, 60, 0.35);
    color: #fb7185;
    font-size: 1.3rem;
}

.account-action-card.delete-card:hover .account-card-icon.delete-glow {
    box-shadow: 0 0 24px rgba(225, 29, 72, 0.7), inset 0 0 14px rgba(225, 29, 72, 0.5);
    border-color: #e11d48;
    transform: scale(1.05);
}

.account-delete-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fb7185;
    margin: 0 0 2px 0;
}

.account-card-arrow-btn.delete-arrow {
    background: linear-gradient(135deg, #9f1239 0%, #be123c 100%);
    border: 1px solid rgba(251, 113, 133, 0.5);
    box-shadow: 0 0 16px rgba(190, 18, 60, 0.55);
}

.account-action-card.delete-card:hover .account-card-arrow-btn.delete-arrow {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
    box-shadow: 0 0 22px rgba(225, 29, 72, 0.75);
    transform: translateX(3px);
}

/* Mobile Responsiveness for Account Modal */
@media (max-width: 480px) {
    .account-modal-container {
        padding: 20px 16px 24px;
        border-radius: 22px;
        width: 94%;
    }
    .account-header-icon-box {
        width: 44px;
        height: 44px;
    }
    .account-header-titles h3 {
        font-size: 1.15rem;
    }
    .account-card-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }
    .account-card-icon.profile-glow {
        font-size: 1.25rem;
    }
    .account-card-icon.logout-glow {
        font-size: 1.2rem;
    }
    .account-card-arrow-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 12px;
    }
}



