body {
    background-color: #f4f6f9;
}

.app-navbar {
    background-color: #1a2a44;
}

.app-navbar .nav-link.active {
    font-weight: 600;
    color: #fff !important;
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stat-card {
    border-radius: 0.75rem;
    color: #fff;
    padding: 1.25rem 1.5rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-card.bg-blue { background: linear-gradient(135deg, #1a2a44 0%, #2e4a7a 100%); }
.stat-card.bg-teal { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.stat-card.bg-pink { background: linear-gradient(135deg, #9d174d 0%, #db2777 100%); }
.stat-card.bg-amber { background: linear-gradient(135deg, #92400e 0%, #d97706 100%); }

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2a44 0%, #2e4a7a 100%);
}

.login-card {
    width: 100%;
    max-width: 380px;
    border-radius: 1rem;
}

table.dt-simple th {
    white-space: nowrap;
}

.foto-preview {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
}

body {
    animation: fadeIn 0.25s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    transition: box-shadow 0.2s ease;
}

.form-control,
.form-select {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #2e4a7a;
    box-shadow: 0 0 0 0.2rem rgba(26, 42, 68, 0.15);
}

.btn {
    transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.btn:active {
    transform: scale(0.97);
}

.page-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #e9edf5;
    color: #1a2a44;
    font-size: 1.3rem;
}

.search-card .input-group-text {
    background: #fff;
    border-right: none;
    color: #adb5bd;
}

.search-card .form-control {
    border-left: none;
}

.form-section {
    background: #f8f9fb;
    border: 1px solid #edf0f3;
    border-radius: 0.6rem;
    padding: 1.25rem 1.25rem 0.75rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.form-section:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
}

.form-section-title .badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e9edf5;
    color: #1a2a44;
    font-size: 1rem;
}

.form-action-bar {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid #edf0f3;
    display: flex;
    gap: 0.5rem;
}

.avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a44, #2e4a7a);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.table-modern thead th {
    border-bottom-width: 1px;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: #6c757d;
    background: #f8f9fb;
    white-space: nowrap;
}

.table-modern tbody tr {
    transition: background-color 0.15s ease;
}

.table-modern tbody tr:hover {
    background-color: #f5f7fb;
}

.table-modern a.fw-semibold {
    color: #212529;
    transition: color 0.15s ease;
}

.table-modern a.fw-semibold:hover {
    color: #2e4a7a;
    text-decoration: underline;
}
