/* ============================================================
   AssetNew — Styles personnalisés
   Bootstrap 5 est chargé via CDN. Ce fichier contient
   uniquement les surcharges et ajouts spécifiques au projet.
   ============================================================ */

/* Corps */
body {
    font-size: 0.9rem;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.navbar .nav-link.active {
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
}

/* Cards */
.card {
    border-radius: 0.5rem;
}

/* Tables */
.table th {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.table td {
    vertical-align: middle;
}

/* Badges */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* Formulaires */
.form-label {
    font-size: 0.875rem;
}

.form-control,
.form-select {
    font-size: 0.9rem;
}

/* Boutons */
.btn-sm {
    font-size: 0.8rem;
}

/* Pagination */
.pagination {
    font-size: 0.85rem;
}

/* Transitions Alpine.js */
[x-cloak] {
    display: none !important;
}

/* État de chargement sur les formulaires */
button[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

/* ── Status picker (asset form) ─────────────────────────────── */
.status-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 82px;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    background: #fff;
    color: #6c757d;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: center;
}

.status-card:hover {
    background: #f8f9fa;
    color: #343a40;
}

/* ── Section headers (form) ─────────────────────────────────── */
.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    margin-bottom: 1rem;
}
