/* === ESTILO GENERAL === */
body {
    background-color: #2c2c2c;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* === TARJETAS Y SECCIONES === */
.card, .accordion-item, .modal-content {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* === ENCABEZADOS === */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

/* === FORMULARIOS === */
input[type="text"], input[type="email"], input[type="password"],
textarea, select {
    border: 1px solid #666;
    border-radius: 6px;
    padding: 8px 10px;
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #999;
    background-color: #555;
}

/* === BOTONES === */
.btn {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    transform: scale(1.03);
}

/* Bot¨Žn negro con texto blanco */
.btn-black, .btn-dark, .btn-warning, .btn-primary, .btn-secondary, .btn-success, .btn-danger {
    background-color: #2c2c2c !important;
    color: #fff !important;
    border: none !important;
}

.btn-black:hover, .btn-dark:hover, .btn-warning:hover, .btn-primary:hover, .btn-secondary:hover, .btn-success:hover, .btn-danger:hover {
    background-color: #2c2c2c !important;
    color: #fff !important;
    border: none !important;
}

/* Bot¨Žn de "cerrar sesi¨Žn" o acciones peligrosas */
.btn-danger {
    background-color: #c0392b;
}

.btn-danger:hover {
    background-color: #e74c3c;
}

/* === ALERTAS === */
.alert {
    border-radius: 8px;
    font-weight: bold;
}

.alert-success {
    background-color: #27ae60;
    color: white;
}

.alert-danger {
    background-color: #c0392b;
    color: white;
}

.alert-warning {
    background-color: #f39c12;
    color: black;
}

/* === NAVBAR === */
.navbar {
    background-color: #2c2c2c !important;
    color: #fff;
    border: none;
}

.navbar-brand, .nav-link {
    color: #ffffff !important;
}

.nav-link:hover {
    color: #f0f0f0 !important;
    text-decoration: underline;
}

/* === CHECKBOXES === */
.form-check-input {
    background-color: #444;
    border-color: #777;
}

.form-check-input:checked {
    background-color: #000;
    border-color: #fff;
}

/* === ACCORDION === */
.accordion-button {
    background-color: #3a3a3a;
    color: #fff;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: #444;
    color: #fff;
}

/* === LINKS === */
a {
    color: #1abc9c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #16a085;
}

.img-principal {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
}
.img-additional {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 5px;
    cursor: pointer;
}
.details-btn {
    margin: 2px;
    font-size: 0.8rem;
}
.modal-img {
    max-width: 100%;
    height: auto;
}
.social-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}
.compact-table td, .compact-table th {
    padding: 0.5rem;
}
.horario-badge {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}
.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.carousel-item img {
    max-height: 50vh;
    object-fit: contain;
    margin: 0 auto;
}
.carousel-control-prev, .carousel-control-next {
    background-color: rgba(0,0,0,0.2);
    width: 5%;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: rgba(0,0,0,0.4);
}
