/* Global styles for Manga Viewer */
body {
    margin: 0; /* Reset margin */
    font-family: Arial, sans-serif !important; /* Override Bootstrap's font family */
    font-size: 16px !important; /* Override font size */
    font-weight: 400 !important; /* Override font weight */
    line-height: 1.5 !important; /* Override line height */
    color: #fff !important; /* Your desired text color */
    text-align: left !important; /* Your desired text alignment */
    background-color: #373b3e !important; /* Your desired background color */
    -webkit-text-size-adjust: 100%; /* Retain Bootstrap's value */
    -webkit-tap-highlight-color: transparent; /* Retain Bootstrap's value */
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.nav-buttons a {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

.container img {
    margin-bottom: 0px;
    border-radius: 5px;
}

.img-fluid {
    display: block; /* Ensures the image is treated as a block element */
    margin: 0px auto; /* Center the image horizontally */
    max-width: 100%; /* Ensure the image scales within its container */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 5px; /* Optional: for rounded corners */
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgb(27 30 33) !important;
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 2.5rem;
        color: white;
    }
}

.btn-primary, .btn-prev, .btn-next, .btn-index {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c6c6d; /* Base button color */
    --bs-btn-border-color: #6c6c6d; /* Base border color */
    --bs-btn-hover-color: #fff; /* Hover text color */
    --bs-btn-hover-bg: #59595a; /* Hover background color */
    --bs-btn-hover-border-color: #49494a; /* Hover border color */
    --bs-btn-focus-shadow-rgb: 108, 108, 109; /* Focus shadow color */
    --bs-btn-active-color: #fff; /* Active text color */
    --bs-btn-active-bg: #49494a; /* Active background color */
    --bs-btn-active-border-color: #383839; /* Active border color */
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2); /* Active shadow */
    --bs-btn-disabled-color: #fff; /* Disabled text color */
    --bs-btn-disabled-bg: #6c6c6d; /* Disabled background color */
    --bs-btn-disabled-border-color: #6c6c6d; /* Disabled border color */
    color: var(--bs-btn-color);
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-btn-border-color);
}
.btn-primary:hover, .btn-prev:hover, .btn-next:hover, .btn-index:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}
.btn-primary:focus, .btn-prev:focus, .btn-next:focus, .btn-index:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), 0.5);
}
.btn-primary:active, btn-prev:active, .btn-next:active, .btn-index:active {
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color);
    box-shadow: var(--bs-btn-active-shadow);
}
.btn-primary:disabled, .btn-primary.disabled, .btn-prev:disabled, .btn-next:disabled, .btn-index:disabled {
    color: var(--bs-btn-disabled-color);
    background-color: var(--bs-btn-disabled-bg);
    border-color: var(--bs-btn-disabled-border-color);
}

.h-100 {
    height: 100% !important;
    background: lightgrey;
}
