/* ===== GitLab — Thème Hiver ===== */
:root {
  --winter-deep: #0f4c81;
  --winter-blue: #3b82c4;
  --winter-ice:  #8ecae6;
  --winter-snow: #f2f7fb;
  --winter-slate:#33475b;
}

/* --- Barre supérieure : bleu givré dégradé --- */
nav.navbar-gitlab,
.navbar-gitlab,
.navbar-gitlab .header-content {
  background: linear-gradient(90deg, #0f4c81 0%, #3b82c4 55%, #67a9dd 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.navbar-gitlab .gl-button,
.navbar-gitlab a,
.navbar-gitlab .navbar-brand,
.navbar-gitlab .navbar-inner .title,
.navbar-gitlab .navbar-text {
  color: #fff !important;
}
.navbar-gitlab .gl-button:hover { background: rgba(255,255,255,.18) !important; }
.navbar-gitlab .search-input-container .search-input {
  background: rgba(255,255,255,.16) !important;
  color: #fff !important;
}
.navbar-gitlab .search-input-container .search-input::placeholder { color: rgba(255,255,255,.75) !important; }

/* --- Fond général : neige douce --- */
body.ui-light .page-with-contextual-sidebar,
body.ui-light .content-wrapper,
body.ui-light .right-sidebar {
  background: #f2f7fb !important;
}
body { color: var(--winter-slate) !important; }

/* --- Liens --- */
a { color: #1565a8 !important; }
a:hover { color: #0f4c81 !important; }

/* --- Boutons principaux : accent givré --- */
.btn.btn-primary,
.btn-success,
.btn-info,
.gl-button.btn-confirm {
  background: #3b82c4 !important;
  border-color: #3578b4 !important;
  color: #fff !important;
}
.btn.btn-primary:hover,
.btn-success:hover,
.btn-info:hover,
.gl-button.btn-confirm:hover {
  background: #2f6da6 !important;
}

/* --- Carte / panneaux : verre dépoli --- */
.card,
.panel,
.gl-card {
  border-radius: 12px !important;
  border: 1px solid #d7e6f2 !important;
  box-shadow: 0 2px 8px rgba(15,76,129,.08) !important;
  background: #ffffff !important;
}

/* --- Sidebar navigation --- */
.nav-sidebar .nav-item a,
.sidebar-context,
.nav-sidebar .nav-link {
  color: #33475b !important;
}
.nav-sidebar .nav-link:hover,
.nav-sidebar .nav-item.active .nav-link {
  background: rgba(74,144,217,.14) !important;
  color: #0f4c81 !important;
  border-left: 3px solid #3b82c4 !important;
}

/* --- Titres --- */
h1, h2, h3, h4 { color: #0f4c81 !important; }

/* --- Page de connexion : ciel d'hiver --- */
.login-page,
.new-session {
  background: linear-gradient(180deg, #eaf4fb 0%, #ffffff 70%) !important;
}
.login-page .login-box {
  border-radius: 14px !important;
  box-shadow: 0 8px 30px rgba(15,76,129,.15) !important;
  border: 1px solid #d7e6f2 !important;
}

/* --- Onglets / tableaux --- */
.nav-tabs .nav-link.active { border-bottom: 3px solid #3b82c4 !important; }
.table thead th { color: #0f4c81 !important; }

/* --- Footer GitLab --- */
.footer-container, .navbar-footer { color: #5a84ac !important; }

/* --- Inputs givrés --- */
.form-control, .gl-input {
  border: 1px solid #c7dcee !important;
  border-radius: 8px !important;
}
