/* ===============================
   GENERAL
================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
}

/* ===============================
   FORMULARIOS
================================= */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"],
form select,
form textarea {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px;
    width: 100%;
    background-color: #ffffff;
    margin-bottom: 12px;
    font-size: 14px;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #005cbf;
    box-shadow: 0 0 0 0.2rem rgba(0, 92, 191, 0.25);
    outline: none;
}

/* ===============================
   TABLAS
================================= */
.table-custom {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.table-custom th {
    background-color: #005cbf;
    color: #ffffff;
    font-weight: 600;
}

.table-custom td,
.table-custom th {
    padding: 12px;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

/* ===============================
   ALERTAS
================================= */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.alert-danger,
.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* ===============================
   MODALES
================================= */
.modal-content {
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-header {
    background-color: #005cbf;
    color: white;
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

/* ===============================
   CARDS PERSONALIZADOS
================================= */
.card-custom {
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card-custom .card-header {
    background-color: #005cbf;
    color: white;
    font-weight: 600;
    border-bottom: 1px solid #ced4da;
}

.card-custom .card-body {
    padding: 15px;
}

/* ===============================
   BOTONES
================================= */
.btn-primary {
    background-color: #005cbf;
    border-color: #005cbf;
}

.btn-primary:hover {
    background-color: #004099;
    border-color: #004099;
}
