/**
 * Guerreiro de Oração - Styles
 * Desenvolvido por B20 Conteúdo Digital
 * https://www.b20.com.br
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Palette Colors - Amethyst & Purple */
    --primary-color: #9966CC;
    --secondary-color: #9370DB;
    --accent-color: #8A2BE2;
    --surface-color: #9400D3;
    --text-color: #9932CC;

    /* Automatic Variations */
    --primary-hover: #7d4db8;
    --primary-light: #e6d9f5;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(153, 102, 204, 0.1);
    --shadow-md: 0 4px 12px rgba(153, 102, 204, 0.15);
    --shadow-lg: 0 8px 24px rgba(153, 102, 204, 0.2);

    /* Layout */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --spacing-unit: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 60px;
    --bottom-nav-height: 65px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-reading: 'Lora', Georgia, serif;
}

/* Dark Mode */


[data-theme="dark"] {
    --bg-color: #121212;
    --bg-secondary: #1e1e1e;
    --surface-color: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --border-color: #333333;
}

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

html {
    font-size: clamp(14px, 2.5vw, 16px);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: var(--header-height);
    padding-bottom: var(--bottom-nav-height);
    overflow-x: hidden;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* ===== FIXED HEADER ===== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.app-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header-logo h1 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 4px;
    }

    .desktop-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px;
        border-radius: var(--border-radius-sm);
        color: var(--text-secondary);
        font-weight: 500;
        transition: var(--transition);
    }

    .desktop-nav .nav-link span {
        display: none;
    }

    .desktop-nav .nav-link:hover {
        background: var(--primary-light);
        color: var(--primary-color);
        transform: translateY(-2px);
    }

    .desktop-nav .nav-link.active {
        background: var(--primary-color);
        color: white;
        box-shadow: var(--shadow-sm);
    }

    .desktop-nav .nav-link i {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .desktop-nav {
        gap: 8px;
    }

    .desktop-nav .nav-link {
        padding: 8px 16px;
        justify-content: flex-start;
    }

    .desktop-nav .nav-link span {
        display: inline;
    }

    .desktop-nav .nav-link i {
        font-size: 1.1rem;
    }
}

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

/* ===== BOTTOM NAVIGATION (MOBILE) ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .bottom-nav {
    background: rgba(18, 18, 18, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition);
    min-width: 64px;
    min-height: 48px;
    text-decoration: none;
}

.nav-item i {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active i {
    transform: scale(1.15);
}

.nav-item-fab {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: -28px;
    color: white !important;
    box-shadow: 0 4px 12px rgba(153, 102, 204, 0.4);
}

.nav-item-fab i {
    font-size: 24px;
}

.nav-item-fab span {
    display: none;
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none !important;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    text-decoration: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(153, 102, 204, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 102, 204, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    /* Changed to outline style for better contrast */
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background: #7a24cc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

/* ===== SECTIONS ===== */
.section {
    display: none;
    min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
    padding: 24px 0;
}

.section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@media (min-width: 768px) {
    .section {
        min-height: calc(100vh - var(--header-height));
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HOME SECTION ===== */
.welcome-banner {
    text-align: left;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    color: white;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.welcome-banner h2 {
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
}

.acts-promo-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    /* Match Hero colors */
    border-radius: var(--border-radius);
    padding: 20px;
    /* Reduced padding */
    color: white;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.acts-promo-card::before {
    /* Existing pattern style */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.acts-promo-content {
    flex: 1;
    min-width: 200px;
    /* Reduced min-width */
    z-index: 1;
}

.acts-promo-content h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 1.25rem;
    /* Reduced font size */
}

.acts-promo-content p {
    margin-bottom: 12px;
    opacity: 0.95;
    font-size: 0.9rem;
    /* Reduced font size */
}

.acts-acronym-list {
    display: flex;
    gap: 8px;
    /* Reduced gap */
    flex-wrap: wrap;
}

.acts-letter {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    /* Reduced padding */
    border-radius: 16px;
    font-size: 0.8rem;
    /* Reduced font size */
    font-weight: 500;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
}

.acts-letter::before {
    content: attr(data-letter);
    font-weight: 800;
    margin-right: 4px;
    background: white;
    color: var(--primary-color);
    width: 16px;
    /* Reduced size */
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    /* Reduced font size */
}

.btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    z-index: 1;
    white-space: nowrap;
}

.btn-light:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-content h3 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--primary-color);
}

.stat-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.quick-actions {
    margin-bottom: 32px;
}

.quick-actions h3 {
    margin-bottom: 16px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.recent-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    margin: 0;
}

.link-view-all {
    font-size: 0.875rem;
    font-weight: 500;
}

.prayers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prayer-card {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.prayer-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.prayer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
}

.prayer-card-title {
    font-weight: 600;
    color: var(--text-primary);
}

.prayer-card-meta {
    display: flex;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.verse-card {
    padding: 32px;
    background: linear-gradient(135deg, rgba(153, 102, 204, 0.1), rgba(147, 112, 219, 0.05));
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(153, 102, 204, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.verse-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    font-family: var(--font-reading);
    color: var(--primary-color);
    opacity: 0.1;
    pointer-events: none;
}

.verse-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: rgba(153, 102, 204, 0.1);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.verse-card blockquote {
    font-family: var(--font-reading);
    font-size: 1.25rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===== LISTS SECTION (KANBAN) ===== */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 8px 0;
}

.kanban-column {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.column-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.column-title i {
    font-size: 1.25rem;
}

.column-count {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.column-actions {
    display: flex;
    gap: 4px;
}

.kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100px;
}

.kanban-card {
    padding: 12px;
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-priority {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.priority-normal {
    background: #e0e0e0;
    color: #666;
}

.priority-high {
    background: #fef3c7;
    color: #f59e0b;
}

.priority-urgent {
    background: #fee2e2;
    color: #ef4444;
}

.card-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== ACTS SECTION ===== */
.acts-header {
    text-align: center;
    margin-bottom: 32px;
}

.acts-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.acts-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.acts-step {
    text-align: center;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.acts-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
}

.step-icon i {
    font-size: 2rem;
}

.acts-step h3 {
    margin-bottom: 8px;
}

.acts-step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.acts-session {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.acts-session.hidden {
    display: none;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.session-header h3 {
    margin: 0;
}

.session-content textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-reading);
    font-size: 1rem;
    line-height: 1.8;
    resize: vertical;
    background: var(--bg-color);
    color: var(--text-primary);
}

.session-content textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.session-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* ===== ANSWERS SECTION ===== */
.answers-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    /* Larger touch target */
    border: 2px solid var(--border-color);
    border-radius: 20px;
    /* Fully rounded for chip style */
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

/* ... existing hover/active styles ... */

.toast {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.9);
    /* Start slightly smaller and lower */
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 14px 28px;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy pop */
    z-index: 3000;
    max-width: 90%;
    text-align: center;
    font-weight: 500;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.answer-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.answer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.answer-header {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
}

.answer-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.answer-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.answer-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.answer-testimony {
    font-family: var(--font-reading);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.answer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== STATISTICS SECTION ===== */
.stats-dashboard {
    display: grid;
    gap: 24px;
}

.dashboard-card {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.dashboard-card h3 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.overview-stats {
    display: grid;
    gap: 16px;
}

.overview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
}

.overview-item .label {
    font-weight: 500;
    color: var(--text-secondary);
}

.overview-item .value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.chart-container {
    min-height: 200px;
    padding: 16px 0;
}

/* Category Chart */
.chart-category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chart-category-item {
    width: 100%;
}

.chart-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.chart-category-name {
    font-weight: 500;
    color: var(--text-primary);
}

.chart-category-value {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.chart-progress-bg {
    background: var(--border-color);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.chart-progress-fill {
    background: var(--primary-color);
    height: 100%;
    transition: width 0.5s ease-out;
    border-radius: 4px;
}

/* Monthly Chart */
.chart-monthly-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    gap: 8px;
    padding-top: 24px;
    /* Space for top tooltips if added */
}

.chart-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 100%;
    max-width: 32px;
    /* Prevent overly wide bars */
    background: var(--primary-color);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease-out;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    position: relative;
    opacity: 0.8;
}

.chart-bar:hover {
    opacity: 1;
    transform: scaleY(1.02);
}

.chart-bar.empty {
    background: transparent;
    min-height: 0;
}

.chart-month-label {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .chart-category-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 24px;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 48px 0;
    background: var(--bg-secondary);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 32px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: none;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer:not([hidden]) {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease;
}

.modal.hidden {
    display: none;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    /* Increased padding for better touch targets */
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(153, 102, 204, 0.1);
    /* Subtle focus ring */
}

/* Custom Checkbox/Radio if needed later, but for now standard inputs */

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
    max-width: 90%;
    text-align: center;
}

.toast.success {
    background: #10B981;
    /* Green */
    color: white;
}

.toast.error {
    background: #EF4444;
    /* Red */
    color: white;
}

.toast.info {
    background: var(--primary-color);
    color: white;

}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (min-width: 768px) {
    .toast {
        bottom: 24px;
    }
}

/* ===== FOOTER ===== */
.app-footer {
    padding: 32px 16px;
    background: var(--bg-secondary);
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.app-footer p {
    margin: 8px 0;
    color: var(--text-secondary);
}

.b20-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.b20-link:hover {
    text-decoration: underline;
    transform: scale(1.05);
    display: inline-block;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: calc(var(--spacing-unit) * 1);
}

.mt-2 {
    margin-top: calc(var(--spacing-unit) * 2);
}

.mt-3 {
    margin-top: calc(var(--spacing-unit) * 3);
}

.mt-4 {
    margin-top: calc(var(--spacing-unit) * 4);
}

.mb-1 {
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.mb-2 {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.mb-3 {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.mb-4 {
    margin-bottom: calc(var(--spacing-unit) * 4);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ===== SHARE OPTIONS ===== */
.share-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.share-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 20px;
    font-weight: 600;
}

.share-btn i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    margin-right: 8px;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.share-btn.whatsapp:hover {
    background: #1ea952;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
    border: none;
}

.share-btn.telegram:hover {
    background: #006699;
}

.share-btn.twitter {
    background: #000000;
    color: white;
    border: none;
}

.share-btn.twitter:hover {
    background: #333333;
}

@media (min-width: 480px) {
    .share-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767px) {
    .header-logo h1 {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .kanban-board {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    .app-header,
    .bottom-nav,
    .btn,
    .modal-overlay {
        display: none !important;
    }

    body {
        padding: 0;
    }

    .section {
        display: block !important;
    }
}