@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f1f5f9; /* bg-slate-100 */
}

/* Tarjetas */
.form-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

/* Inputs */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.label {
    font-size: 0.625rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.25rem;
}

.input {
    width: 100%;
    background-color: white;
    border: 1px solid #cbd5e1;
    color: #334155;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.input:focus {
    box-shadow: 0 0 0 2px #3b82f6;
    border-color: #3b82f6;
}

.input:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #94a3b8;
}

.input:disabled {
    background-color: #f8fafc;
    color: #94a3b8;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #334155;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    cursor: pointer;
}

.checkbox-group:hover {
    background-color: #f8fafc;
    border-color: #93c5fd;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Botones */
.btn-primary {
    background-color: #0f172a;
    color: white;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: black;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Stats y Tablas */
.stat-card {
    background-color: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: scale(1.02);
}

.th-sortable {
    cursor: pointer;
    user-select: none;
    padding: 1rem;
    transition: background-color 0.2s;
}

.th-sortable:hover {
    background-color: #f1f5f9;
}

/* Badges */
.badge {
    padding: 0.125rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-abierto { background-color: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-proceso { background-color: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-cerrado { background-color: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }

/* Utilidades Extra */
.hidden { display: none; }