/* Team EVA — Dark gaming theme (EVA.gg branding) */

/* Bootstrap dark theme overrides */
[data-bs-theme="dark"] {
    --bs-primary: #4b11e2;
    --bs-primary-rgb: 75, 17, 226;
    --bs-link-color: #956dff;
    --bs-link-hover-color: #b794ff;
    --bs-body-bg: #12121b;
    --bs-body-color: #f3f0fc;
    --bs-border-color: #3f3f46;
}

.btn-primary {
    background-color: #4b11e2 !important;
    border-color: #4b11e2 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #956dff !important;
    border-color: #956dff !important;
}

.btn-primary:active,
.btn-primary:focus {
    background-color: #2e00a3 !important;
    border-color: #2e00a3 !important;
}

.btn-outline-primary {
    color: #956dff !important;
    border-color: #956dff !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover {
    background-color: #4b11e2 !important;
    border-color: #4b11e2 !important;
    color: #fff !important;
}

.btn-outline-primary:active,
.btn-outline-primary:focus {
    background-color: #2e00a3 !important;
    border-color: #2e00a3 !important;
    color: #fff !important;
}

.badge.bg-primary {
    background-color: #4b11e2 !important;
}

.border-primary {
    border-color: #4b11e2 !important;
}

body {
    background-color: #12121b;
    color: #f3f0fc;
}

/* Card hover effect */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(75, 17, 226, 0.3);
}

/* Planning grid */
.planning-cell {
    cursor: pointer;
    transition: background-color 0.15s ease;
    min-width: 80px;
    position: relative;
}

.planning-cell:hover {
    filter: brightness(1.2);
}

.planning-cell.is-loading {
    pointer-events: none;
}

.planning-cell.level-full {
    background-color: rgba(25, 135, 84, 0.3) !important;
}

.planning-cell.level-majority {
    background-color: rgba(255, 193, 7, 0.2) !important;
}

.planning-cell.level-few {
    background-color: rgba(220, 53, 69, 0.25) !important;
}

/* Navbar brand */
.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* Accordion dark fix */
.accordion-button:not(.collapsed) {
    background-color: rgba(75, 17, 226, 0.15);
    color: #f3f0fc;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:focus {
    box-shadow: none;
}

/* Video player */
video {
    max-height: 80vh;
    background-color: #000;
}

/* Form inputs dark styling */
.form-control,
.form-select {
    background-color: #1a1a2e;
    border-color: #3f3f46;
    color: #f3f0fc;
}

.form-control:focus,
.form-select:focus {
    background-color: #1a1a2e;
    border-color: #956dff;
    color: #f3f0fc;
    box-shadow: 0 0 0 0.25rem rgba(75, 17, 226, 0.25);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
