/* ============================================================
   Core365 SEO Command Centre - Custom Styles
   ============================================================ */

/* Navigation Links */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-link:hover { background: rgba(51, 65, 85, 0.5); color: #e2e8f0; }
.nav-link.active { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

/* Cards */
.card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.2s;
}
.card:hover { border-color: #475569; }

.stat-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 1.25rem;
}

/* Form Inputs */
.settings-label {
    display: block;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.settings-input {
    width: 100%;
    background: #0f172a;
    border: 1px solid #334155;
    color: white;
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}
.settings-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Loading Spinner */
.spinner {
    width: 40px; height: 40px;
    border: 4px solid #334155;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}
.spinner-sm {
    display: inline-block;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Content Preview */
.content-preview h2 { font-size: 1.375rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #e2e8f0; }
.content-preview h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1.25rem; margin-bottom: 0.5rem; color: #cbd5e1; }
.content-preview p { margin-bottom: 0.75rem; color: #94a3b8; line-height: 1.7; }
.content-preview ul, .content-preview ol { margin-bottom: 0.75rem; padding-left: 1.5rem; color: #94a3b8; }
.content-preview li { margin-bottom: 0.25rem; }
.content-preview table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.content-preview th, .content-preview td { border: 1px solid #334155; padding: 0.5rem 0.75rem; text-align: left; font-size: 0.875rem; }
.content-preview th { background: #0f172a; color: #94a3b8; font-weight: 600; }
.content-preview td { color: #cbd5e1; }
.content-preview code { background: #0f172a; padding: 0.125rem 0.375rem; border-radius: 0.25rem; font-size: 0.8125rem; color: #f472b6; }
.content-preview pre { background: #0f172a; padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin-bottom: 1rem; }
.content-preview pre code { background: none; padding: 0; color: #a5f3fc; }

/* Score Colors */
.score-good { color: #4ade80; }
.score-ok { color: #fbbf24; }
.score-bad { color: #f87171; }

/* Scrollbar (dark theme) */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* FAQ */
.faq-item { margin-bottom: 1rem; padding: 1rem; background: #0f172a; border-radius: 0.5rem; border: 1px solid #334155; }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.5rem; color: #60a5fa; }
.faq-item p { color: #94a3b8; margin-bottom: 0; }
