/* Custom styles for Video Catalog */

/* Light mode colors */
[data-bs-theme="light"] body {
    background-color: #f8f9fa;
}

/* Dark mode colors */
[data-bs-theme="dark"] body {
    background-color: #212529;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    border-radius: 10px;
    border: none;
}

.card.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

/* Light mode table header */
[data-bs-theme="light"] .table thead {
    background-color: #343a40;
    color: white;
}

/* Dark mode table header */
[data-bs-theme="dark"] .table thead {
    background-color: #495057;
    color: white;
}

.badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
}

.btn {
    border-radius: 5px;
}

/* Light mode pagination */
[data-bs-theme="light"] .pagination .page-link {
    color: #343a40;
    border-radius: 5px;
    margin: 0 2px;
}

[data-bs-theme="light"] .pagination .page-item.active .page-link {
    background-color: #343a40;
    border-color: #343a40;
}

/* Dark mode pagination */
[data-bs-theme="dark"] .pagination .page-link {
    color: #adb5bd;
    border-radius: 5px;
    margin: 0 2px;
    background-color: #343a40;
    border-color: #495057;
}

[data-bs-theme="dark"] .pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.alert {
    border-radius: 8px;
    border: none;
}

/* Login/Register page styling */
.container .card {
    margin-top: 50px;
}

/* Admin dashboard cards */
.card.bg-primary,
.card.bg-success,
.card.bg-warning {
    transition: transform 0.2s;
}

.card.bg-primary:hover,
.card.bg-success:hover,
.card.bg-warning:hover {
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}
