body {
    margin: 0;
    font-family: Arial, sans-serif;
}
.container {
    display: flex;
    height: 100vh;
}
.sidebar {
    width: 170px;
    background-color: #2c3e50;
    color: white;
    padding: 10px;
    transition: width 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}
.sidebar.collapsed {
    width: 0;
    padding: 0;
}
.toggle-button {
    position: fixed;
    top: 2px;
    left: 190px;
    z-index: 1000;
    background-color: transparent;
    color: #4a4a4a;
    border: none;
    cursor: pointer;
    font-size: 22px;
    transition: left 0.3s ease, background-color 0.2s ease;
}
.sidebar.collapsed ~ .toggle-button {
    left: 0;
}
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.tab-buttons button {
    background-color: #34495e;
    color: white;
    border: none;
    padding: 6px;
    cursor: pointer;
    flex: 1 0 48%;
    font-size: 12px;
    border-radius: 4px;
}
.tab-buttons button.active {
    background-color: #16a085;
}
.tab-content {
    display: none;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}
.tab-content.active {
    display: block;
}
.dropdown {
    margin-bottom: 10px;
    margin-top: -2px;
}
.dropdown-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 8px 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
}
.dropdown-btn::after {
    content: "▼";
    float: right;
    font-size: 0.8em;
    transition: transform 0.2s ease;
}
.dropdown-btn.active::after {
    transform: rotate(-180deg);
}
.dropdown-content {
    display: none;
    padding-left: 15px;
}
.dropdown-content a {
    display: block;
    padding: 6px 0;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: normal;
}
.dropdown-content a:hover {
    text-decoration: underline;
}
.dropdown.open .dropdown-content {
    display: block;
}
.main {
    flex: 1;
    background-color: #ecf0f1;
    padding: 20px;
    height: 90vh;
    overflow-y: auto;
    padding-left: 35px;
}

/* Login */
.login-container {
  width: 350px;
  margin: 20px auto;
  background-color: #fff;
  padding: 24px;
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 3px rgba(0,0,0,0.13);
  text-align: center;
  border-radius: 4px;
}

.login-text img {
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 16px;
  text-align: left;
}

.input-group input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.input-group .btn {
  background-color: #2271b1;
  color: white;
  border: none;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

.input-group .btn:hover {
  background-color: #135e96;
}

.login-register-text {
  margin-top: 12px;
  font-size: 14px;
}

.login-register-text a {
  color: #2271b1;
  text-decoration: none;
}

.login-register-text a:hover {
  text-decoration: underline;
}

.alert {
  margin-bottom: 16px;
  padding: 10px;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  border-radius: 4px;
  font-size: 14px;
}

label {
    display: block;
    margin-top: 10px;
}
input[type="text"], input[type="date"] {
    padding: 8px;
}