
/* ===================================================
   BizMe 2026 — Option A+  Modernisation bleue avancée
   =================================================== */

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    background-color: #f1f5f9 !important;
    color: #1e293b;
}

/* ===== SIDEBAR GAUCHE ===== */
.left-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0;
    box-shadow: 2px 0 12px rgba(37,99,235,0.05);
    min-height: 100vh;
    padding-bottom: 40px !important;
}

/* Bouton + Opportunité */
.btn-ajout-mission,
.btn-outline-bizme {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35) !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    transition: all 0.2s ease !important;
}
.btn-ajout-mission:hover,
.btn-outline-bizme:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a) !important;
    box-shadow: 0 6px 20px rgba(37,99,235,0.45) !important;
    transform: translateY(-1px) !important;
    color: white !important;
}

/* Nav items sidebar */
.left-sidebar .list-group-item {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}
.left-sidebar .list-group-item a {
    display: flex;
    align-items: center;
    padding: 9px 12px !important;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569 !important;
    text-decoration: none;
    transition: all 0.15s ease;
    margin: 1px 0;
}
.left-sidebar .list-group-item a:hover {
    background: #eff6ff !important;
    color: #1e40af !important;
    padding-left: 16px !important;
}
.left-sidebar .list-group-item a.text-danger {
    color: #dc2626 !important;
}
.left-sidebar .list-group-item a.text-danger:hover {
    background: #fff1f2 !important;
    color: #b91c1c !important;
}
.left-sidebar .list-group-item a i {
    width: 18px;
    text-align: center;
}

/* Bouton Devenir Premium */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(245,158,11,0.4) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    width: calc(100% - 12px) !important;
    margin-left: 6px !important;
}
.btn-warning:hover {
    box-shadow: 0 6px 22px rgba(245,158,11,0.55) !important;
    transform: translateY(-1px) !important;
    color: white !important;
}

/* ===== NAVIGATION TABS HAUT ===== */
.nav-tabs, [class*="border-bottom"] {
    border-bottom: 1px solid #e2e8f0 !important;
}
.bg-white.mb-2.rounded.shadow-sm {
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(37,99,235,0.07) !important;
    border: none !important;
    background: white !important;
    overflow: hidden;
}

/* ===== CONTENU PRINCIPAL ===== */
.col-md-7.bg-container {
    background: transparent !important;
}

/* ===== CARDS GÉNÉRALES ===== */
.card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(15,23,42,0.06) !important;
    background: #ffffff !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}
.card:hover {
    box-shadow: 0 6px 24px rgba(37,99,235,0.12) !important;
    transform: translateY(-1px);
}
.card-header {
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    font-size: 0.9rem !important;
    padding: 12px 16px !important;
}
.card-header.bg-biz-logo,
.bg-biz-logo {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    color: white !important;
}
.card-body {
    padding: 16px !important;
}

/* ===== BADGES / TAGS COMPÉTENCES ===== */
.bg-container span,
span.rounded.border.bg-container,
.bg-container.d-inline-block {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 3px 10px !important;
    display: inline-block !important;
}

/* ===== BOUTONS GÉNÉRAUX ===== */
.btn {
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}
.btn-sm { border-radius: 6px !important; }
.btn-bizme {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 3px 12px rgba(37,99,235,0.3) !important;
}
.btn-bizme:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a) !important;
    color: white !important;
    box-shadow: 0 5px 18px rgba(37,99,235,0.42) !important;
    transform: translateY(-1px) !important;
}

/* ===== FORMULAIRES ===== */
.form-control, .form-select {
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
}
.form-control:focus, .form-select:focus {
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12) !important;
    outline: none !important;
}

/* ===== COULEURS TEXTE ===== */
.text-biz-logo { color: #1e40af !important; }
.text-me-logo { color: #2563eb !important; }
.text-fr-logo { color: #3b82f6 !important; }

/* ===== SIDEBAR DROITE (widgets) ===== */
.col-md-3 .card-header,
[class*="col-md-3"] .bg-biz-logo {
    border-radius: 10px 10px 0 0 !important;
}

/* ===== ALERTES & BADGES ===== */
.alert-info {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1e40af !important;
    border-radius: 10px !important;
}
.badge.bg-primary, .badge.bg-biz {
    background: #2563eb !important;
    border-radius: 6px !important;
}

/* ===== LIENS ===== */
a.text-biz-logo { color: #1e40af !important; }
a.text-biz-logo:hover { color: #2563eb !important; text-decoration: underline; }
a.text-fr-logo { color: #3b82f6 !important; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #93c5fd; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }

/* ===== SÉPARATEURS ===== */
hr { border-color: #e2e8f0 !important; opacity: 1 !important; }

/* ===== LIST GROUP (sidebar droite annonces) ===== */
.list-group-item {
    border-color: #f1f5f9 !important;
    font-size: 0.85rem;
    transition: background 0.15s;
}
.list-group-item:hover {
    background: #f8faff !important;
}

/* ===== AVATAR / PROFIL ===== */
.rounded-circle.border {
    border: 3px solid #bfdbfe !important;
    box-shadow: 0 2px 12px rgba(37,99,235,0.15) !important;
}

/* ===== TITRE PROFIL ===== */
.card-title.text-biz-logo {
    font-weight: 700 !important;
    letter-spacing: -0.3px;
}

/* ===== OMBRES PAGE ===== */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(15,23,42,0.06) !important;
}
.shadow {
    box-shadow: 0 4px 20px rgba(15,23,42,0.1) !important;
}
