/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header and Navbar */
header {
    background-color: #1f1f1f;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 60px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #bb86fc;
    background-color: rgba(187, 134, 252, 0.1);
}

.user-actions a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.login-btn {
    margin-right: 0.5rem;
}

.signup-btn {
    background-color: #bb86fc;
    color: #121212;
    font-weight: 700;
}

.signup-btn:hover {
    background-color: #a76bfa;
}

/* User Profile Dropdown Styles */
.user-profile {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.profile-trigger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #bb86fc, #a76bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-name {
    color: #ffffff;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    color: #e0e0e0;
    transition: transform 0.2s ease;
}

.profile-trigger:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-info {
    padding: 1rem;
    border-bottom: 1px solid #404040;
}

.profile-email {
    color: #b0b0b0;
    font-size: 0.85rem;
    word-break: break-word;
}

.dropdown-divider {
    height: 1px;
    background-color: #404040;
    margin: 0.5rem 0;
}

.dropdown-item {
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: #e0e0e0;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

/* Admin Section Styling */
.admin-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #1f1f1f;
    border-radius: 8px;
    border: 1px solid #333;
}

.admin-section h2 {
    color: #bb86fc;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
}

.admin-section h3 {
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.admin-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.admin-section input,
.admin-section textarea,
.admin-section select {
    padding: 0.75rem;
    border: 1px solid #404040;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    font-size: 1rem;
}

.admin-section input:focus,
.admin-section textarea:focus,
.admin-section select:focus {
    outline: none;
    border-color: #bb86fc;
    box-shadow: 0 0 0 2px rgba(187, 134, 252, 0.2);
}

.admin-section button[type="submit"] {
    padding: 0.75rem 1.5rem;
    background-color: #bb86fc;
    color: #121212;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.admin-section button[type="submit"]:hover {
    background-color: #a76bfa;
}

.admin-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
}

.admin-section th,
.admin-section td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #404040;
}

.admin-section th {
    background-color: #333;
    color: #bb86fc;
    font-weight: 600;
}

.admin-section td {
    color: #e0e0e0;
}

.admin-section .actions {
    display: flex;
    gap: 0.5rem;
}

.admin-section .edit-btn,
.admin-section .delete-btn,
.admin-section .delete-admin-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.2s ease;
}

.admin-section .edit-btn {
    background-color: #4caf50;
    color: white;
}

.admin-section .edit-btn:hover {
    background-color: #45a049;
}

.admin-section .delete-btn,
.admin-section .delete-admin-btn {
    background-color: #f44336;
    color: white;
}

.admin-section .delete-btn:hover,
.admin-section .delete-admin-btn:hover {
    background-color: #da190b;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card h3 {
    color: #e0e0e0;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #bb86fc;
    margin: 0;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 3rem;
}

.quick-actions h2 {
    color: #bb86fc;
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background-color: #2a2a2a;
    border-color: #bb86fc;
    color: #bb86fc;
}

.action-btn svg {
    stroke-width: 1.5;
}

/* Recent Activity */
.recent-activity h2 {
    color: #bb86fc;
    margin-bottom: 1.5rem;
}

.activity-list {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.5rem;
}

.activity-content p {
    margin: 0 0 0.25rem 0;
    color: #e0e0e0;
}

.activity-content small {
    color: #888;
}

/* Search and Filter */
.search-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-filters input,
.search-filters select {
    flex: 1;
    min-width: 200px;
}

/* Manga cover thumbnails */
.manga-cover-thumb {
    width: 40px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
}

.no-cover {
    width: 40px;
    height: 56px;
    background-color: #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #888;
}

/* Active navigation link */
.nav-links a.active {
    color: #bb86fc;
    font-weight: 600;
    background-color: rgba(187, 134, 252, 0.15);
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.form-actions button[type="button"] {
    background-color: #666;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.form-actions button[type="button"]:hover {
    background-color: #555;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 4rem 0;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    justify-content: center;
}

.search-bar input {
    width: 50%;
    padding: 0.8rem;
    border: 1px solid #333;
    border-radius: 5px 0 0 5px;
    background-color: #1f1f1f;
    color: #e0e0e0;
    font-size: 1rem;
}

.search-bar button {
    padding: 0.8rem 1.5rem;
    border: none;
    background-color: #bb86fc;
    color: #121212;
    font-weight: 700;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #a76bfa;
}

/* Filters and Sorting */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filters select {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #1f1f1f;
    color: #e0e0e0;
    font-size: 1rem;
}

/* Manga Library */
.manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.manga-card {
    background-color: #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.manga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.manga-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.manga-info {
    padding: 1rem;
}

.manga-info h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.manga-info p {
    font-size: 0.9rem;
    margin: 0.2rem 0;
    color: #b0b0b0;
}

.manga-info .genre {
    font-style: italic;
    font-size: 0.8rem;
    color: #888;
}
#manga-library {
    padding: 2rem 0;
}

#manga-library h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Manga Detail Page */
#manga-detail {
    padding: 2rem 0;
}

.manga-detail-layout {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.manga-cover-large {
    max-width: 300px;
    border-radius: 10px;
}

.manga-details h1 {
    font-size: 2.8rem;
    margin-top: 0;
}

.manga-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 1.1rem;
    color: #b0b0b0;
}

.manga-details h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #bb86fc;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.actions {
    margin-top: 1.5rem;
}

.actions button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-now-btn {
    background-color: #bb86fc;
    color: #121212;
    margin-right: 1rem;
}

.read-now-btn:hover {
    background-color: #a76bfa;
}

.bookmark-btn {
    background-color: #333;
    color: #e0e0e0;
}

.bookmark-btn:hover {
    background-color: #444;
}

.chapter-list h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.chapter-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #1f1f1f;
    border-radius: 8px;
}

.chapter-list li a {
    display: block;
    padding: 1rem;
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
}

.chapter-list li:last-child a {
    border-bottom: none;
}

.chapter-list li a:hover {
    background-color: #333;
}

/* Reader Page */
.reader-body {
    background-color: #000;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.reader-body.light-mode {
    background-color: #fff;
    color: #121212;
}

.reader-header {
    background-color: rgba(18, 18, 18, 0.9);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.reader-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reader-info h1, .reader-info h2 {
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
}

.reader-info h2 {
    font-size: 1rem;
    color: #b0b0b0;
}

.reader-settings button, .exit-btn {
    background: none;
    border: 1px solid #555;
    color: #e0e0e0;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 0.5rem;
}

.exit-btn {
    text-decoration: none;
    background-color: #bb86fc;
    color: #121212;
    border: none;
}

#reader-main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 1rem;
}

.manga-pages img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
    transform-origin: top center;
}

.reader-nav {
    background-color: rgba(18, 18, 18, 0.9);
    padding: 0.5rem 0;
    position: sticky;
    bottom: 0;
    z-index: 1000;
    text-align: center;
}

.reader-nav button {
    padding: 0.5rem 2rem;
    font-size: 1rem;
}

.reader-nav span {
    margin: 0 2rem;
    font-size: 1.1rem;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url('assets/hero-bg.jpg');
    background-size: cover;
}

.auth-form {
    background-color: #1f1f1f;
    padding: 2.5rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.auth-form h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.auth-form p {
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #121212;
    color: #e0e0e0;
    font-size: 1rem;
}

.auth-btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: #bb86fc;
    color: #121212;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-btn:hover {
    background-color: #a76bfa;
}

.auth-switch {
    margin-top: 1.5rem;
}

.auth-switch a {
    color: #bb86fc;
    text-decoration: none;
    font-weight: 700;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Admin login specific styles */
.admin-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.admin-header svg {
    color: #dc3545;
    margin-bottom: 10px;
}

.admin-header h2 {
    color: #dc3545;
    margin: 0;
}

.admin-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.admin-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    width: 30px;
    height: 22px;
    position: relative;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    position: absolute;
}

.hamburger-menu .bar:nth-child(1) {
    top: 0;
}

.hamburger-menu .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu .bar:nth-child(3) {
    bottom: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998; /* Below nav-links but above content */
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: fixed; /* Changed to fixed for full-screen height */
        top: 0;
        left: 0;
        height: 100%;
        width: 280px; /* Set a fixed width for the panel */
        background-color: #1f1f1f;
        padding-top: 5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .user-actions {
        display: none; /* Hiding user actions on mobile for simplicity */
    }

    .hamburger-menu {
        display: block;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .search-bar input {
        width: 70%;
    }

    .manga-detail-layout {
        flex-direction: column;
        align-items: center;
    }

    .manga-cover-large {
        max-width: 80%;
    }

    .manga-details h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .manga-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .reader-body .navbar-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .reader-body .manga-title-header {
        order: -1; /* Move title to the top on mobile */
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .reader-settings {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .manga-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .auth-form {
        padding: 2rem 1.5rem;
    }
}

/* Admin Dashboard */
#admin-dashboard .admin-section {
    background-color: #1f1f1f;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

#admin-dashboard h2 {
    border-bottom: 2px solid #bb86fc;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

#add-manga-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

#add-manga-form input, 
#add-manga-form textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #e0e0e0;
}

#add-manga-form button {
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    background-color: #bb86fc;
    color: #121212;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#add-manga-form button:hover {
    background-color: #a76bfa;
}

/* Form row styling for side-by-side elements */
.form-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-row .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e0e0e0;
}

.form-row .form-group input,
.form-row .form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1rem;
}

.form-row .form-group input:focus,
.form-row .form-group select:focus {
    outline: none;
    border-color: #bb86fc;
    box-shadow: 0 0 0 2px rgba(187, 134, 252, 0.2);
}

/* Genre selection styling improvements */
.genre-selection {
    margin-bottom: 1rem;
}

.genre-selection label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e0e0e0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.checkbox-group label:hover {
    background-color: rgba(187, 134, 252, 0.1);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #bb86fc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: row;
        gap: 0.8rem;
        align-items: flex-end;
    }
    
    .form-row .form-group {
        flex: 1;
        margin-bottom: 0;
    }
    
    .form-row .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        display: block;
    }
    
    .form-row .form-group input,
    .form-row .form-group select {
        padding: 0.6rem;
        font-size: 0.85rem;
        width: 100%;
    }
    
    .checkbox-group {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        max-height: 150px;
    }
}

.manga-list table, .user-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.manga-list th, .user-list th {
    background-color: #333;
    padding: 1rem;
    text-align: left;
}

.manga-list td, .user-list td {
    padding: 1rem;
    border-bottom: 1px solid #444;
}

.manga-list .actions button, .user-list .actions button {
    margin-right: 0.5rem;
}

.edit-btn, .ban-btn {
    background-color: #03dac6;
    color: #121212;
}

.delete-btn {
    background-color: #cf6679;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #1f1f1f;
    border-top: 1px solid #333;
    margin-top: 2rem;
}
