.api-landing {
    background-color: #f9f9f9;
    padding: 3rem 1rem;
    font-family: 'Chivo', sans-serif;
    color: #333;
}

.api-landing .container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.api-key-container {
    margin-top: 0.5rem;
    max-width: 100%;
}

.key-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    display: block;
}

.key-input-group {
    font-family: 'Monaco', 'Consolas', monospace;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    flex-wrap: nowrap;
    min-width: 0;
    display: block;
}

.key-input-group:hover,
.key-input-group:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
    background-color: #ffffff;
}

.key-input-group code {
    font-family: 'Monaco', 'Consolas', monospace;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    margin-right: 8px;
}

.copy-btn-icon {
    flex-shrink: 0;
    background: white;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.copy-btn-icon:hover {
    border-color: #16a34a;
    color: #16a34a;
    background-color: #f0fdf4;
}

.helper-text {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.helper-text svg {
    flex-shrink: 0;
    color: var(--text-gray);
}

.page-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: #666;
    text-align: center;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.button.primary {
    background-color: #74b72e;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.button.primary:hover {
    background-color: #689f38;
}

.button.secondary {
    background-color: transparent;
    border: 2px solid #74b72e;
    color: #74b72e;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.button.secondary:hover {
    background-color: #74b72e;
    color: #fff;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 1rem;
    border-left: 4px solid #74b72e;
    padding-left: 0.75rem;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
}

.section a {
    color: #2e7d32;
    font-weight: 600;
    text-decoration: underline;
}

.section a:hover {
    text-decoration: none;
}

.partner-login-hint {
    text-align: center;
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    color: #444;
    font-family: 'Chivo', sans-serif;
}

.partner-login-hint a {
    color: #2e7d32;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.partner-login-hint a:hover {
    color: #74b72e;
    text-decoration: none;
}

.partner-login-section {
    background-color: #f4f4f4;
    padding: 3rem 1rem;
    font-family: 'Chivo', sans-serif;
}

.login-container {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.login-form .form-group {
    text-align: left;
    margin-bottom: 1.25rem;
}

.login-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

.login-form input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.button.primary.full-width {
    width: 100%;
    background-color: #74b72e;
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.button.primary.full-width:hover {
    background-color: #689f38;
}

.login-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #444;
}

.login-note a {
    color: #2e7d32;
    font-weight: 600;
    text-decoration: underline;
}

.login-note a:hover {
    text-decoration: none;
}

/* --- New Claim Button Styling --- */
.claim-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f2f5;
    display: flex;
    justify-content: center;
}

.claim-business-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #777;
    text-decoration: none;
    background: transparent;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.claim-business-btn:hover {
    color: #2e7d32;
    background-color: #f1f8e9;
    border-color: #2e7d32;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

/* ========== MODERN DASHBOARD THEME ========== */
:root {
    --primary-green: #16a34a;
    --primary-dark: #15803d;
    --bg-gray: #f9fafb;
    --border-color: #e5e7eb;
    --text-dark: #111827;
    --text-gray: #6b7280;
}

.dashboard-page {
    background-color: var(--bg-gray);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

.partner-dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    width: 100%;
}

/* ========= MOBILE DRILLDOWN ========= */
.drill-container, .drill-container * {
    box-sizing: border-box;
}


.drill-container {
    min-height: 0 !important;
    height: auto;
    transition: height 0.3s ease;
    overflow: hidden;
}

.drill-track {
    display: flex;
    align-items: flex-start;
    width: 200%;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}


.drill-slide {
    width: 50%;
    height: auto;
    min-height: 100%;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
}


.drill-list-view {
    padding: 2px;
}


.drill-form-view {
    padding: 0 5px;
}

.product-row {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}

.product-row:hover {
    background-color: #f9fafb;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.product-meta {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 2px;
}

.drill-back-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0 15px 0;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.drill-back-header:hover {
    color: #111827;
}

.drill-form-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.drill-form-title {
    margin-top: 0;
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 4px;
}


.styled-input, .styled-select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    background-color: #fff;
}

.button.green {
    width: 20vw;
    padding: 12px;
    border-radius: 6px;
    background-color: #16a34a;
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.section-intro h2 {
    border-left: none !important;
    padding-left: 0 !important;
}

.button.green:hover {
    background-color: #15803d;
}

@media (max-width: 480px) {
    .drill-container {
        min-height: 70vh;
    }

    .drill-form-card {
        padding: 15px;
        background: transparent;
        border: none;
    }
}

/* ========== MAIN CONTENT AREA ========== */
.main-content {
    padding: 2.5rem 3rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.fade-in-content {
    animation: fadeIn 0.25s ease-out;
}

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


.htmx-indicator {
    display: none;
    opacity: 0;
    transition: opacity 200ms ease-in;
}

.htmx-request .htmx-indicator {
    display: block;
    opacity: 1;
}

.htmx-request.htmx-indicator {
    display: block;
    opacity: 1;
}

/* ========== STATS GRID (Premium Cards) ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-wrapper.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.stat-icon-wrapper.green {
    background: #f0fdf4;
    color: #16a34a;
}

.stat-icon-wrapper.orange {
    background: #fff7ed;
    color: #f97316;
}

.stat-icon-wrapper.purple {
    background: #faf5ff;
    color: #a855f7;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}


.partner-landing {
    background: radial-gradient(circle at 50% 0%, #f0fdf4 0%, #ffffff 60%);
    color: var(--text-dark);
}

.hero-container {
    padding: 6rem 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.large-btn {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 600;
}

.pilot-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.pilot-card {
    background: #0f172a;
    border-radius: 20px;
    padding: 4rem;
    color: white;
    overflow: hidden;
}

.pilot-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #4ade80;
}

.pilot-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.pilot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pilot-benefit-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pilot-benefit-box h4 {
    color: #4ade80;
    margin-top: 0;
}

.pilot-benefit-box ul {
    list-style: none;
    padding: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.container-mid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.footer-cta {
    padding: 6rem 2rem;
    text-align: center;
    background: #f9fafb;
    border-top: 1px solid var(--border-color);
}

.status-pill.green-bg {
    background: var(--primary-green);
    color: white;
    border: none;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .pilot-card {
        padding: 2rem;
    }
}

/* ========== SEARCH & TABLES (Inventory) ========== */
.inventory-toolbar {
    margin-bottom: 0;
}

/* Floating Search Results */
#search-dropdown-results .search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.1s;
}

#search-dropdown-results .search-result-item:hover {
    background-color: #f9fafb;
}

#search-dropdown-results .search-result-item:last-child {
    border-bottom: none;
}

.partner-table {
    width: 100%;
    border-collapse: collapse;
}

.partner-table th {
    text-align: left;
    padding: 12px 16px;
    color: var(--text-gray);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.partner-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.partner-table tr:hover td {
    background-color: #fcfcfc;
}

.partner-table img.product-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f4f6;
}

/* ========== FORMS & INPUTS ========== */
.styled-form input, .styled-form select {
    background: #fff;
    border: 1px solid #d1d5db;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.styled-form input:focus, .styled-form select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}


.button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
}

.button.green {
    background-color: var(--primary-green);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.button.green:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.button.gray {
    background-color: #f3f4f6;
    color: #374151;
    padding: 8px 16px;
    border-radius: 6px;
}

.button.gray:hover {
    background-color: #e5e7eb;
    color: #111827;
}


.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pill.active {
    background-color: #dcfce7;
    color: #166534;
}

.status-pill.inactive {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* --- MODAL BASE STYLES --- */
.deal-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px); /* Modern blur effect */
}

.deal-modal-box {
    background: white;
    margin: 5% auto;
    width: 500px;
    max-width: 90%;
    border-radius: 12px;
    position: relative;
    max-height: min-content;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#inventory-dynamic-box {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    max-height: min-content !important;
    overflow-y: auto !important;
    overflow-x: hidden;

    transition: height 0.3s ease;
}

.dashboard-menu-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#inventory-dynamic-box .drill-container {
    height: auto;
    min-height: 0 !important;
    overflow: hidden;

    transition: height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


#inventory-dynamic-box .drill-track {
    align-items: flex-start;
}

.close-modal {
    color: #999;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 0.8;
    border: none !important;
    background: #ffffff;
    transition: color 0.2s;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.close-modal:hover {
    color: #ef4444;
}

.deal-modal-header {
    padding: 20px 20px 0 20px;
    flex-shrink: 0;
}

.deal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px 20px;
}

.key-display-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 8px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

#apiKey {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #334155;
    background: transparent;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    white-space: nowrap;
    flex: 1;
}

.brand-search-wrapper {
    position: relative;
    z-index: 1000;
}


.premium-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
}


.premium-dropdown li {
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;


    color: #111827 !important;
    background-color: #ffffff !important;
}


.premium-dropdown li:hover {
    background-color: #f3f4f6 !important;
    color: #059669 !important;
}

.premium-dropdown li:last-child {
    border-bottom: none;
}

.toggle-switch .slider {
    position: absolute !important;
    cursor: pointer;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #d1d5db;
    transition: .4s;
    border-radius: 34px !important;
    width: 44px !important;
    height: 24px !important;
}

.toggle-switch .slider:before {
    position: absolute !important;
    content: "" !important;
    height: 18px !important;
    width: 18px !important;
    left: 3px !important;
    bottom: 3px !important;
    background-color: white !important;
    transition: .4s;
    border-radius: 50% !important;
}

.toggle-switch input:checked + .slider {
    background-color: #16a34a !important;
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(20px) !important;
}

@media (max-width: 480px) {
    .deal-modal-box {
        margin: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .drill-container {
        min-height: auto !important;
        height: 100%;
        border-radius: 0;
    }

    .drill-slide {
        height: 100%;
        overflow-y: auto;
    }

    .deal-modal-header {
        padding: 15px;
        background: #fff;
        border-bottom: 1px solid #f3f4f6;
    }

    .deal-modal-body {
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .partner-dashboard-layout {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-menu-header-actions {
        position: fixed;
        bottom: 20px;
        right: 20px;
        flex-direction: column-reverse;
        gap: 12px;
        z-index: 999;
        pointer-events: none;
    }

    .dashboard-menu-header-actions button {
        pointer-events: auto;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        padding: 12px 16px;
        border-radius: 50px;
    }

    .dashboard-menu-header-actions .white-outline {
        background: white;
    }

    .partner-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px;
    }

    .btn-primary-glow {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        height: fit-content;
        min-width: auto !important;
        border-radius: 50px !important;
    }


    .btn-primary-glow svg {
        width: 16px !important;
        height: 16px !important;
        margin-right: 4px !important;
    }

    .btn-primary-glow {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        z-index: 999;
        box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.4) !important;
        padding: 14px 20px !important;
    }

    .dashboard-section .section-header .button.green {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        border-radius: 50px !important;
        width: auto !important;
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.2) !important;
    }


    .dashboard-section .section-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px;
        margin-bottom: 20px;
    }


    .dashboard-section .header-title h1 {
        font-size: 1.25rem !important;
        margin: 0 !important;
    }

    .dashboard-section .header-title .subtitle {
        display: none;
    }


    .dashboard-section > div[style*="grid"] {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .content-card, .settings-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 8px !important;
    }

    .card-header-row, .card-header {
        padding: 12px 16px !important;
    }

    .key-input-group {
        width: 100% !important;
        overflow: hidden;
    }

    #apiKey {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 180px;
    }
}
