/* ========================================
   Professional Report Components
   ======================================== */

/* Update Cards - Professional Two-Column Layout */
.update-card {
    position: relative;
    background: linear-gradient(150deg, #ffffff 0%, #f7f9ff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: clamp(1.4rem, 2.1vw, 1.9rem);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 18px 32px -28px rgba(15, 23, 42, 0.45);
    display: flex;
    flex-direction: column;
    gap: clamp(0.9rem, 1.6vw, 1.35rem);
    z-index: 0;
}

.update-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(59, 130, 246, 0.16), rgba(240, 68, 56, 0.12));
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -30px rgba(15, 23, 42, 0.52);
    border-color: rgba(37, 99, 235, 0.18);
}

.update-card:hover::before {
    opacity: 0.24;
}

/* Update Card Header */
.update-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-sm);
}

.update-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Simplified Chips - Only Authority + Impact */
.update-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px var(--space-sm);
    border-radius: 999px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.authority-chip {
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

.date-chip {
    background: var(--report-pearl);
    color: var(--report-slate);
}

.category-chip {
    background: #ede9fe;
    color: #6d28d9;
}


.category-chip.category-enforcement {
    background: rgba(240, 68, 56, 0.18);
    color: #b91c1c;
}

.category-chip.category-consultation {
    background: #e0f2fe;
    color: #0369a1;
}

.category-chip.category-speech {
    background: #ede9fe;
    color: #6d28d9;
}

.category-chip.category-guidance,
.category-chip.category-policy,
.category-chip.category-statement {
    background: #dbeafe;
    color: #1e40af;
}


.category-chip.category-other {
    background: rgba(148, 163, 184, 0.2);
    color: #334155;
}

/* Update Card Title */
.update-card__title-row {
    margin: 0;
}

.update-card__title {
    margin: 0;
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    font-weight: 600;
    color: var(--ink-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.update-card__title a {
    color: inherit;
    text-decoration: none;
}

.update-card__title a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.update-card__title--empty {
    color: var(--report-slate);
    font-style: italic;
}

/* Update Card Summary - Increased Length */
.update-card__summary {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: 0.96rem;
}

/* Update Card Meta - Simplified to 2-3 Pills */
.update-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Impact Pills */
.meta-pill.impact-significant,
.meta-pill.impact-high,
.meta-pill.impact-hot-high-impact-10-10 {
    background: #fee2e2;
    color: #b91c1c;
}

.meta-pill.impact-moderate {
    background: #fef3c7;
    color: #b45309;
}

.meta-pill.impact-low,
.meta-pill.impact-informational {
    background: #e0e7ff;
    color: #312e81;
}

/* Urgency Pills */
.meta-pill.urgency-high,
.meta-pill.urgency-alert-urgent {
    background: #fee2e2;
    color: #b91c1c;
}

.meta-pill.urgency-medium {
    background: #fef3c7;
    color: #b45309;
}

.meta-pill.urgency-low {
    background: #dcfce7;
    color: #166534;
}

.meta-pill.score-pill {
    background: #fef9c3;
    color: #92400e;
}

/* Update Card Footer */
.update-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.update-card__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.update-card__source {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--accent-blue);
    text-decoration: none;
}

.update-card__source:hover {
    color: var(--accent-blue-light);
    text-decoration: underline;
}

.update-card__source::after {
    content: '↗';
    font-size: 0.8em;
    margin-left: 4px;
}

/* Executive One-Pager Styling */
.executive-brief {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 3.5rem);
}

.executive-hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.executive-hero__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--accent-rose-strong);
}

.executive-hero__title {
    margin: 0;
    font-size: clamp(3.25rem, 6vw, 3.85rem);
    font-weight: 600;
    color: var(--ink-primary);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.executive-hero__tagline {
    margin: 0;
    max-width: 60ch;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink-secondary);
}

.executive-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.executive-hero__meta-item {
    padding: 0.85rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(240, 68, 56, 0.2);
    background: rgba(249, 112, 102, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 180px;
}

.meta-label {
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--accent-rose-strong);
}

.meta-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-primary);
}

.executive-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.5rem;
}

.executive-panel {
    padding: 1.75rem;
    border-radius: 20px;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 40px 80px -48px rgba(15, 23, 42, 0.45);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.executive-panel[data-index="1"] {
    background: #151b2f;
}

.executive-panel[data-index="2"] {
    background: #1c243b;
}

.executive-panel[data-index="3"] {
    background: #252f46;
}

.executive-panel__label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.64);
}

.executive-panel__value {
    font-size: clamp(2.3rem, 5vw, 2.9rem);
    font-weight: 600;
    line-height: 1.05;
    color: #ffffff;
}

.executive-panel__helper {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    max-width: 26ch;
}

.executive-spotlights {
    display: grid;
    gap: 1.75rem;
    padding: clamp(2rem, 3vw, 2.75rem);
    border-radius: 28px;
    border: 1px solid rgba(240, 68, 56, 0.24);
    background: var(--surface-spotlight);
}

.executive-spotlights__label {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: var(--accent-rose-strong);
}

.executive-spotlights__heading {
    margin: 0.5rem 0 0;
    font-size: clamp(1.75rem, 3.4vw, 2rem);
    letter-spacing: -0.02em;
    color: var(--ink-primary);
}

.executive-spotlights__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.executive-spotlights__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.executive-spotlights__index {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--accent-rose-strong);
    margin-top: 0.35rem;
}

.executive-spotlights__content {
    display: grid;
    gap: 0.35rem;
}

.executive-spotlights__authority {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--ink-tertiary);
}

.executive-spotlights__title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink-primary);
    letter-spacing: -0.01em;
}

.executive-spotlights__meta {
    font-size: 0.85rem;
    color: var(--ink-tertiary);
}

.executive-body {
    margin-top: clamp(2rem, 3vw, 3rem);
    padding: clamp(2rem, 3vw, 3rem);
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--report-white);
    box-shadow: 0 36px 70px -52px rgba(15, 23, 42, 0.35);
}

.one-pager {
    display: grid;
    gap: 1.75rem;
}

.one-pager__heading {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink-primary);
}

.one-pager p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--ink-secondary);
    line-height: 1.75;
}

.one-pager ul,
.one-pager ol {
    margin: 0;
    padding-left: var(--space-lg);
    font-size: 1.05rem;
    color: var(--ink-secondary);
    line-height: 1.75;
    display: grid;
    gap: var(--space-xs);
}

.one-pager ul li,
.one-pager ol li {
    margin: 0;
}

.one-pager strong {
    color: var(--ink-primary);
}

/* Status Banner */
.status-banner {
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid var(--report-border);
    background: var(--report-pearl);
    color: var(--report-charcoal);
    display: none;
}

.status-banner.show {
    display: block;
}

.status-banner.success {
    border-color: #34d399;
    background: #ecfdf5;
    color: #047857;
}

.status-banner.error {
    border-color: #f87171;
    background: #fef2f2;
    color: #b91c1c;
}

.status-banner.info {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

/* Legacy Card Support (for old sections) */
.card {
    background: var(--report-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--report-border);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.card h2,
.card h3 {
    margin: 0 0 var(--space-md);
    font-weight: 600;
    color: var(--report-navy);
}

.card h2 {
    font-size: var(--font-size-xl);
}

.card h3 {
    font-size: var(--font-size-lg);
}

/* Modals and Overlays */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal {
    background: var(--report-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-xl);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--report-border);
}

.modal__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--report-navy);
    margin: 0;
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--report-slate);
    cursor: pointer;
    padding: var(--space-xs);
    line-height: 1;
}

.modal__close:hover {
    color: var(--report-navy);
}

.modal__body {
    margin-bottom: var(--space-lg);
}

.modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--report-border);
}

/* Form Elements */
textarea,
input[type="text"],
input[type="email"],
select {
    width: 100%;
    border: 1px solid var(--report-border);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: var(--report-charcoal);
    font-family: inherit;
    transition: border-color 0.2s ease;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Quick Note Textarea */
#quickNoteContent {
    min-height: 220px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .update-card {
        padding: var(--space-md);
    }

    .executive-hero__meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .executive-hero__meta-item {
        width: 100%;
    }

    .executive-panels {
        grid-template-columns: 1fr;
    }

    .executive-spotlights__item {
        flex-direction: column;
    }

    .executive-spotlights__index {
        margin-bottom: 0.25rem;
    }

    .modal {
        padding: var(--space-md);
    }
}

/* ========================================
   Beautiful Loading Status Card
   ======================================== */

.briefing-status-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.briefing-status-card.processing {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.briefing-status-card.completed {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.briefing-status-card.failed {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

/* Status Header */
.status-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.status-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

.status-icon svg {
    width: 100%;
    height: 100%;
}

.briefing-status-card.processing .status-icon {
    color: #3b82f6;
}

.briefing-status-card.completed .status-icon {
    color: #10b981;
}

.briefing-status-card.failed .status-icon {
    color: #ef4444;
}

/* Spinner Animation */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner-circle {
    stroke-dasharray: 60;
    stroke-dashoffset: 15;
    stroke-linecap: round;
    fill: none;
}

/* Status Text */
.status-text {
    flex: 1;
}

.status-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.status-message {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

/* Progress Bar */
.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    min-width: 3ch;
    text-align: right;
}

/* Status Steps */
.status-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: white;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.step.active .step-dot {
    border-color: #3b82f6;
    background: #3b82f6;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.step.completed .step-dot {
    border-color: #10b981;
    background: #10b981;
}

.step.completed .step-dot::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    font-weight: bold;
}

.step-label {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

.step.active .step-label {
    color: #1e293b;
    font-weight: 600;
}

.step.completed .step-label {
    color: #10b981;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.375rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Design */
@media (max-width: 640px) {
    .briefing-status-card {
        padding: 1rem;
        margin: 1rem 0;
    }

    .status-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .status-title {
        font-size: 0.8125rem;
    }

    .status-message {
        font-size: 0.8125rem;
    }

    .progress-bar-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .progress-text {
        text-align: left;
    }

    .status-steps {
        gap: 0.625rem;
    }

    .step-label {
        font-size: 0.8125rem;
    }
}

/* ========================================
   Tab-Based Navigation System
   ======================================== */

.briefing-tabs-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-navigation::-webkit-scrollbar {
    display: none;
}

.tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    position: relative;
}

.tab:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #475569;
}

.tab.active {
    background: white;
    color: #1e293b;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab.active .tab-icon {
    color: #3b82f6;
}

.tab-icon {
    flex-shrink: 0;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.tab:hover .tab-icon {
    color: #64748b;
}

.tab-label {
    font-family: 'Inter', sans-serif;
}

/* Tab Content */
.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

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

/* Ensure sections inside tabs have proper spacing */
.tab-pane .report-section {
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.tab-pane .report-section:first-child {
    border-radius: 16px 16px 0 0;
}

.tab-pane .report-section:last-child {
    border-radius: 0 0 16px 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tab {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .tab-label {
        display: none;
    }

    .tab.active .tab-label {
        display: inline;
    }

    .tab-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 640px) {
    .briefing-tabs-container {
        border-radius: 12px;
    }

    .tab-navigation {
        padding: 0.375rem;
        gap: 0.25rem;
    }

    .tab {
        padding: 0.5rem 0.75rem;
        gap: 0.375rem;
    }
}

/* ========================================
   Clickable Snapshot Stats
   ======================================== */

.stat-item-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.stat-item-clickable:hover {
    transform: translateX(4px);
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid #3b82f6;
    padding-left: 1rem;
}

.stat-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.stat-item-clickable:hover .stat-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
}

/* ========================================
   Updates List Modal
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}

.updates-list-modal {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: slideUp 0.3s ease-out;
}

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

.updates-list-modal .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.updates-list-modal .modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.updates-list-modal .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.updates-list-modal .modal-close:hover {
    background: #f1f5f9;
    color: #475569;
}

.updates-list-modal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.update-list-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.update-list-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.update-list-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.update-list-content {
    flex: 1;
    min-width: 0;
}

.update-list-authority {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.update-list-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.update-list-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.impact-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.updates-list-modal .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .updates-list-modal {
        max-height: 90vh;
        border-radius: 12px;
    }

    .updates-list-modal .modal-header {
        padding: 1rem;
    }

    .updates-list-modal .modal-header h2 {
        font-size: 1.125rem;
    }

    .updates-list-modal .modal-body {
        padding: 1rem;
    }

    .update-list-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .update-list-number {
        width: 28px;
        height: 28px;
        font-size: 0.8125rem;
    }

    .update-list-title {
        font-size: 0.875rem;
    }
}
