/* SEO Account Manager - Dashboard Styles */

/* Layout */
.seo-manager-body {
    background: var(--bg);
    min-height: 100vh;
}

.seo-manager-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.seo-sidebar {
    width: 260px;
    background: var(--card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-logo .logo-img {
    height: 32px;
    width: auto;
}

.sidebar-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.sidebar-section {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.client-selector {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.875rem;
    cursor: pointer;
}

.client-selector:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-add-client {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-client:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(6, 147, 227, 0.1);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
    position: relative;
}

.nav-item:hover {
    background: var(--bg-light);
    color: var(--text);
}

.nav-item.active {
    background: rgba(6, 147, 227, 0.1);
    color: var(--primary);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
}

.nav-icon {
    font-size: 1.1rem;
}

.nav-badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

/* Sidebar Integrations */
.sidebar-integrations {
    border-top: 1px solid var(--border);
    border-bottom: none;
}

.integration-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.8rem;
}

.integration-icon {
    font-size: 1rem;
}

.integration-name {
    flex: 1;
    color: var(--text-light);
}

.integration-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.integration-badge.connected {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.integration-badge.disconnected {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
}

.sidebar-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.sidebar-back:hover {
    color: var(--primary);
}

/* Main Content */
.seo-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.seo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.header-client {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-icon:hover {
    border-color: var(--primary);
    background: rgba(6, 147, 227, 0.1);
}

/* Content Sections */
.content-section {
    padding: 2rem;
    display: none;
}

.content-section.active {
    display: block;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 4rem auto;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-state h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Period Selector */
.period-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.period-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.period-btn:hover {
    border-color: var(--primary);
}

.period-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.kpi-icon {
    font-size: 1.5rem;
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: var(--radius);
}

.kpi-content {
    flex: 1;
}

.kpi-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.kpi-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.kpi-delta {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
}

.kpi-delta.positive {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.kpi-delta.negative {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* Dashboard Section */
.dashboard-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.section-link {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 1.1rem;
}

/* Tasks List */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.task-item:hover {
    border-color: var(--primary);
    background: rgba(6, 147, 227, 0.05);
}

.task-score {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.task-score.high {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.task-score.medium {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.task-score.low {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.task-info {
    flex: 1;
    min-width: 0;
}

.task-title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.task-type {
    padding: 0.2rem 0.5rem;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Winners/Losers List */
.winners-list,
.losers-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-change-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 0.8rem;
}

.page-change-url {
    flex: 1;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 1rem;
}

.page-change-delta {
    font-weight: 600;
    flex-shrink: 0;
}

.page-change-delta.positive {
    color: var(--success);
}

.page-change-delta.negative {
    color: var(--danger);
}

/* Alerts List */
.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.alert-severity {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.alert-severity.critical {
    background: var(--danger);
}

.alert-severity.warning {
    background: var(--warning);
}

.alert-severity.info {
    background: var(--primary);
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.alert-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Empty States */
.empty-tasks,
.empty-list,
.empty-alerts,
.empty-briefs {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Toolbar */
.section-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.toolbar-filters {
    display: flex;
    gap: 0.75rem;
}

.toolbar-actions {
    display: flex;
    gap: 0.75rem;
}

.toolbar-search {
    flex: 1;
    max-width: 300px;
}

.filter-select {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.8rem;
    cursor: pointer;
}

.search-input {
    width: 100%;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.875rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Tables */
.tasks-table-container,
.pages-table-container {
    overflow-x: auto;
}

.tasks-table,
.pages-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
}

.tasks-table th,
.pages-table th {
    text-align: left;
    padding: 1rem;
    background: var(--bg-light);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.tasks-table td,
.pages-table td {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.tasks-table tr:hover,
.pages-table tr:hover {
    background: var(--bg-light);
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.settings-card-full {
    grid-column: 1 / -1;
}

.redirect-uri-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.redirect-uri-box label {
    font-size: 0.8rem;
    color: var(--warning);
    font-weight: 500;
}

.redirect-uri-box code {
    background: var(--bg);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text);
    font-family: monospace;
    flex: 1;
    word-break: break-all;
}

.btn-copy-small {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-copy-small:hover {
    background: var(--primary);
    color: white;
}

.credentials-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.credentials-form .form-group {
    margin: 0;
}

@media (max-width: 768px) {
    .credentials-form {
        grid-template-columns: 1fr;
    }
}

.settings-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.settings-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.settings-icon {
    font-size: 1.25rem;
}

.settings-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.settings-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-indicator.connected {
    background: var(--success);
}

.status-indicator.disconnected {
    background: var(--danger);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-input,
.form-select {
    padding: 0.625rem 0.875rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.875rem;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input[readonly] {
    opacity: 0.7;
}

.integration-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.integration-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    padding: 0.75rem 1.5rem;
    background: var(--cta-bg);
    color: var(--cta-text);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 0.625rem 1.25rem;
    background: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Briefs Grid */
.briefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.brief-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.brief-card:hover {
    border-color: var(--primary);
}

.brief-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.brief-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1200px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .seo-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .seo-main {
        margin-left: 0;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .section-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-filters,
    .toolbar-actions {
        flex-wrap: wrap;
    }
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.success {
    border-left: 4px solid var(--success);
}

.notification-toast.error {
    border-left: 4px solid var(--danger);
}

.notification-toast.warning {
    border-left: 4px solid var(--warning);
}

.notification-toast.info {
    border-left: 4px solid var(--primary);
}

.notification-message {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text);
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.notification-close:hover {
    color: var(--text);
}

/* Property Selector */
.property-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.property-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.property-item:hover {
    border-color: var(--primary);
    background: rgba(6, 147, 227, 0.1);
}

.property-url {
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
}

.property-permission {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    background: var(--bg);
    border-radius: 4px;
    text-transform: capitalize;
}

/* Selected Property Indicator */
.selected-property {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--success);
    margin-top: 0.5rem;
}

.selected-property-icon {
    font-size: 1rem;
}

/* Loading State */
.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-muted);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 0.75rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Brief Modal */
.modal-xl {
    max-width: 900px;
}

.brief-modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.brief-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.brief-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.brief-keyword {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.brief-intent {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.brief-intent.informational {
    background: rgba(6, 147, 227, 0.2);
    color: var(--primary);
}

.brief-intent.transactional {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.brief-intent.navigational {
    background: rgba(156, 163, 175, 0.2);
    color: var(--text-muted);
}

.brief-intent.commercial {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.brief-url {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.brief-estimates {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.brief-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.brief-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.brief-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.brief-section-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* YMYL Warning */
.ymyl-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* E-E-A-T Grid */
.eeat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.eeat-category h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.eeat-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eeat-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.eeat-checkbox {
    margin-top: 2px;
    flex-shrink: 0;
}

.eeat-item label {
    flex: 1;
    cursor: pointer;
}

.priority-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}

.priority-badge.high {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.priority-badge.medium {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.priority-badge.low {
    background: rgba(156, 163, 175, 0.2);
    color: var(--text-muted);
}

/* Content Structure */
.content-structure {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.structure-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.structure-tag {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.structure-item span:last-child {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Information Gain */
.info-gain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-gain-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.info-gain-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.info-gain-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.info-gain-example {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--primary);
    padding: 0.5rem;
    background: rgba(6, 147, 227, 0.1);
    border-radius: 4px;
}

/* Internal Linking */
.linking-rules {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.linking-rules li {
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 0.25rem 0;
}

.anchor-types h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.anchor-type {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.anchor-label {
    font-weight: 600;
    text-transform: capitalize;
    min-width: 80px;
    font-size: 0.85rem;
}

.anchor-example {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.anchor-percent {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* Technical Requirements */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-category h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.tech-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.tech-checkbox {
    margin-top: 2px;
}

.tech-item.priority-high {
    font-weight: 500;
}

/* Schema Recommendations */
.schema-recommendations {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius);
}

.schema-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.schema-tag {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.schema-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Entities */
.entities-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.entity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.entity-name {
    font-weight: 600;
    color: var(--text);
}

.entity-type {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    background: var(--bg);
    border-radius: 4px;
    color: var(--text-muted);
}

.entity-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Brief Card Status */
.brief-status {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.brief-status.draft {
    background: rgba(156, 163, 175, 0.2);
    color: var(--text-muted);
}

.brief-status.ready {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.brief-status.assigned {
    background: rgba(6, 147, 227, 0.2);
    color: var(--primary);
}

/* Responsive for briefs */
@media (max-width: 768px) {
    .eeat-grid,
    .info-gain-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .brief-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .brief-estimates {
        flex-wrap: wrap;
    }
}
