/* --- FSB-IT Soft Tech Theme Variables --- */
:root {
    --fsb-blue: #64748b;           /* Bleu Électrique */
    --fsb-blue-soft: #eff6ff;      /* Bleu très clair pour hovers */
    --fsb-text-main: #1e293b;      /* Anthracite pour le texte principal */
    --fsb-text-muted: #64748b;     /* Gris pour infos secondaires */
    --fsb-border: #f1f5f9;         /* Bordures ultra-légères */
    --fsb-bg: #ffffff;             /* Fond blanc pur */
    --fsb-danger: #ef4444;         /* Rouge */
    --fsb-success: #10b981;        /* Vert */
    --fsb-info: #6366f1;           /* Indigo */
}

/* --- Base Layout --- */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background-color: #fcfcfd;
    color: var(--fsb-text-main);
    letter-spacing: 0.015em;
}

/* --- Modern Card Style --- */
.modern-card {
    background: var(--fsb-bg);
    border: 1px solid var(--fsb-border);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.modern-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--fsb-blue);
}

.card-title-area {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--fsb-border);
    background-color: #ffffff;
}

.card-title-area .item-icon-box {
    background: linear-gradient(135deg, var(--fsb-blue), #60a5fa);
    color: white;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 1.25rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

.title-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fsb-text-main);
}

/* --- Interactive Elements --- */
.list-item {
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--fsb-border);
}

.list-item:hover {
    background-color: var(--fsb-blue-soft);
}

.list-item .indicator-dot {
    width: 8px;
    height: 8px;
    background-color: var(--fsb-blue);
    border-radius: 50%;
    margin-right: 15px;
    opacity: 0.6;
}

.time-update {
    color: var(--fsb-text-muted);
    font-size: 0.85rem;
}

.time-update .time-ago {
    color: var(--fsb-blue);
    font-weight: 500;
}

/* --- Buttons --- */
.btn-fsb-main {
    background: var(--fsb-blue);
    color: white !important;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.btn-fsb-main:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.3);
}

.action-icon-btn {
    padding: 0.6rem;
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
}

.action-icon-btn:hover {
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transform: scale(1.1);
}

.action-icon-btn.view { color: var(--fsb-info); }
.action-icon-btn.edit { color: var(--fsb-success); }
.action-icon-btn.delete { color: var(--fsb-danger); }

.action-icon-btn.delete:hover {
    background: #fef2f2;
}

/* --- Status Badges --- */
.status-pill {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-available { background: #ecfdf5; color: #10b981; }
.status-loaned { background: #eff6ff; color: #3b82f6; }
.status-maintenance { background: #fffbeb; color: #f59e0b; }
.status-lost { background: #fef2f2; color: #ef4444; }
