body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding: 0;
}
header {
  background: #00796b;
  color: white;
  padding: 1em 0;
  text-align: center;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2em;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
main {
  max-width: 800px;
  margin: 2em auto;
  background: white;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
section {
  margin-bottom: 2em;
}
form label {
  display: block;
  margin-top: 1em;
}
form input,
form button {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.5em;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
form button {
  background: #00796b;
  color: white;
  border: none;
  margin-top: 1.5em;
  cursor: pointer;
  font-size: 1em;
}
form button:hover {
  background: #004d40;
}
#calendar-container,
#istoric-cereri {
  margin-top: 1em;
}
.calendar {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}
.calendar th,
.calendar td {
  border: 1px solid #ddd;
  width: 14.2%;
  height: 40px;
  text-align: center;
  vertical-align: middle;
  font-size: 1em;
}
.calendar th {
  background: #e0f2f1;
}
.calendar td.concediu {
  background: #ffe082;
  cursor: pointer;
  font-weight: bold;
  color: #00796b;
}
#detalii-zi {
  margin-top: 1em;
  background: #f1f8e9;
  padding: 1em;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.navigare-luni {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin-bottom: 1em;
}
.navigare-luni button {
  background: #00796b;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5em 1em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
.navigare-luni button:hover {
  background: #004d40;
}
.navigare-luni span {
  font-weight: bold;
  font-size: 1.1em;
}
.status {
  font-weight: bold;
  margin-left: 0.5em;
}
.status::before {
  content: "Status: ";
  font-weight: normal;
  color: #555;
}
.aproba,
.respinge {
  margin-left: 0.5em;
  padding: 0.2em 0.8em;
  border: none;
  border-radius: 4px;
  font-size: 0.95em;
  cursor: pointer;
}
.aproba {
  background: #43a047;
  color: white;
}
.aproba:hover {
  background: #2e7031;
}
.respinge {
  background: #e53935;
  color: white;
}
.respinge:hover {
  background: #a02725;
}
.taburi {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 1em;
}
.tab-link {
  background: #e0f2f1;
  color: #00796b;
  border: none;
  border-radius: 4px 4px 0 0;
  padding: 0.7em 1.5em;
  font-size: 1em;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
  outline: none;
}
.tab-link.active {
  background: #00796b;
  color: white;
}
.tab-section {
  display: none;
}
.tab-section.active {
  display: block !important;
}
.calendar-nume {
  font-size: 0.85em;
  color: #333;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  word-break: break-word;
}
.calendar-nume span {
  background: #b2dfdb;
  color: #004d40;
  border-radius: 3px;
  padding: 0 4px;
  margin-bottom: 1px;
  display: inline-block;
}
.zi-nr {
  font-weight: bold;
  font-size: 1.1em;
}
.calendar-nume-aprobat {
  background: #c8e6c9;
  color: #256029;
  border: 1px solid #81c784;
}
.calendar-nume-trimis {
  background: #fff9c4;
  color: #bfa600;
  border: 1px solid #ffe082;
}
.calendar-nume-respins {
  background: #ffcdd2;
  color: #b71c1c;
  border: 1px solid #e57373;
  text-decoration: line-through;
  opacity: 0.7;
}
.calendar-nume span::before {
  content: "\1F4C5  ";
  font-size: 0.9em;
  margin-right: 2px;
  opacity: 0.7;
}
