/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estructura general */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Body */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Contenedor del contenido */
.content {
    flex: 1; /* Este hará que el contenido tome el espacio disponible */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: auto;
    margin-bottom: 2%;
}

/* Card */
.card {
    margin-top: 20px;
}

/* Form */
.form-group {
    margin-bottom: 15px;
}

.btn-block {
    width: 100%;
}

/* Custom */
.truncate {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Botones */
button {
    background: linear-gradient(to right, #007bff, #ff007f);
    border: none;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.3s;
    color: white;
}

button:hover {
    background: linear-gradient(to right, #ff007f, #007bff);
    box-shadow: 0px 0px 10px rgba(255, 0, 127, 0.7);
}

/* Para truncar texto */
.truncate {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Paginación*/

.pagination {
    
    border-radius: 8px;
    padding: 10px;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    color: #ffffff; /* Texto blanco para contraste */
    background: linear-gradient(186deg, #302f31e6, #371351);
    border: 1px solid #ffffff;
    border-radius: 5px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.pagination .active .page-link {
    background: linear-gradient(to right, #622b78, #75568a, #622b78);
    font-weight: bold;
    border-color: #1f0d61 !important;
}

.pagination .page-link:hover {
    background: linear-gradient(to right, #75568a, #622b78);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
}


/*Calendarios*/

.calendar-card {
    width: 18rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calendar-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calendar-card h5 {
    min-height: 50px; /* Para mantener los títulos alineados */
}

.calendar-card .btn:hover {
    opacity: 0.8;
}