nav.navbar {
    background-color: transparent !important;
    backdrop-filter: none;
    box-shadow: none;
}

.navbar-brand h1,
.navbar-brand i {
    text-shadow: none;
}

body[data-bs-theme="dark"] .navbar-brand h1,
body[data-bs-theme="dark"] .navbar-brand i {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

body[data-bs-theme="light"] .navbar-brand h1,
body[data-bs-theme="light"] .navbar-brand i {
    color: #000000;
}

body.page-video {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.video-inicial-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: filter 0.3s ease;
}

body[data-bs-theme="light"] .video-bg { filter: brightness(1.35); }
body[data-bs-theme="dark"] .video-bg { filter: brightness(0.65); }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: background-color 0.3s ease;
}

body[data-bs-theme="light"] .overlay { background-color: rgba(0,0,0,0.15); }
body[data-bs-theme="dark"]  .overlay { background-color: rgba(0,0,0,0.45); }

.video-inicial-content {
    position: relative;
    z-index: 3;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.video-inicial-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.video-inicial-quote {
    font-style: italic;
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 30px;
}

.card {
    transition: transform .2s ease;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    height: 200px;
    object-fit: cover;
}

body[data-bs-theme="dark"] .card {
    background: #111727;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

body[data-bs-theme="light"] .card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.carousel-inner {
    padding: 0 60px; 
}

.card {
    border: 1px solid #ddd;  
    border-radius: 10px;     
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    background: transparent !important;
    background-image: none !important;
    border: 0;
    box-shadow: none;
    outline: none;
}

.carousel-control-prev:hover,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-next:focus {
    background: transparent !important;
    background-image: none !important;
    outline: none;
    box-shadow: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 8px;
}

#tblLibros,
#tablaPedidos {
    table-layout: fixed;
}


#tblLibros th,
#tblLibros td,
#tablaPedidos th,
#tablaPedidos td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-container {
    max-width: 70%;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-slide-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-btn:hover { opacity: 1; }

.prev { left: 0; border-radius: 0 5px 5px 0; }
.next { right: 0; border-radius: 5px 0 0 5px; }

.carousel-indicators { display: none; }

.footer-icon {
    height: 30px;
    opacity: 0.9;
    transition: opacity 0.3s, filter 0.3s;
}

body[data-bs-theme="light"] footer,
body[data-bs-theme="light"] footer .text-reset {
    color: #000000;
}

body[data-bs-theme="dark"] .table thead th {
    color: #9bb5ff;
    border-bottom-color: rgba(255,255,255,0.12);
}

body[data-bs-theme="light"] .table thead th {
    color: #3f6de0;
    border-bottom-color: rgba(0,0,0,0.12);
}

body[data-bs-theme="dark"] .table tbody tr {
    border-color: rgba(255,255,255,0.08);
}

body[data-bs-theme="light"] .table tbody tr {
    border-color: rgba(0,0,0,0.05);
}

.code-sql {
    border-radius: 6px;
    padding: 0.75rem;
    font-family: "Fira Code", monospace;
}

body[data-bs-theme="dark"] .code-sql {
    background: #0b0f1a;
    color: #d6ffe9;
    border: 1px solid rgba(255,255,255,0.08);
}

body[data-bs-theme="light"] .code-sql {
    background: #f3f5fa;
    color: #1a1d27;
    border: 1px solid rgba(0,0,0,0.1);
}

body[data-bs-theme="light"] .btn-outline-light {
    color: #495057;
    border-color: #ced4da;
    background-color: transparent;
}

body[data-bs-theme="light"] .btn-outline-light:hover {
    background-color: #e9ecef;
    color: #212529;
    border-color: #adb5bd;
}

body[data-bs-theme="dark"] .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}

body {
    padding-top: 90px;
}

.table-responsive {
    max-height: 420px;
}

.section-title {
    letter-spacing: 0.02em;
    font-weight: 600;
}
#contenedorTabla {
    display: flex;
    flex-direction: column;
}

#contenedorTabla .table-responsive {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
}

/* Modal Dark Mode Styles */
body[data-bs-theme="dark"] .modal-content {
    background: #111727;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    color: #fff;
}
