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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #64748b;
    --background-color: #f5f7ff;
    --surface-color: #ffffff;
    --text-color: #0f172a;
    --light-text-color: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-box-blue: #6366f1;
    --table-header-bg: #f1f5f9;
    --table-row-hover-bg: #f8fafc;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08);
    --shadow-md: 0 4px 12px -1px rgb(0 0 0 / 0.1), 0 2px 6px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 12px 32px -4px rgb(0 0 0 / 0.12), 0 4px 12px -4px rgb(0 0 0 / 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(99, 102, 241, 0.12);
    --accent-glow: 0 0 20px rgba(99, 102, 241, 0.18);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    /* Explicitly set font-family */
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 0.8em;
    font-weight: 600;
}

/* ... (other CSS) ... */

/* Header and Navigation Elements */
.header-nav .nav-link,
.header-nav .dropdown-button,
.header-nav .dropdown-content a,
.admin-nav-item {
    font-family: 'Inter', sans-serif;
    /* Explicitly set font-family */
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.5em;
}

p {
    margin-bottom: 1em;
    color: var(--text-color);
}

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

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #e8ecf8;
    box-shadow: 0 1px 8px rgba(99, 102, 241, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.header-text h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2px;
}

.header-text p {
    font-size: 14px;
    color: var(--light-text-color);
    margin: 0;
}

.header-main-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-stats {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--light-text-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-badge {
    background: #edf2f7;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    color: #4a5568;
}

.stat-badge a {
    color: inherit;
    text-decoration: none;
}

.stat-badge a:hover {
    text-decoration: underline;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-nav .nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-nav .nav-link:hover {
    background-color: #f0f4f8;
    color: var(--primary-color);
}

/* User Dropdown in Header */
.header-nav .dropdown {
    position: relative;
    display: inline-block;
}

.header-nav .dropdown-button {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.header-nav .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
    z-index: 1;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header-nav .dropdown-content a {
    color: #2d3748;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.header-nav .dropdown-content a:hover {
    background-color: #f1f1f1;
}

.header-nav .dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-stat {
    padding: 8px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 8px 0;
}

/* Mobile User Info */
.mobile-user-info {
    padding: 15px 20px;
    background-color: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
    text-align: left;
}

.mobile-user-info span {
    display: block;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 5px;
}

.mobile-user-info strong {
    font-size: 16px;
    color: #1a202c;
}

.mobile-user-info .stat-item {
    justify-content: space-between;
    margin-top: 5px;
}

.mobile-user-info .button.button-small {
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

/* Explicitly hide sidebar-mobile-menu on desktop */
.sidebar-mobile-menu {
    display: none;
}

/* Hamburger Menu (Desktop) */
.hamburger-menu {
    display: none;
    /* Hidden by default on desktop */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    z-index: 101;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation Menu (Desktop hidden state) */
.nav-menu-mobile {
    display: none;
    /* Hidden by default on desktop */
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 80px 20px 20px;
    text-align: right;
    z-index: 99;
    overflow-y: auto;
    flex-direction: column;
}

.nav-menu-mobile.active {
    display: flex;
    /* Display as flex when active on mobile */
    transform: translateX(0);
}

.nav-menu-mobile .nav-link {
    width: 100%;
    text-align: right;
    padding: 12px 10px;
    border-bottom: 1px solid #f7fafc;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-bottom: 5px;
    /* Spacing between nav links */
}

.nav-menu-mobile .nav-link:last-of-type {
    border-bottom: none;
}

.nav-menu-mobile .nav-link:hover {
    background-color: #f0f4f8;
    color: var(--primary-color);
}

/* Sidebar Mobile Menu (Desktop hidden state) */
.sidebar-mobile-menu {
    background: none;
    /* Remove background for inside nav menu */
    box-shadow: none;
    /* Remove shadow */
    border-radius: 0;
    /* Remove border radius */
    padding: 0;
    /* Remove padding */
    margin-top: 20px;
    /* Space from top nav links */
    max-height: none;
    /* Allow full height */
    position: static;
    /* Remove sticky */
    top: auto;
    width: 100%;
    text-align: left;
    /* Align text left for sidebar items */
}

.nav-menu-mobile.active .sidebar-mobile-menu {
    display: block;
    /* Make the mobile sidebar visible when the menu is active */
}

.sidebar-mobile-menu .sidebar-title {
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid #e1e8ed;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.sidebar-mobile-menu .nav-group {
    padding: 0;
    margin-bottom: 15px;
}

.sidebar-mobile-menu .nav-group-title {
    text-align: left;
    padding: 0 5px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
}

.sidebar-mobile-menu .nav-tab {
    width: 100%;
    justify-content: flex-start;
    flex-direction: row;
    padding: 10px 10px;
    font-size: 15px;
    gap: 10px;
}

.sidebar-mobile-menu .nav-tab.active {
    background: var(--primary-color);
    color: white;
}

.sidebar-mobile-menu .nav-tab.active:hover {
    background: var(--primary-color);
    color: white;
}

/* Hide desktop sidebar */
.desktop-sidebar {
    display: block;
    /* Default to block on desktop */
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 100px 24px;
    background: radial-gradient(circle at top left, #4338ca 0%, #1e1b4b 50%, #0f172a 100%);
    color: white;
    border-radius: 32px;
    margin-bottom: 64px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: white;
}

.hero-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.tool-card {
    background: var(--surface-color);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--accent-glow), var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.5);
    text-decoration: none;
    background: rgba(30, 41, 59, 0.9);
}

.tool-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tool-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1a202c;
}

.tool-card p {
    font-size: 14px;
    color: var(--light-text-color);
    margin: 0;
}

/* Layout Grid */
.layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding-top: 32px;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 16px;
    padding: 32px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    position: sticky;
    top: 100px;
}

/* Sidebar has desktop-sidebar class in index.html */
/* .desktop-sidebar { display: block; } is set above */


.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    padding: 0 32px 24px;
    border-bottom: 1px solid #e1e8ed;
    margin-bottom: 24px;
}

.nav-group {
    margin-bottom: 24px;
    padding: 0 24px;
}

.nav-group:last-of-type {
    margin-bottom: 0;
}

.nav-group-title {
    font-size: 14px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    padding: 0 8px;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    font-size: 16px;
    color: #4a5568;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
}

.nav-tab:hover:not(.disabled) {
    background: #f7fafc;
    color: #2d3748;
}

.nav-tab.active {
    background: #e6f2ff;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-tab.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-icon {
    font-size: 20px;
    line-height: 1;
}

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

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

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Content Area */
.content-area {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.section-header h2 {
    margin-bottom: 8px;
}

.section-header p {
    color: var(--light-text-color);
    font-size: 16px;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}

.form-group input[type="file"],
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.radio-group,
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    width: auto;
}

.radio-group label,
.checkbox-group label {
    margin-bottom: 0;
    font-weight: 500;
}

small {
    display: block;
    color: #a0aec0;
    font-size: 13px;
    margin-top: 6px;
}

.warning-text {
    color: var(--warning-color);
}

/* Buttons */
.btn,
.button,
.button-small {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.button-small {
    padding: 6px 12px;
    font-size: 14px;
}

.btn:hover,
.button:hover,
.button-small:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

/* Info Box */
.info-box {
    background: #ebf8ff;
    border-left: 4px solid var(--info-box-blue);
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.info-box strong {
    color: var(--info-box-blue);
}

.info-box code {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #2d3748;
}

/* Messages */
.messages {
    margin-bottom: 24px;
}

.message {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message.warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

/* Download Section */
.download-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--success-color);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* File List for Merge */
#file-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#file-list li {
    background: #f7fafc;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drag-handle {
    cursor: move;
    color: #a0aec0;
    font-size: 18px;
}

.file-name {
    font-weight: 500;
}

.delete-btn {
    background: var(--error-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.delete-btn:hover {
    background: #c82333;
}

.file-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-left: 12px;
}

/* Admin Panel */
.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-table th,
.user-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.user-table th {
    background: var(--table-header-bg);
    color: #4a5568;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-table tbody tr:last-child td {
    border-bottom: none;
}

.user-table tbody tr:hover {
    background-color: var(--table-row-hover-bg);
}

.user-table .button-small {
    margin-right: 8px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s;
}

.modal-content h3 {
    margin-top: 0;
    color: #1a202c;
    font-size: 24px;
    margin-bottom: 20px;
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 32px 20px;
    background: white;
    border-top: 1px solid #e1e8ed;
    margin-top: 60px;
    color: #adb5bd;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-content {
        padding: 15px 20px;
    }

    .header-stats,
    .header-nav {
        /* Hide desktop header-stats and header-nav */
        display: none;
    }

    .hamburger-menu {
        display: flex;
        /* Show hamburger menu */
    }

    .desktop-sidebar {
        display: none;
        /* Hide desktop sidebar on mobile */
    }

    /* Mobile Nav Overlay */
    .nav-menu-mobile.active {
        /* This class is added by JS to the <nav class="header-nav"> */
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        /* Slide into view */
        transition: transform 0.3s ease-in-out;
        padding: 80px 20px 20px;
        text-align: right;
        z-index: 99;
        overflow-y: auto;
    }

    .nav-menu-mobile {
        /* For the initial hidden state on mobile */
        transform: translateX(100%);
    }

    /* This rule specifically targets the sidebar-mobile-menu inside the active mobile nav */
    .nav-menu-mobile.active .sidebar-mobile-menu {
        display: block;
        /* Make the mobile sidebar visible when the menu is active */
    }

    .nav-menu-mobile .nav-link {
        /* Styling for links within the mobile nav */
        width: 100%;
        text-align: right;
        padding: 12px 10px;
        border-bottom: 1px solid #f7fafc;
        color: var(--text-color);
        text-decoration: none;
        font-weight: 500;
        transition: background-color 0.2s ease;
        margin-bottom: 5px;
        /* Spacing between nav links */
    }

    .nav-menu-mobile .nav-link:last-of-type {
        border-bottom: none;
    }

    .nav-menu-mobile .nav-link:hover {
        background-color: #f0f4f8;
        color: var(--primary-color);
    }

    /* Style for the sidebar content when it's inside the mobile menu */
    .sidebar-mobile-menu {
        background: none;
        /* Remove background for inside nav menu */
        box-shadow: none;
        /* Remove shadow */
        border-radius: 0;
        /* Remove border radius */
        padding: 0;
        /* Remove padding */
        margin-top: 20px;
        /* Space from top nav links */
        max-height: none;
        /* Allow full height */
        position: static;
        /* Remove sticky */
        top: auto;
        width: 100%;
        text-align: left;
        /* Align text left for sidebar items */
    }

    .sidebar-mobile-menu .sidebar-title {
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid #e1e8ed;
        margin-bottom: 15px;
        font-size: 18px;
        font-weight: 700;
    }

    .sidebar-mobile-menu .nav-group {
        padding: 0;
        margin-bottom: 15px;
    }

    .sidebar-mobile-menu .nav-group-title {
        text-align: left;
        padding: 0 5px;
        margin-bottom: 10px;
        font-size: 13px;
        font-weight: 700;
        color: #718096;
        text-transform: uppercase;
    }

    .sidebar-mobile-menu .nav-tab {
        width: 100%;
        justify-content: flex-start;
        flex-direction: row;
        padding: 10px 10px;
        font-size: 15px;
        gap: 10px;
    }

    .sidebar-mobile-menu .nav-tab.active {
        background: var(--primary-color);
        color: white;
    }

    .sidebar-mobile-menu .nav-tab.active:hover {
        background: var(--primary-color);
        color: white;
    }

    .layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 24px;
    }

    .container {
        padding: 15px 20px;
    }

    .content-area {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 24px;
    }

    .content-area {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 20px;
    }

    .header-text p {
        font-size: 12px;
    }

    .hero-section {
        padding: 40px 15px;
    }

    .content-area {
        padding: 15px;
    }

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