@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700;800&family=Outfit:wght@400;600;800&display=swap');

:root {
    --primary: #1AD1CE;
    --primary-hover: #15b5b2;
    --primary-glow: rgba(26, 209, 206, 0.4);
    --success: #10b981;
    --error: #f43f5e;
    --bg-dark: #0F0F0F;
    --card-bg: rgba(255, 255, 255, 0.015);
    --border: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(26, 209, 206, 0.4);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --glass-blur: 30px;
    --logo-white: #E6E6E6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Premium Background Glows */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: #c026d3;
    bottom: -100px;
    left: -100px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.max-width-1000 {
    max-width: 1000px;
    margin: 0 auto;
}

.max-width-1200 {
    max-width: 1200px;
    margin: 0 auto;
}

.max-width-800 {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
    color: var(--text);
    background: rgba(59, 130, 246, 0.15);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    cursor: pointer;
    transition: color 0.2s;
}

.breadcrumb-item:hover {
    color: var(--primary);
}

.breadcrumb-item:last-child {
    color: var(--text);
    cursor: default;
}

.breadcrumb-sep {
    opacity: 0.3;
}

/* Layout Blocks */
.tab-content {
    display: none;
    padding: 2rem 0;
    animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(160%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
}

.glass-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 1;
}

.glass-card:hover {
    border-color: var(--border-hover);
    background-color: rgba(255, 255, 255, 0.04);
}

/* Dashboard Specifics */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Dashboard Sub-Tabs */
.dash-sub-nav {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.sub-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.75rem 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: all 0.3s;
}

.sub-tab-btn:hover {
    color: var(--text);
}

.sub-tab-btn.active {
    color: var(--primary);
}

.sub-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.sub-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.sub-tab-pane.active {
    display: block;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.dashboard-main-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-side-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.chart-container {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

/* Cache & Loading Indicators */
.cache-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.cache-info .badge-info {
    font-size: 0.6rem;
    padding: 2px 6px;
}

.refresh-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.refresh-btn:hover {
    color: var(--primary);
    background: rgba(26, 209, 206, 0.1);
}

.card-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.glass-card.is-loading .card-loading-overlay {
    display: flex;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.stats-row {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.stat-item .muted {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.trend.up {
    color: var(--success);
}

.trend {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.dashboard-action-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.dashboard-action-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.dashboard-action-btn i {
    color: var(--primary);
}

/* Utilities */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-auto {
    margin-top: auto;
}

.w-100 {
    width: 100%;
}

/* Suggestion List */
.action-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.action-item:hover {
    border-color: var(--primary);
    background: rgba(26, 209, 206, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.action-item h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.action-item .muted {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.7rem 1rem;
    color: white;
    outline: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(26, 209, 206, 0.1);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(26, 209, 206, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    color: white;
    z-index: 1000;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hidden {
    display: none !important;
}

/* Grid for Client Cards */
.grid-list,
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.client-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    position: relative;
}

.client-card:hover {
    border-color: var(--border-hover);
    background: rgba(26, 209, 206, 0.05);
}

.client-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(26, 209, 206, 0.1);
}

.btn-icon i {
    width: 16px;
    height: 16px;
}

/* Loader */
.loader-container {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* GEO Analytics Styles */
.geo-score-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    text-align: right;
}

.geo-score-box .stat-value {
    color: var(--success);
}

.geo-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.geo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.geo-table th {
    text-align: left;
    padding: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.geo-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.intent-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.intent-awareness {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.intent-research {
    background: rgba(192, 38, 211, 0.1);
    color: #c026d3;
    border: 1px solid rgba(192, 38, 211, 0.2);
}

.intent-consideration {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.geo-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.geo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    opacity: 0.2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.geo-icon.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.geo-icon.active[title="GPT"] {
    color: #10a37f;
    background: rgba(16, 163, 127, 0.15);
    border: 1px solid rgba(16, 163, 127, 0.3);
}

.geo-icon.active[title="GEMINI"] {
    color: #4285f4;
    background: rgba(66, 133, 244, 0.15);
    border: 1px solid rgba(66, 133, 244, 0.3);
}

.geo-icon.active[title="PERPLEXITY"] {
    color: #00a99d;
    background: rgba(0, 169, 157, 0.15);
    border: 1px solid rgba(0, 169, 157, 0.3);
}

.geo-icon i {
    width: 16px;
    height: 16px;
}

/* Premium Competitor Radar Styles */
.comp-item {
    padding: 1.25rem 0.5rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}

.comp-item:last-child {
    border-bottom: none;
}

.comp-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.geo-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.geo-prompt-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.geo-status {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-found {
    background: rgba(26, 209, 206, 0.1);
    color: var(--primary);
    border: 1px solid rgba(26, 209, 206, 0.2);
}

.status-missing {
    background: rgba(244, 63, 94, 0.1);
    color: var(--error);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.geo-score-box {
    background: rgba(26, 209, 206, 0.03);
    border: 1px solid rgba(26, 209, 206, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.geo-score-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary);
    filter: blur(50px);
    opacity: 0.1;
    z-index: 0;
}

.comp-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.comp-strength {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(26, 209, 206, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.comp-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
    border-radius: 10px;
}

.comp-weakness {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    color: #f59e0b;
    /* Orange/Yellow for warnings */
    width: 14px;
    height: 14px;
}

/* Website Audit Styles */
.audit-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.audit-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.4;
}

.audit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
}

.strategy-box {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
    padding: 0.8rem;
}

.strategy-label {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
}

.mt-05 {
    margin-top: 0.5rem;
}

/* Status Badges */
.badge-info,
.badge-success,
.badge-warning,
.badge-danger {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-info {
    background: rgba(26, 209, 206, 0.1);
    color: var(--primary);
    border: 1px solid rgba(26, 209, 206, 0.3);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    position: relative;
    animation: modalFadeUp 0.3s ease-out;
}

@keyframes modalFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

/* Tech Audit Specifics */
.tech-audit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-audit-item:last-child {
    border-bottom: none;
}

.tech-info {
    flex: 1;
}

.tech-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.tech-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.priority-badge {
    font-size: 0.65rem;
    font-weight: 700;
    margin: 0 1rem;
    min-width: 60px;
    text-align: center;
}

.prio-high {
    color: #f43f5e;
}

.prio-medium {
    color: #f59e0b;
}

.prio-low {
    color: #10b981;
}

.status-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
}

.status-check.fixed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-check.fix-btn {
    background: #1e1e1e;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: 0.2s;
}

.status-check.fix-btn:hover {
    background: var(--border);
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.icon-btn:hover {
    background: rgba(26, 209, 206, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(30deg);
}

.icon-btn i {
    width: 16px;
    height: 16px;
}

/* Blog Content Styles */
.blog-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-body {
    font-family: 'Outfit', sans-serif !important;
    line-height: 1.8;
}

.blog-body h2 {
    margin: 2.5rem 0 1.25rem 0;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
}

.blog-body h3 {
    margin: 2rem 0 1rem 0;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 600;
}

.blog-body p {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.1rem;
}

.blog-body ul,
.blog-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-body li {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.blog-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s;
}

.blog-body a:hover {
    opacity: 0.8;
}

.alert-info {
    border-color: rgba(59, 130, 246, 0.5) !important;
    background: rgba(59, 130, 246, 0.1) !important;
    color: #60a5fa !important;
}

/* Dropdown / Select Styles for Dark Mode */
select {
    background-color: #0F0F0F; /* Fallback to bg-dark */
    background-color: var(--bg-dark);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select:focus {
    border-color: var(--primary);
}

select option {
    background-color: var(--bg-dark);
    color: var(--text);
    padding: 0.5rem;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border: 1px solid var(--border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-muted);
    transition: .4s;
}

input:checked + .slider {
    background-color: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: var(--primary);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Quill Editor Overrides */
.ql-editor {
    color: #1a1a1a !important;
    font-family: inherit;
    font-size: 0.95rem;
}
.ql-toolbar {
    background-color: #f8fafc;
}
.ql-container {
    background-color: #ffffff;
}

/* AI Copilot Chat Bubbles */
.message-bubble {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 85%;
    word-break: break-word;
}

.message-bubble.system {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message-bubble.user {
    background: rgba(26, 209, 206, 0.1);
    border: 1px solid rgba(26, 209, 206, 0.2);
    color: var(--primary);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.message-bubble.assistant {
    background: rgba(192, 38, 211, 0.1);
    border: 1px solid rgba(192, 38, 211, 0.2);
    color: #e879f9;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message-bubble.error {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: var(--error);
    align-self: center;
}

.spinner-small {
    border: 2px solid rgba(255,255,255,0.1);
    border-left-color: var(--primary);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}
