@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
@import url("main-section.css");

:root {
    --verde: #5D9C59;
    --vermelho: #DF2E38;
    --branco: #DDF7E3;
    --font-principal: 'Poppins', sans-serif;
}

html {
    font-family: var(--font-principal);
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

/* Efecto hover para filas de tabla */
#miTabla tbody tr:hover,
#tablaPlanta tr:hover,
#tablaHistorial tr:hover {
    background-color: #FFD700 !important; /* Dorado */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--branco);
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: var(--verde);
}

/* Botones */
.btn-danger {
    transition: background 0.3s ease-in-out;
}

.btn-danger:hover {
    background-color: var(--vermelho);
    border-color: var(--vermelho);
}

button {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e63939;
}

#agregar-horario {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
}

#agregar-horario:hover {
    background-color: #45a049;
}

/* Horario item */
.horario-item select,
.horario-item input {
    font-size: 14px;
}

.horario-item button {
    font-size: 18px;
    line-height: 1;
}

/* Validación */
.is-invalid {
    border-color: red !important;
    box-shadow: 0 0 3px red;
}

input.observaciones {
    min-width: 200px;
}

#horarios-container {
    margin-top: 20px;
}

/* Panel de fondo */
.panel-blur {
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Título central */
.titulo-central {
    text-align: center;
    color: #343a40;
    margin-bottom: 2rem;
}

.titulo-central h2 {
    font-weight: 700;
}

/* Títulos de las tablas */
h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 1rem;
}

/* Botones de exportación y controles */
.rounded-pill {
    border-radius: 50px !important;
}

.btn-primary.dropdown-toggle {
    background-color: #007bff;
    border-color: #007bff;
    transition: transform 0.2s ease-in-out;
}

.btn-primary.dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

/* Items del dropdown */
.dropdown-item {
    transition: background-color 0.2s ease-in-out;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

/* Tablas */
.table {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.table thead th {
    background-color: #e9ecef;
    color: #495057;
    font-weight: 600;
}
/* Hover y transición para filas y botones */
table tbody tr:hover { background-color: #f0f8ff; transition: 0.3s; }
.btn-accion { transition: 0.3s; }
.btn-accion:hover { transform: scale(1.1); }
.text-muted.bg-light { opacity: 0.6; }
