﻿/* estilos-generales.css */

/* ---------------- BOTONES ---------------- */
.btn-primario {
    background-color: #007AFF !important; /* Azul iOS */
    color: white !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-secundario {
    background-color: #FFCC00 !important; /* Amarillo alerta iOS */
    color: black !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-neutro {
    background-color: #E5E5EA !important; /* Gris iOS */
    color: #3A3A3C !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

    /* Hover efecto "levitar" */
    .btn-primario:hover,
    .btn-secundario:hover,
    .btn-neutro:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    }

/* Iconos blancos en botón secundario */
.btn-secundario .mud-icon-root {
    color: white !important;
}

/* Botones alineados a la altura de inputs */
.btn-igual-altura {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* ---------------- CHIPS ---------------- */
.chip-estilo {
    background-color: #F2F2F7 !important;
    color: #3A3A3C !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
}

/* ---------------- ICONOS ---------------- */
.icono-btn {
    background-color: #E5E5EA !important;
    color: #3A3A3C !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    padding: 6px !important;
}

.icono-btn-editar {
    background-color: #007AFF !important;
    color: white !important;
}

.icono-btn-eliminar {
    background-color: #FF3B30 !important;
    color: white !important;
}

/* ---------------- CONTENEDORES ---------------- */
.container-estilo {
    background-color: #FFFFFF !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06) !important;
    padding: 1.25rem !important;
}

/* ---------------- TABLAS ---------------- */
.tabla-estilo {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

    .tabla-estilo th {
        background-color: #F9F9F9 !important;
        color: #3A3A3C !important;
        font-weight: 600 !important;
    }

    .tabla-estilo td {
        background-color: #FFFFFF !important;
        color: #3A3A3C !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .tabla-estilo tr:hover {
        background-color: #F2F2F7 !important;
    }

/* ---------------- INPUTS ---------------- */
/* Inputs estilo iOS */
.input-estilo {
    background-color: #F2F2F7 !important; /* Fondo gris claro estilo iOS */
    border-radius: 8px !important; /* Bordes redondeados */
    border: 1px solid rgba(0, 0, 0, 0.1) !important; /* Borde tenue */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08) !important; /* Sombra interna sutil */
    font-size: 14px !important; /* Tamaño de texto */
    color: #3A3A3C !important; /* Color del texto */
    /* 🔹 Ajustes clave de alineación */
    display: flex !important; /* Hace que el input sea un contenedor flexible */
    margin: 0 !important; /* Elimina márgenes extras que puedan bajar el input */
}



/* Buscador compacto */
.buscador-compacto {
    width: 240px !important;
    min-width: 200px !important;
    max-width: 280px !important;
}

/* Ajuste específico para MudDatePicker */
.custom-datepicker .mud-input-root {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    background-color: #fff !important;
    padding: 0 !important;
}

.custom-datepicker input {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    color: #3A3A3C !important;
    font-size: 14px !important;
    padding: 6px 8px !important;
}

/* ---------------- TEXTO ESTADOS ---------------- */
.texto-verde-fuerte {
    color: #2e7d32 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    opacity: 1 !important;
}
