@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --bio-dark: #0D4C3A;
    --bio-light: #4CD97D;
    --bio-snow: #fcfcf7;
    --bio-accent: #36542D;
    --bio-border: rgba(13, 76, 58, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bio-snow);
    color: var(--bio-dark);
}

/* Animaciones de Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utilidades para Bento Grid */
.bento-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid var(--bio-border);
}

.bento-card:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 40px rgba(13, 76, 58, 0.08);
}

/* Botones personalizados */
.btn-bio-primary {
    background-color: var(--bio-dark);
    color: white;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-bio-primary:hover {
    background-color: var(--bio-light);
    color: var(--bio-dark);
}

/* Estilos de Tabla Dashboard */
.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.custom-table tr {
    background: white;
    transition: all 0.2s;
}

.custom-table td {
    padding: 16px;
    border-top: 1px solid rgba(13, 76, 58, 0.03);
    border-bottom: 1px solid rgba(13, 76, 58, 0.03);
}

.custom-table td:first-child { border-left: 1px solid rgba(13, 76, 58, 0.03); border-radius: 16px 0 0 16px; }
.custom-table td:last-child { border-right: 1px solid rgba(13, 76, 58, 0.03); border-radius: 0 16px 16px 0; }


/* Inputs y formularios */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(13, 76, 58, 0.05);
    background-color: var(--bio-snow);
    transition: all 0.3s;
    font-size: 14px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--bio-light);
    box-shadow: 0 0 0 3px rgba(76, 217, 125, 0.1);
}

.form-input:disabled,
.form-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Badges mejorados */
.badge-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background-color: rgba(76, 217, 125, 0.1);
    color: var(--bio-dark);
}

.badge-success::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--bio-light);
}

.badge-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background-color: rgba(251, 191, 36, 0.1);
    color: #92400e;
}

.badge-warning::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #f59e0b;
}

.badge-danger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

.badge-danger::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ef4444;
}

/* Botón icono */
.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: var(--bio-snow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.3s;
}

.btn-icon:hover {
    background-color: rgba(76, 217, 125, 0.1);
    color: var(--bio-dark);
}

/* Botón secundario */
.btn-bio-secondary {
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(13, 76, 58, 0.1);
    color: var(--bio-dark);
}

.btn-bio-secondary:hover {
    background-color: rgba(13, 76, 58, 0.05);
}

/* Estados disabled */
.btn-bio-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-bio-primary:disabled:hover {
    background-color: var(--bio-dark);
    color: white;
}

/* Table headers */
.custom-table thead th {
    padding: 16px;
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #d1d5db;
}

/* Checkbox personalizado */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid rgba(13, 76, 58, 0.2);
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: var(--bio-light);
    border-color: var(--bio-light);
}

/* File input */
input[type="file"]::file-selector-button {
    margin-right: 16px;
    padding: 8px 16px;
    border-radius: 9999px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    background-color: rgba(76, 217, 125, 0.1);
    color: var(--bio-dark);
    cursor: pointer;
    transition: all 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background-color: rgba(76, 217, 125, 0.2);
}
