/* =========================================================
   THEME BLEUTÉ PREMIUM — Les Chats de Loulou
   Design moderne, doux, lisible, agréable aux yeux
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Couleurs principales */
    --blue-50: #f0f4ff;
    --blue-100: #d9e4ff;
    --blue-200: #b9ceff;
    --blue-300: #88adff;
    --blue-400: #5c89f7;
    --blue-500: #3f6ae6;
    --blue-600: #2e55c8;
    --blue-700: #2347a5;

    /* Fond général */
    --bg: #eaf0fb;
    --bg-card: #ffffff;

    /* Bordures */
    --border: #c4cee4;
    --border-strong: #9ba8c7;

    /* Texte */
    --text: #0f1221;
    --text-muted: #61708f;

    /* Accent */
    --accent: var(--blue-500);
    --accent-dark: var(--blue-700);

    /* Layout */
    --radius: 12px;
    --radius-large: 18px;

    /* Ombres */
    --shadow-light: 0 3px 10px rgba(40, 60, 110, 0.07);
    --shadow-medium: 0 6px 14px rgba(40, 60, 110, 0.10);
    --shadow-strong: 0 10px 22px rgba(40, 60, 110, 0.18);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
}

/* TITRES */
h1 { font-size: 32px; font-weight: 700; margin-bottom: 18px; color: var(--blue-700); }
h2 { font-size: 24px; font-weight: 600; margin-top: 35px; color: var(--blue-600); }
h3 {
    font-size: 20px;
    margin-top: 28px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--blue-600);
}

/* CARDS */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    transition: 0.25s ease;
}
.card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

/* TABLES */
.table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
}
.table thead {
    background: var(--blue-50);
    border-bottom: 2px solid var(--border);
    font-size: 15px;
    font-weight: 600;
}
.table tbody tr:hover {
    background: var(--blue-100);
}

/* FORM INPUTS */
.form-control,
.form-select {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #ffffff;
    padding: 10px 14px;
    font-size: 15px;
    transition: 0.25s ease;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(80,110,255,0.25);
}

/* BOUTONS */
.btn {
    border-radius: var(--radius);
    padding: 9px 20px;
    font-weight: 600;
    font-size: 15px;
    border-width: 2px !important;
    transition: 0.25s ease;
}

/* Bleu */
.btn-primary {
    background: var(--accent) !important;
    border-color: var(--accent-dark) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(60,90,230,0.35);
}
.btn-primary:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(60,90,230,0.45);
}

/* Rouge */
.btn-danger {
    background: #ff4d4f !important;
    border-color: #d83739 !important;
}
.btn-danger:hover {
    background: #d83739 !important;
    transform: translateY(-2px);
}

/* LIST GROUP */
.list-group-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 6px;
}

/* FULLCALENDAR */
#calendar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    padding: 20px;
    box-shadow: var(--shadow-light);
}
.fc-daygrid-day {
    background: #f9fbff;
    border-color: #dbe3f5 !important;
}

/* CAT PILLS */
.cat-pill {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: inline-block;
    margin: 3px;
    background: #f4f7ff;
    cursor: pointer;
    color: var(--blue-600);
}
.cat-pill:hover { background: var(--blue-100); }
.cat-pill-selected {
    background: #d8e4ff;
    border-color: var(--blue-400);
}

/* ============================================
   MODALS — FIX TRANSPARENCE
=============================================== */

.modal-backdrop.show {
    opacity: 0.45 !important;
    background-color: rgba(0,0,0,0.55) !important;
}

.modal-content {
    background-color: #ffffff !important;
    border-radius: var(--radius-large);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
    border: none;
}

.badge.bg-exit {
    background-color: #ff8800 !important; /* Orange vif */
    color: white !important;
}

/* ==========================
   DASHBOARD — Cartes stats
   ========================== */

.dash-card {
    background: #e1e7f5 !important;  /* gris clair */
}

.mini-card {
    background: #e1e7f5 !important;  /* gris clair */
}

.accordion-header {
    margin-top: 0;
    margin-bottom: 0; /* ou un petit 0.25rem si tu veux un micro espace */
}
.accordion .accordion-header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}