/* styles.css */
:root {
    --bg: #0f172a;
    --panel: #111827;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --brand: #60a5fa;
    --accent: #34d399;
    --danger: #ef4444;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: radial-gradient(1200px 600px at 20% 0%, #0b1024 20%, var(--bg) 60%);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

.site-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

nav a {
    color: var(--muted);
    margin-right: 12px;
    text-decoration: none;
}
nav a:hover { color: var(--brand); }

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.two-column-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    justify-content: stretch;
}

.column {
    flex: 1 1 0;
    min-width: 0;
}

.panel {
    background: #181a29;
    border-radius: 12px;
    box-shadow: 0 6px 18px 0 rgba(0,0,0,0.12);
    padding: 30px 24px;
    margin: 0 0 0 0;
}

.pdf-list, .scope-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pdf-list li, .scope-list li {
    margin: 14px 0;
    color: #e5e7eb;
}

.btn.main-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;       /* No fill */
    color: #60a5fa;                /* Brand blue text */
    padding: 14px 0;
    border-radius: 8px;
    border: 2px solid #60a5fa;     /* Outline border */
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 32px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: border 0.2s, color 0.18s, background 0.18s;
    box-sizing: border-box;
}

.btn.main-btn:hover {
    background: #60a5fa1A;         /* Light blue transparent on hover */
    color: #2563eb;
    border-color: #2563eb;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
    .two-column-layout { flex-direction: column; gap: 16px; }
    .panel { margin-bottom: 16px; }
}

/* Add to styles.css */
/* Update the resource styles in styles.css */
.btn-small.back-btn {
  margin-bottom: 24px;
  font-weight: 500;
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.btn-small.back-btn:hover {
  background: var(--brand);
  color: #fff;
}


.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    margin: 10px 0;
    border-radius: 8px;
    background: #0c1220;
    border: 1px solid #172033;
    transition: background .2s ease, border-color .2s ease;
}

.resource-item:hover {
    background: #0d1424;
    border-color: #22314d;
}

.resource-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.resource-title {
    font-weight: 500;
    color: #dbeafe;
}

.resource-date {
    font-size: 0.85rem;
    color: var(--muted);
}

.resource-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-small {
    background: #0c1322;
    color: var(--text);
    border: 1px solid #1f2937;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background .2s ease, transform .15s ease, border-color .2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-small:hover {
    background: #101a2f;
    border-color: #22314d;
    transform: translateY(-1px);
}

.btn-small.primary {
    border-color: #1e40af;
    color: #bfdbfe;
}

.btn-small.primary:hover {
    background: #1e3a5f;
    border-color: #2563eb;
}

.counts {
    list-style: none;
    padding: 0;
}

.counts li {
    padding: 8px 0;
    border-bottom: 1px solid #1f2937;
}

.counts li:last-child {
    border-bottom: none;
}
/* styles.css */
.searchbar { margin-bottom: 12px; }
.searchbar input[type="search"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #1f2937;
    background: #0c1322;
    color: var(--text);
    outline: none;
}
.searchbar input[type="search"]::placeholder { color: var(--muted); }
.searchbar input[type="search"]:focus { border-color: #22314d; }

/* Cookie Consent Popup - UPDATED */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1a1f2e, #111827);
    border-top: 2px solid var(--brand);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none; /* Hidden by default */
    animation: slideUp 0.4s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-accept {
    background: var(--brand);
    color: #fff;
    border: 1px solid var(--brand);
}

.cookie-accept:hover {
    background: #5a96e8;
    border-color: #5a96e8;
}

.cookie-reject {
    background: transparent;
    color: var(--muted);
    border: 1px solid #374151;
}

.cookie-reject:hover {
    background: #1f2937;
    border-color: #4b5563;
    color: var(--text);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons button {
        flex: 1;
    }
}
