/* ===== SemanticSEO Checker - Ana Stiller ===== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --bg-light: #f8fafc;
    --border-radius: 0.75rem;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
}

body {
    background: var(--bg-light);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}
.card.shadow-sm {
    box-shadow: var(--shadow) !important;
}
.card-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-size: 0.875rem;
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Form controls */
.form-control, .form-select {
    border-radius: 0.5rem;
    font-size: 0.875rem;
    border-color: #e2e8f0;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.form-control-lg {
    font-size: 1rem;
}

/* Tables */
.table th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
}
.table td {
    font-size: 0.875rem;
    vertical-align: middle;
}

/* Badges */
.badge {
    border-radius: 0.375rem;
    font-weight: 600;
}
.badge.fs-6 {
    font-size: 0.8rem !important;
    padding: 0.3em 0.7em;
}

/* Progress */
.progress {
    border-radius: 999px;
}
.progress-bar {
    background-color: var(--primary);
}

/* Similarity groups */
.sim-group {
    transition: opacity .2s, transform .2s;
}
.sim-group.hidden {
    display: none;
}

/* Login / Register sayfasi */
.card.border-0.shadow-sm.mt-4 {
    border-radius: 1rem;
}

/* Nav tabs */
.nav-tabs .nav-link {
    color: #64748b;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 0.9rem;
    padding: .6rem 1rem;
}
.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
    font-weight: 600;
}
.nav-tabs {
    border-bottom: 1px solid #e2e8f0;
}

/* Utility */
.d-contents { display: contents; }

/* Pricing cards */
.card.border-primary.border-2 {
    border-color: var(--primary) !important;
}

/* Stats card */
.bg-primary { background-color: var(--primary) !important; }

/* Responsive tweaks */
@media (max-width: 576px) {
    .display-5 { font-size: 2rem; }
    .table-responsive table { min-width: 500px; }
}

/* Spinner */
.spinner-border {
    width: 2.5rem;
    height: 2.5rem;
}

/* Similarity score bars */
.sim-score-bar {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #16a34a, #d97706, #dc2626);
}

/* Alert improvements */
.alert {
    border-radius: 0.75rem;
    border: none;
    font-size: 0.9rem;
}
.alert-success { background: #f0fdf4; color: #166534; }
.alert-danger  { background: #fef2f2; color: #991b1b; }
.alert-info    { background: #eff6ff; color: #1e40af; }
.alert-warning { background: #fffbeb; color: #92400e; }

/* Footer */
footer { font-size: 0.8rem; }
