/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure Font Awesome Icons are visible */
.fas, .far, .fal, .fad, .fab {
    display: inline-block !important;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important;
    font-style: normal;
    font-weight: 900;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b;
    min-height: 100vh;
    position: relative;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: calc(var(--bottom-nav-height) + 1rem);
    overflow-x: hidden;
}

:root {
    --header-height: 88px;
    --nav-height: 64px;
    --bottom-nav-height: 74px;

    /* Clean White & Blue Color Palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #3b82f6;
    --accent: #06b6d4;
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;

    /* Neutral Colors - Clean Whites and Blues */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* Clean White & Blue Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(219, 234, 254, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.9) 100%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.black-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 30px;
background-color: #000000;
z-index: 1001;
}
/* Clean White & Blue Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    z-index: 900;
    box-shadow: 0 2px 20px rgba(37, 99, 235, 0.08);
    min-height: var(--header-height);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand img {
    height: 8rem;
    width: auto;
    max-width: 8rem;
    object-fit: contain;
    transition: var(--transition-normal);
}

.brand img:hover {
    transform: scale(1.05);
}

.brand-text h1 {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
    line-height: 1.2;
}

.brand-text p {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Desktop Bottom Navigation */
@media (min-width: 769px) {
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(37, 99, 235, 0.1);
        justify-content: space-around;
        gap: 0.25rem;
        padding: 0.75rem 1rem;
        z-index: 900;
        box-shadow: 0 -4px 20px rgba(37, 99, 235, 0.08);
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    .bottom-nav .nav-btn {
        flex: 1;
        max-width: 150px;
        padding: 0.75rem 1rem;
        border-radius: 12px;
        gap: 0.5rem;
        transition: var(--transition-normal);
    }

    .bottom-nav .nav-btn i {
        font-size: 1.25rem;
    }

    .bottom-nav .nav-btn span {
        font-size: 0.8rem;
        font-weight: 500;
    }
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--gray-600);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.nav-btn.active i {
    opacity: 1;
    transform: scale(1.05);
}

.nav-btn.active span {
    opacity: 1;
    font-weight: 600;
}

.nav-btn i {
    font-size: 1.25rem;
    transition: var(--transition-normal);
    opacity: 0.8;
}

.nav-btn span {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    justify-content: space-around;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    z-index: 900;
    box-shadow: 0 -4px 20px rgba(37, 99, 235, 0.08);
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    margin-bottom: 80px;
}

/* Mostrar bottom-nav também no desktop para testes */
@media (min-width: 769px) {
    .bottom-nav {
        display: flex;
        position: static;
        background: rgba(255, 255, 255, 0.9);
        border-top: 1px solid rgba(37, 99, 235, 0.1);
        box-shadow: var(--shadow-sm);
        margin-top: 2rem;
        border-radius: var(--radius-lg);
        padding: 1rem;
        justify-content: center;
        gap: 2rem;
    }

    .bottom-nav .nav-btn {
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius-lg);
        gap: 0.5rem;
        min-width: 120px;
    }

    .bottom-nav .nav-btn i {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .bottom-nav .nav-btn span {
        font-size: 0.8rem;
    }
}

.bottom-nav .nav-btn {
    flex: 1;
    max-width: none;
    padding: 0.375rem 0.125rem;
    border-radius: 8px;
    gap: 0.125rem;
    transition: var(--transition-fast);
}

.bottom-nav .nav-btn i {
    font-size: 1.4rem;
    opacity: 1;
    transition: var(--transition-fast);
    margin-bottom: 0.25rem;
}

.bottom-nav .nav-btn span {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    transition: var(--transition-fast);
}

.bottom-nav .nav-btn.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.bottom-nav .nav-btn.active i {
    opacity: 1;
    transform: scale(1.05);
}

.bottom-nav .nav-btn.active span {
    opacity: 1;
    font-weight: 600;
}

/* Main Content */
.main {
    padding: 2rem 0 6rem 0;
    min-height: calc(100vh - 200px);
}

.view {
    display: none;
}

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

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

/* Modern Recorder View */
.recorder-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recording-status {
    margin-bottom: 2.5rem;
}

.recording-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    border-radius: var(--radius-xl);
    border: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-lg);
}

.pulse {
    width: 16px;
    height: 16px;
    background: var(--success);
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.recording-indicator.recording .pulse {
    animation: pulse 1.5s infinite;
    background: #2563eb;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.waveform-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

#waveform {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: rgba(46, 52, 64, 0.5);
    max-width: 100%;
    height: auto;
}

.recorder-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.record-btn, .stop-btn, .play-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.record-btn::before, .stop-btn::before, .play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.record-btn:hover::before, .play-btn:hover::before {
    left: 100%;
}

.record-btn:hover, .play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.stop-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.stop-btn:hover::before {
    left: 100%;
}

.stop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.record-btn:disabled, .stop-btn:disabled, .play-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.save-section {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    border-radius: var(--radius-2xl);
    border: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.save-section input, .save-section textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    color: var(--gray-900);
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.save-section input:focus, .save-section textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.save-section textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.save-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.save-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.save-btn:hover::before {
    left: 100%;
}

.save-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Notes View */
.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.notes-header h2 {
    color: #2563eb;
}

.notes-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.notes-filters select {
    padding: 0.5rem;
    background: rgba(46, 52, 64, 0.7);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #D8DEE9;
    cursor: pointer;
}

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

.note-card {
    background: rgba(67, 76, 94, 0.3);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.note-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 5px 20px rgba(136, 192, 208, 0.2);
}

.note-card h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.note-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.note-date {
    font-size: 0.9rem;
    opacity: 0.7;
}

.note-category {
    background: #2563eb;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.note-transcription {
    opacity: 0.8;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Search View */
.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-container h2 {
    color: #2563eb;
    margin-bottom: 2rem;
    text-align: center;
}

.search-input-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input-container input {
    flex: 1;
    padding: 1rem;
    background: rgba(46, 52, 64, 0.7);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #D8DEE9;
    font-size: 1rem;
}

.search-input-container input:focus {
    outline: none;
    border-color: #2563eb;
}

#search-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

#search-btn:hover {
    background: #81A1C1;
}

.search-results {
    display: grid;
    gap: 1rem;
}

.search-result {
    background: rgba(67, 76, 94, 0.3);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.search-highlight {
    background: rgba(255, 193, 7, 0.3);
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}

/* Categories View */
.categories-container h2 {
    color: #2563eb;
    margin-bottom: 2rem;
    text-align: center;
}

.categories-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.category-card {
    background: rgba(67, 76, 94, 0.3);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
}

.category-card h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

.category-description {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    margin-top: 5rem;
    padding: 4rem 0;
    border-top: 2px solid rgba(37, 99, 235, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(248, 250, 252, 0.3));
}

.faq-section h2 {
    color: var(--gray-900);
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.faq-question {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    border: none;
    padding: 2rem;
    color: var(--gray-900);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
}

.faq-question[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.08));
    color: var(--primary-dark);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
}

.faq-answer {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.8));
    padding: 2rem;
    line-height: 1.7;
    color: var(--gray-700);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideDown 0.4s ease-out;
}

.faq-answer[hidden] {
    display: none;
}

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

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.modal-header h3 {
    color: #2563eb;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #D8DEE9;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(191, 97, 106, 0.2);
    color: #BF616A;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body h4 {
    color: #2563eb;
    margin: 1.5rem 0 0.5rem 0;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.audio-player {
    margin: 1rem 0;
}

.audio-player audio {
    width: 100%;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: #81A1C1;
    transform: translateY(-2px);
}

.action-btn.danger {
    background: #BF616A;
}

.action-btn.danger:hover {
    background: #D08770;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    opacity: 0.7;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.empty-state p {
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

/* Footer */
footer {
    background: rgba(46, 52, 64, 0.9);
    color: #D8DEE9;
    text-align: center;
    padding: 1rem;
    border-top: 2px solid #e2e8f0;
    margin-top: 2rem;
  
}

/* Responsive Design */
@media (max-width: 900px) {
    body {
        padding-top: calc(var(--header-height) + 2.5rem);
        padding-bottom: var(--bottom-nav-height);
    }

    .top-nav {
        display: none;
    }

    .bottom-nav {
        display: flex;
    }

    .main {
        padding-bottom: calc(var(--bottom-nav-height) + 1rem);
    }

    .brand img {
        height: 7rem;
        max-width: 7rem;
    }

    .brand-text h1 {
        font-size: 1.25rem;
    }

    footer {
        padding-bottom: calc(var(--bottom-nav-height) + 0.5rem);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .nav-btn {
        padding: 0.5rem;
        min-width: 60px;
    }
    
    .nav-btn span {
        font-size: 0.7rem;
    }
    
    .recorder-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .record-btn, .stop-btn, .play-btn {
        min-width: 200px;
    }
    
    .notes-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .notes-filters {
        justify-content: center;
    }
    
    .notes-list {
        grid-template-columns: 1fr;
    }
    
    .search-input-container {
        flex-direction: column;
    }
    
    .categories-list {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand img {
        height: 5rem;
        max-width: 5rem;
    }

    .brand {
        gap: 0.75rem;
    }

    .brand-text h1 {
        font-size: 1.1rem;
    }

    .main {
        padding: 1rem 0;
    }
    
    .recorder-container {
        padding: 0 0.5rem;
    }
    
    #waveform {
        width: 100%;
        max-width: 280px;
    }
    
    .save-section {
        padding: 1rem;
    }
    
    .note-card, .category-card, .search-result {
        padding: 1rem;
    }
    
    .faq-section h2 {
        font-size: 1.75rem;
    }

    .faq-question, .faq-answer {
        padding: 1.25rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}
