/* ========================================
   ESTILOS PARA TIPO DE ENTRADA
   ======================================== */

/* Tabla de tipos de entrada */
.tabla-entrada {
    width: 100%;
    border-collapse: collapse;
    background: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.tabla-entrada thead {
    background: var(--azul);
    color: var(--blanco);
}

.tabla-entrada th,
.tabla-entrada td {
    text-align: center;
    padding: 12px 4px;
    vertical-align: middle;
}

.tabla-entrada tbody tr:nth-child(even) {
    background: var(--gris-claro);
}

.tabla-entrada tbody tr:hover {
    background: #fff3f8;
}

/* Formulario de tipo de entrada - mismo estilo que películas */
#form-tipo {
    width: 100%;
}

#form-tipo > div {
    margin-bottom: 15px;
}

#form-tipo label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

#form-tipo input,
#form-tipo select,
#form-tipo textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

#form-tipo input:focus,
#form-tipo select:focus,
#form-tipo textarea:focus {
    outline: none;
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(10, 75, 138, 0.1);
}

#form-tipo > div:last-of-type {
    text-align: right;
    margin-top: 12px;
    margin-bottom: 0;
}

#form-tipo #cancel-btn,
#form-tipo button[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

#form-tipo #cancel-btn {
    background: #ccc;
    color: #333;
    margin-right: 12px;
}

#form-tipo #cancel-btn:hover {
    background: #aaa;
}

#form-tipo button[type="submit"] {
    background: var(--azul);
    color: var(--blanco);
}

#form-tipo button[type="submit"]:hover {
    background: var(--azul-oscuro);
}

/* Mensaje de error */
#form-error {
    display: none;
    color: #b00020;
    margin-bottom: 10px;
    font-size: 13px;
}