:root {
    --primary-color: #1e1f20;
    --secondary-color: #faf0ca;
    --accent-color: #f95738;
    --dark-color: #1e1e24;
    --light-color: #f2f2f2;
    --warning-color: #ffbe0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.logo-text p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.user-panel {
    text-align: right;
}

.user-panel button {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.user-panel button:hover {
    background-color: white;
    color: var(--primary-color);
}

nav {
    background-color: #33393d;
}

.nav-container {
    display: flex;
    justify-content: space-between;
}

.main-menu {
    display: flex;
    list-style: none;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem;
    transition: background-color 0.3s ease;
}

.main-menu a:hover {
    background-color: var(--primary-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    padding: 0.8rem 1rem;
}

.main-menu li:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 1rem;
}

main {
    padding: 2rem 0;
}

.welcome-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    background-image: linear-gradient(#272c30), rgba(13, 59, 102, 0.8), url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-img {
    height: 160px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.card-content {
    padding: 1.2rem;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card p {
    margin-bottom: 1rem;
    color: #666;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #272c30;
}

.alert-section {
    background-color: var(--light-color);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin-bottom: 2rem;
}

.alert-section h2 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.alert-items {
    list-style: none;
}

.alert-item {
    background-color: white;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--warning-color);
    display: flex;
    align-items: center;
}

.alert-item:last-child {
    margin-bottom: 0;
}

.alert-priority {
    margin-right: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.high {
    background-color: #ff4d4d;
    color: white;
}

.medium {
    background-color: #ffbe0b;
    color: var(--dark-color);
}

.statistics {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.statistics h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 0.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-box {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.login-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form button {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.login-form button:hover {
    background-color: #272c30;
}

.login-links {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.login-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.disclaimer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 1rem;
        justify-content: center;
    }

    .hamburger {
        display: block;
    }

    .nav-container {
        flex-direction: column;
    }

    .main-menu {
        flex-direction: column;
        display: none;
    }

    .main-menu.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        display: none;
    }

    .main-menu li:hover .dropdown-content {
        display: none;
    }

    .main-menu li.active .dropdown-content {
        display: block;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}



#disclaimer-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #1e1e24;
    color: #ffffff;
    z-index: 9999;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    width: 400px;
}

.disclaimer-content {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
}

#disclaimer-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

#accept-disclaimer {
    background-color: #007dea;
    border: none;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#accept-disclaimer:hover {
    background-color: #0066c0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .disclaimer-content {
        font-size: 0.85rem;
    }

    #disclaimer-banner {
        left: 10px;
        right: 10px;
    }
}
