body {
    background-color: #141414;
    color: #fff;
}

.navbar {
    background-color: #000 !important;
}

.card {
    background-color: #1f1f1f;
    border: none;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.btn-primary {
    background-color: #b91c1c;
    border-color: #b91c1c;
}

.btn-primary:hover {
    background-color: #991b1b;
    border-color: #991b1b;
}

.btn-danger {
    background-color: #ff5722;
    border-color: #ff5722;
    color: #fff;
}
.btn-danger:hover, .btn-danger:focus {
    background-color: #c63c0b;
    border-color: #c63c0b;
    color: #fff;
}

.form-control {
    background-color: #333;
    border: none;
    color: #fff;
}

.form-control:focus {
    background-color: #444;
    color: #fff;
}

select.form-control option {
    background-color: #333;
    color: #fff;
}

/* Dark Mode für Admin-Tabellen und Karten */
.table, .table th, .table td {
    color: #fff;
    background-color: #232323;
    border-color: #333;
}
.table thead th {
    background-color: #181818;
    color: #fff;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #222;
}
.card, .card-body, .card-header {
    color: #fff;
    background-color: #232323;
}
.card-header {
    border-bottom: 1px solid #333;
}
.form-label, .form-control, .form-select, label, input, textarea, select {
    color: #fff !important;
}
.form-control, .form-select {
    background-color: #333 !important;
    border: 1px solid #444 !important;
}
.form-control:focus, .form-select:focus {
    background-color: #444 !important;
    color: #fff !important;
}
.btn, .btn:focus {
    color: #fff;
}
a, .nav-link {
    color: #b91c1c;
}
a:hover, .nav-link:hover {
    color: #fff;
}

/* Stelle sicher, dass das Suchfeld-Container relativ positioniert ist */
.col-md-3 {
    position: relative;
}

.episode-toggle-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: none;
    outline: none;
    position: relative;
}
.episode-toggle-btn.watched {
    color: #198754;
    background: #e6f4ea;
    box-shadow: 0 0 0 3px #19875433;
}
.episode-toggle-btn:hover, .episode-toggle-btn:focus {
    background: #f8f9fa;
    color: #198754;
    box-shadow: 0 0 0 4px #19875422;
    transform: scale(1.08);
}
.episode-toggle-btn.pop {
    animation: pop-anim 0.25s;
}
@keyframes pop-anim {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Staffelliste Styles */
.season-list {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.season-item {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.season-item h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1em;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9em;
    color: #666;
}

/* Episode Item Styles */
.episode-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    background: white;
}

.episode-item.watched {
    background-color: #f8f9fa;
}

.episode-number {
    width: 40px;
    text-align: center;
    font-weight: bold;
    color: #666;
}

.episode-title {
    flex: 1;
    margin: 0 10px;
}

.mark-watched-btn {
    padding: 5px 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.mark-watched-btn:hover {
    background: #45a049;
}

.watched-badge {
    padding: 5px 10px;
    background: #e8f5e9;
    color: #4CAF50;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Watched Status */
.watched-icon {
    color: #4CAF50;
}

.btn-outline-success {
    color: #4CAF50;
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    transition: all 0.2s ease-in-out;
}

.btn-outline-success:hover {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

.btn-outline-success:active {
    background-color: #43A047;
    border-color: #43A047;
    box-shadow: 0 1px 2px rgba(76, 175, 80, 0.2);
}

.btn-outline-success i {
    font-size: 0.875rem;
} 