@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --dark-bg: #0d1117;
    --light-text: #f0f0f0;
    --accent: #8892b0;
    --gov-dark: #0d1b2a;
    --gov-navy: #1b263b;
    --gov-light: #e0e5eb;
    --gov-gold: #d4af37;
    --gov-white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--gov-navy);
    color: var(--light-text);
    scroll-behavior: smooth;
}

body main {
    z-index: 9800;
    margin-top: 0px;
}

.head {
    display: flex;
    justify-content: space-between;
    background: var(--dark-bg);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 9998;
    border-bottom: 5px solid var(--gov-gold);
}

.head h2 {
    cursor: pointer;
    margin-left: 10px;
}

.menu {
    width: 30px;
    height: 26px;
    font-size: 22px;
    margin-right: 10px;
    background: transparent;
}

.menu i {
    cursor: pointer;
    margin-top: 20px;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    transition: right 0.5s ease;
    border-left: 4px solid var(--gov-gold);
    z-index: 9999;
    padding: 20px;
    background: var(--dark-bg);
    list-style: none;
}

.show {
    right: 0;
}

.close {
    align-items: center;
    text-align: center;
    margin-top: 10px;
}

.close button {
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: larger;
    font-weight: bolder;
    cursor: pointer;
}

.close button:hover {
    color: var(--gov-gold);
    border: var(--light-text);
}

.sidebar li a {
    text-decoration: none;
    color: var(--light-text);
}

.sidebar li a:hover {
    text-decoration: underline;
    font-weight: bold;
    color: var(--gov-gold);
}

.portal {
    display: flex;
    flex-direction: column;
}

.portal a {
    border-bottom: 2px solid green;
    border-left: 2px solid green;
    cursor: pointer;
}

.portal a:hover {
    font-weight: bold;
    color: black;
    background: green;
}

.btn {
    border-bottom: 2px solid green;
    border-left: 2px solid green;
    cursor: pointer;
    border-radius: 8px;
}

.btn:hover {
    font-weight: bold;
    color: black;
    background: green;
}

footer {
    background: #111;
    text-align: center;
    padding: 1.5rem 0;
    color: var(--muted);
    font-size: 0.9rem;
    align-content: center;
    bottom: 0;
    position: relative;
}

footer strong {
    text-decoration: underline;
}

.follow {
    display: flex;
    justify-content: space-between;
    padding: 40px;
}

.follow button {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.follow button:hover {
    font-size: 20px;
    color: green;
}

.follow button i {
    color: #fff;
}

.follow button i:hover {
  color: green;
}

.footer-links {
    list-style: none;
    text-align: center;
}

.footer-links li {
    text-decoration: none;
    text-align: center;
}

.footer-links li a:hover {
  font-weight: bold;
  color: green;
}

.footer-links li a {
    text-decoration: none;
    color: #fff;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d0d0d;
    color: #fff;
    padding: 18px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    border-top: 1px solid #333;
    opacity: 1;
    transition: opacity 1s ease;
    font-family: "Inter", sans-serif;
}

.cookie-banner.hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.cookie-content p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.4;
}

.cookie-content a {
    color: #3ea6ff;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
}

/* Global message styles for Django messages framework */
.global-messages {
    max-width:1100px;
    margin:12px auto;
    padding:0 16px;
}

.global-messages .message {
    padding:10px 12px;
    border-radius:6px;
    margin-bottom:8px;
}

.global-messages .message.error {
    background:#fee2e2;
    color:#991b1b;
}

.global-messages .message.success {
    background:#dcfce7;
    color:#064e3b;
}

.global-messages .message.info {
    background:#e6f0ff;
    color:#0b3d91;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.cookie-btn.accept {
    background: #3ea6ff;
    color: #fff;
}

.cookie-btn.decline {
    background: #222;
    color: #ddd;
}
