:root {
    --color-primary: #084C61; /* Azul oscuro */
    --color-default: #FaFaFa; /* Blanco */
    --color-success: #177E89; /* Verde azulado */
    --color-warning: #FFC857; /* Amarillo crema */
    --color-danger: #DB3A34; /* Rojo oscuro */
}


body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--color-default);
    color: var(--color-primary);
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: var(--color-default) !important;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-primary) !important;
}


.footer {
    background-color: var(--color-primary);
    color: var(--color-default);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer a {
    color: var(--color-warning);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Estilos para el offcanvas */
.offcanvas {
    background-color: var(--color-primary) !important;
    color: var(--color-default) !important;
    transition: transform 0.3s ease-in-out;
}

.offcanvas a {
    color: var(--color-default) !important;
    text-decoration: none;
}

.offcanvas a:hover {
    text-decoration: underline;
}

.offcanvas a:focus, .offcanvas a:active {
    color: var(--color-default) !important;
}

/* Eliminar borde del botón de hamburguesa */
.btn-outline-light {
    color: var(--color-primary) !important;
    border: none !important; /* Eliminar el borde */
    background-color: transparent !important; /* Fondo transparente */
}

.btn-outline-light:hover {
    background-color: transparent !important; /* Fondo transparente al hacer hover */
    color: var(--color-primary) !important;
} 

/* Estilos para el carrusel horizontal */
.carousel-horizontal {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    margin-top: -40px !important;
    scroll-snap-type: x mandatory;
}

.carousel-horizontal .card-no-style {
    scroll-snap-align: start;
    flex: 0 0 auto;
    cursor: pointer; /* Cambia el cursor al pasar sobre las tarjetas */
}

.carousel-horizontal::-webkit-scrollbar {
    height: 8px;
}

.carousel-horizontal::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 4px;
}

.carousel-horizontal::-webkit-scrollbar-track {
    background-color: #f2f2f2;
    border-radius: 4px;
}

/* Estilos para las tarjetas de libros */
.card-no-style {
    background-color: transparent;
    border: none;
    text-align: left;
    padding: 0;
    margin: 1rem 0;
    box-shadow: none;
}

.card-no-style img {
    width: 200px; /* Ancho fijo para formato portrait */
    height: 300px; /* Alto fijo para formato portrait */
    object-fit: cover; /* Ajusta la imagen sin distorsionar */
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.card-no-style h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    text-align: left;
    margin: 0.5rem 0;
    color: var(--color-primary);
}

.card-no-style p {
    font-size: 0.875rem;
    text-align: left;
    color: #666;
    margin: 0.25rem 0;
}

.card-no-style .rating {
    font-size: 0.875rem;
    color: var(--color-warning);
}


.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

#login-link, #logout-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

#login-link:hover, #logout-link:hover {
    text-decoration: underline;
}







