﻿/* =========================
   EVENTHUB DARK THEME
========================= */

body {
    background: #121417;
    color: #ffffff;
    font-family: Segoe UI, sans-serif;
}

/* Navbar */

.navbar {
    background: #1a1f25 !important;
    border-bottom: 1px solid #2f3741;
    padding: 12px 0;
}

.navbar-brand {
    color: #5b8cff !important;
    font-weight: 700;
    font-size: 1.4rem;
}

.nav-link {
    color: #d0d6dc !important;
    margin-right: 10px;
    transition: 0.2s;
}

    .nav-link:hover {
        color: #5b8cff !important;
    }

/* Hauptbereich */

main {
    margin-top: 30px;
}

/* Karten */

.card,
.dashboard-card {
    background: #1a1f25;
    border: 1px solid #2f3741;
    border-radius: 16px;
    padding: 20px;
}

    .dashboard-card:hover {
        border-color: #5b8cff;
    }

/* Tabellen */

.table {
    background: #1a1f25;
    color: white;
    border-radius: 12px;
    overflow: hidden;
}

    .table thead {
        background: #242b33;
    }

    .table td,
    .table th {
        vertical-align: middle;
    }

/* Formulare */

.form-control,
.form-select {
    background: #242b33;
    border: 1px solid #2f3741;
    color: white;
}

    .form-control:focus,
    .form-select:focus {
        background: #242b33;
        color: white;
        border-color: #5b8cff;
        box-shadow: none;
    }

/* Buttons */

.btn-success {
    background: #39d98a;
    border: none;
    font-weight: 600;
}

.btn-primary {
    background: #5b8cff;
    border: none;
    font-weight: 600;
}

.btn-danger {
    background: #ff5f6d;
    border: none;
    font-weight: 600;
}

/* Rollen */

.role-admin {
    background: #ff5f6d;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.role-user {
    background: #5b8cff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Überschriften */

h1,
h2,
h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

/* Footer */

footer {
    border-top: 1px solid #2f3741 !important;
    margin-top: 40px;
}

/* Eingabefelder */

.form-control,
.form-select,
input,
select {
    color: white !important;
}

    /* Placeholder */

    .form-control::placeholder,
    input::placeholder {
        color: white !important;
        opacity: 1;
    }

/* Dropdowns */

option {
    background: #242b33;
    color: white !important;
}
/* Login Seite */

.card-header,
.card-title,
.card-body,
.login-title,
.login-container h1,
.login-container h2,
.login-container label,
label {
    color: white !important;
}

/* Alle normalen Texte */

p,
span,
small,
strong {
    color: white !important;
}

/* Links */

a {
    color: white !important;
}

    a:hover {
        color: white !important;
    }
button {
    color: white !important;
}

.btn {
    color: white !important;
    font-weight: 600;
}
.admin-nav {
    background: #1a1f25;
    border: 1px solid #2f3741;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 25px;
}

.admin-tab {
    color: white;
    text-decoration: none;
    margin-right: 25px;
    font-weight: 600;
}

    .admin-tab:hover {
        color: #5b8cff;
    }
.hidden-form {
    display: none;
}
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.event-card-modern {
    background: #1a1f25;
    border: 1px solid #2f3741;
    border-radius: 15px;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
    .event-card-modern:hover {
        border-color: #5b8cff;
        transform: translateY(-2px);
    }
@media (max-width: 1200px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}
.btn-warning {
    background: #f1c40f;
    border: none;
    color: black;
}
.event-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .event-actions form {
        margin: 0;
    }
.dashboard-card {
    border-radius: 20px;
}

.form-control {
    background: #1e293b;
    color: white;
    border: 1px solid #334155;
}

    .form-control:focus {
        border-color: ghostwhite;
        box-shadow: 0 0 15px rgba(79,124,255,.35);
    }
.footer {
    background: #111827;
    color: #cbd5e1 !important;
    padding: 18px 0;
    font-size: 0.95rem;
    text-align: center;
}

    .footer a {
        color: #4f7cff;
    }

        .footer a:hover {
            color: #00ff88;
        }
.notification-unread {
    border-left: 5px solid #4f7cff;
    box-shadow: 0 0 15px rgba(79, 124, 255, 0.20);
}

.notification-read {
    opacity: 0.75;
}
.delete-notification {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 20px;
    cursor: pointer;
    transition: .2s;
}

    .delete-notification:hover {
        color: #ff6b6b;
        transform: scale(1.15);
    }