body {
    font-family: "Segoe UI", sans-serif;
    background: #0d0d0d;
    color: #f0f0f0;
    margin: 0;
    padding: 0
}

header,
.topbar {
    background: #111;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .7)
}

header h1 {
    color: #4cafef;
    margin: 0
}

button {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px
}

.load {
    background: #4cafef;
    color: #fff
}

.loadall {
    background: #f44336;
    color: #fff
}

.stats {
    margin-top: 10px;
    font-size: 16px;
    color: #ddd;
}

.stats span {
    margin: 0 10px;
}

.search-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #111
}

.search-filter input,
.search-filter select {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 0 8px #4cafef
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px
}

.card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .6);
    transition: transform .2s
}

.card:hover {
    transform: translateY(-6px)
}

.card h2 {
    color: #4cafef;
    font-size: 18px;
    margin-bottom: 12px
}

.details {
    margin: 6px 0;
    font-size: 14px
}

.status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold
}

.status.Active {
    background: #1b5e20;
    color: #a5d6a7
}

.status.Closed {
    background: #b71c1c;
    color: #ffcdd2
}

.status.ComingSoon {
    background: #e65100;
    color: #ffe0b2
}

.actions button,
.add {
    margin: 5px 5px 0 0;
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px
}

.actions .edit {
    background: #4cafef;
    color: #fff
}

.actions .delete {
    background: #f44336;
    color: #fff
}

.actions .add {
    background: #00c853;
    color: #fff
}

a.video-link {
    color: #4cafef;
    text-decoration: none;
    font-weight: bold
}

a.video-link:hover {
    text-shadow: 0 0 6px #4cafef
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .8);
    justify-content: center;
    align-items: center
}

.modal-content {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    width: 400px;
    box-shadow: 0 0 12px #4cafef
}

.modal-content h2 {
    margin-top: 0;
    color: #4cafef
}

.modal-content div {
    display: block;
}

.modal-content>input {
    width: 100%;
    margin: 8px 0;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: #fff
}

.modal-content div>input,
.modal-content div>select {
    width: 45%;
    margin: 8px 0;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: #fff
}

.modal-content div>div,
.modal-content div>select {
    width: 49%;
}

.modal-content>select {
    width: 99%;
    margin: 8px 0;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: #fff
}

.modal-content div>div>input {
    width: 91%;
    margin: 8px 0;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: #fff
}


.modal-content button {
    margin-top: 10px;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #4cafef;
    color: #fff
}


#snackbar {
    visibility: hidden;
    min-width: 150px;
    margin-left: -125px;
    background-color: darkgreen;
    color: white;
    text-align: center;
    border-radius: 3px;
    padding: 16px;
    position: fixed;
    z-index: 10005;
    left: 50%;
    top: 30px;
    font-size: 17px;
    font-style: italic;
    font-weight: bolder;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}