/* Custom styles based on the React component's TailwindCSS classes */
.min-h-screen {
    min-height: 100vh;
}
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-blue-50 {
    --tw-gradient-from: #eff6ff;
    --tw-gradient-to: rgba(239, 246, 255, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-indigo-100 {
    --tw-gradient-to: #e0e7ff;
}
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.max-w-6xl {
    max-width: 72rem;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.text-center {
    text-align: center;
}
.mb-12 {
    margin-bottom: 3rem;
}
/* Agrandar el título principal "Actividades Recientes" */
.text-4xl {
    font-size: 2.75rem; /* Antes: 2.25rem (36px). Ahora: 44px */
    line-height: 1.2; /* Ajustar line-height para que no se superpongan */
}
.font-bold {
    font-weight: 700;
}
.text-gray-900 {
    color: #1a202c;
}
.mb-4 {
    margin-bottom: 1rem;
}
/* Agrandar la descripción debajo del título principal */
.text-xl {
    font-size: 1.5rem; /* Antes: 1.25rem (20px). Ahora: 24px */
    line-height: 1.6;
}
.text-gray-600 {
    color: #4a5568;
}
.mb-8 {
    margin-bottom: 2rem;
}
.bg-indigo-600 {
    background-color: #4f46e5;
}
.hover\:bg-indigo-700:hover {
    background-color: #4338ca;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
    color: white;
    font-size: 1.1rem; /* Aumentar el tamaño de los botones */
}
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem; /* Aumentar el tamaño de los botones grandes */
    border-radius: 0.5rem;
}
.w-5 {
    width: 1.25rem;
}
.h-5 {
    height: 1.25rem;
}
.mr-2 {
    margin-right: 0.5rem;
}
.card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}
/* Agrandar el título dentro de las tarjetas */
.card-title {
    font-size: 1.75rem; /* Antes: 1.5rem (24px). Ahora: 28px */
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.card-description {
    color: #64748b;
    font-size: 1.1rem; /* Puedes añadir un tamaño si no lo tiene y quieres controlarlo */
}
.card-content {
    padding: 1.5rem;
}
.space-y-6 > *:not([hidden]) ~ *:not([hidden]) {
    margin-top: 1.5rem;
}
.grid {
    display: grid;
}
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gap-4 {
    gap: 1rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 1.1rem; /* Agrandar las etiquetas de los formularios */
}
input, textarea, select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem; /* Aumentar padding para mayor espacio */
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1.1rem; /* Agrandar texto en inputs */
    line-height: 1.5rem;
    color: #1f2937;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}
textarea {
    resize: vertical;
}
.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mt-2 {
    margin-top: 0.5rem;
}
.flex {
    display: flex;
}
.gap-2 {
    gap: 0.5rem;
}
.bg-green-600 {
    background-color: #059669;
}
.hover\:bg-green-700:hover {
    background-color: #047857;
}
.btn-outline {
    background-color: #fff;
    color: #4b5563;
    border-color: #d1d5db;
}
.btn-outline:hover {
    background-color: #f9fafb;
    color: #1f2937;
    border-color: #9ca3af;
}
.space-y-8 > *:not([hidden]) ~ *:not([hidden]) {
    margin-top: 2rem;
}
.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.transition-shadow {
    transition-property: box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.relative {
    position: relative;
}
.h-64 {
    height: 16rem;
}
.lg\:h-auto {
    height: auto;
}
.object-cover {
    object-fit: cover;
}

/* --- Nuevos estilos para imágenes y videos de tarjetas --- */
.card .relative img, .card .relative video { /* Aplica también a video */
    width: 100%;
    height: 18.75rem; /* Equivalente a 300px, usando rem para consistencia */
    object-fit: cover;
}
/* --- Fin de nuevos estilos --- */

.absolute {
    position: absolute;
}
.left-2 {
    left: 0.5rem;
}
.right-2 {
    right: 0.5rem;
}
.top-1\/2 {
    top: 50%;
}
.transform {
    transform: var(--tw-transform);
}
.-translate-y-1\/2 {
    --tw-translate-y: -50%;
}
.bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
}
.hover\:bg-white:hover {
    background-color: #fff;
}
.btn-icon {
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px; /* full rounded */
}
.bottom-4 {
    bottom: 1rem;
}
.-translate-x-1\/2 {
    --tw-translate-x: -50%;
}
.space-x-2 > *:not([hidden]) ~ *:not([hidden]) {
    margin-left: 0.5rem;
}
.w-2 {
    width: 0.5rem;
}
.h-2 {
    height: 0.5rem;
}
.rounded-full {
    border-radius: 9999px;
}
.bg-white {
    background-color: #fff;
}
.bg-white\/50 {
    background-color: rgba(255, 255, 255, 0.5);
}
.p-6 {
    padding: 1.5rem;
}
.items-start {
    align-items: flex-start;
}
.justify-between {
    justify-content: space-between;
}
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 0.25rem;
    padding-left: 0.75rem; /* Ligeramente más padding */
    padding-right: 0.75rem;
    padding-top: 0.3rem; /* Ligeramente más padding */
    padding-bottom: 0.3rem;
    font-size: 0.875rem; /* Antes: 0.75rem (12px). Ahora: 14px */
    line-height: 1rem;
    font-weight: 500;
}
.bg-blue-100 {
    background-color: #dbeafe;
}
.text-blue-800 {
    color: #1e40af;
}
.bg-green-100 {
    background-color: #d1fae5;
}
.text-green-800 {
    color: #065f46;
}
.bg-purple-100 {
    background-color: #ede9fe;
}
.text-purple-800 {
    color: #5b21b6;
}
.bg-orange-100 {
    background-color: #fff7ed;
}
.text-orange-800 {
    color: #9a3412;
}
.bg-cyan-100 {
    background-color: #cffafe;
}
.text-cyan-800 {
    color: #0f766e;
}
.bg-gray-100 {
    background-color: #f3f4f6;
}
.text-gray-800 {
    color: #1f2937;
}
/* Agrandar el título de las actividades en las tarjetas */
.text-2xl {
    font-size: 1.75rem; /* Antes: 1.5rem (24px). Ahora: 28px */
    line-height: 2rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.leading-relaxed {
    line-height: 1.625;
}
/* Agrandar la información detallada (fecha, hora, ubicación, participantes) */
.text-gray-500 {
    color: #6b7280;
    font-size: 1.05rem; /* Agrandar la info de fecha, hora, etc. */
}
.mr-3 {
    margin-right: 0.75rem;
}
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
/* Agrandar los textos de descripción de la actividad dentro de las tarjetas */
.text-lg {
    font-size: 1.25rem; /* Antes: 1.125rem (18px). Ahora: 20px */
    line-height: 1.75rem;
}

/* Responsive adjustments for specific elements */
@media (max-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .h-64 {
        height: 12rem; /* Adjusted for smaller screens */
    }

    /* --- Ajuste responsivo para imágenes/videos de tarjetas --- */
    .card .relative img, .card .relative video {
        height: 11.25rem; /* Equivalente a 180px para pantallas más pequeñas */
    }
    /* --- Fin de ajuste responsivo --- */

    /* Ajustes adicionales para texto en pantallas pequeñas si es necesario */
    .text-4xl {
        font-size: 2.25rem; /* Mantener un poco más grande que lo original, pero no tan grande como en desktop */
    }
    .text-xl {
        font-size: 1.25rem; /* Mantener un poco más grande */
    }
    .text-2xl {
        font-size: 1.5rem; /* Mantener un poco más grande */
    }
    .text-lg {
        font-size: 1.125rem; /* Mantener un poco más grande */
    }
    .badge {
        font-size: 0.8rem;
    }
}