/* Paletă de culori corporatistă */
:root {
  --primary: #1d3557;       /* albastru închis */
  --primary-dark: #0b2244;  /* și mai închis pentru hover */
  --accent: #00b894;        /* verde-turcoaz pentru accente */
  --bg-soft: #f3f6fb;       /* fundal soft */
  --text-main: #1f2933;
}

/* FUNDAL GENERAL + font */
body {
  background: radial-gradient(circle at top, #ffffff 0, #f3f6fb 45%, #e3ecfb 100%);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-main);
  padding-top: 90px; /* spațiu pentru header-ul fix */
  margin: 0;
}

/* HEADER FIX SUS */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: linear-gradient(120deg, #0b2244, #1d3557);
  color: #ffffff;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.app-header-left {
  display: flex;
  flex-direction: column;
}

.app-header-title {
  font-family: "Pacifico", "Brush Script MT", cursive;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.app-header-subtitle {
  font-size: 12px;
  opacity: 0.92;
  margin-top: 1px;
}

.app-header-subtitle span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* partea din dreapta a header-ului (butoane) */
.app-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CARDURI / CONȚINUT */
.card-soft {
  background: #ffffff;
  border-radius: 14px;
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.1),
    0 1px 2px rgba(15, 23, 42, 0.06);
  padding: 18px 18px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.summary-title {
  font-weight: 700;
  color: var(--primary);
}

/* text sumar total */
.summary-totals {
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
}

/* Weekend vizibil */
.day-weekend {
  color: #e53935;
  font-weight: 700;
}

/* LISTĂ ANGAJAȚI */
.list-group-item {
  border: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-item:hover {
  background-color: #f2f5ff;
}

/* TABELURI */
.table thead th {
  border-bottom: 2px solid rgba(148, 163, 184, 0.7);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #f7f8fc;
}

.table-primary {
  --bs-table-bg: #e3edff;
  --bs-table-border-color: #c3d4f6;
  --bs-table-color: #0b2244;
}

/* BUTOANE — mai închise, text alb */

.btn {
  font-weight: 600;
  border-radius: 999px; /* pill buttons */
  padding-inline: 14px;
  padding-block: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* buton principal, success, „outline-primary” toate devin dark cu text alb */
.btn-primary,
.btn-success,
.btn-outline-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-success:hover,
.btn-outline-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff !important;
}

/* buton din header „Acasă” */
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff !important;
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* buton verde - accent (dacă vrei să lași „Export” mai special)
   (opțional, dar acum e tot albastru, dacă vrei altă culoare, decomentează)
*/
/*
.btn-success {
  background-color: var(--accent);
  border-color: var(--accent);
}
.btn-success:hover {
  background-color: #009f7a;
  border-color: #009f7a;
}
*/

/* label-uri formular */
.form-label {
  font-weight: 600;
  color: #334155;
  font-size: 0.85rem;
}

/* input-uri */
.form-control,
.form-select {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.25);
}

/* TEXT MIC */
.text-muted {
  color: #6b7280 !important;
}

/* spațiere de sus pentru container (după header) */
.container,
.container-fluid {
  padding-top: 4px;
}

/* RESPONSIVE HEADER */
@media (max-width: 576px) {
  .app-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  body {
    padding-top: 106px;
  }
  .app-header-right {
    width: 100%;
    justify-content: flex-start;
  }
}
/* ===== Situație CO - tabel mai compact ===== */
.co-table {
  font-size: 0.72rem;        /* text mai mic */
}

.co-table th,
.co-table td {
  padding: 2px 4px;          /* mai puțin spațiu în celule */
}

/* coloanele lunilor să fie mai înguste */
.co-table th.month-col,
.co-table td.month-col {
  min-width: 70px;
  max-width: 90px;
}

