.btn-crear-registro {
    background-color: #2A3C52;
    color: #F2F2F2;
    border: 1px solid #2A3C52;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 1rem;
}

h3, h5, .card-header {
    margin: 5px !important;
    padding: 0px !important;
}

.image-container {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fecha-evento {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    text-align: start;
}

.special-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.special-card-header2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 10px;
}

/* Estilos para campos con error */
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.text-danger {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.form-label.error-label {
    color: #dc3545;
}

.form-group.has-error {
    margin-bottom: 1rem;
}

.form-group.has-error .form-control {
    border-color: #dc3545;
}

.form-group.has-error .form-label {
    color: #dc3545;
}

.event-img-fixed {
    height: 100%;
    object-fit: cover;
}

.event-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.event-img-centered {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
    .event-img-fixed {
        height: 100% !important;
    }

    .event-image-container {
        height: 100%;
    }

    .event-image-wrapper {
        width: 100%;
        height: auto;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
    }

    .event-image-wrapper img,
    .event-img-centered {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center center;
    }
} 