body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #3984B7;
    color: #fff;
}

.navbar button {
    background: #2b6cb0;
    color: #fff;
    border: none;
    padding: 8px 12px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
}

.left-buttons a {
    color: white;
    text-decoration: none;
}
.right-button a {
    color: white;
    text-decoration: none;
}
.title {
    text-align: center;
    color: #ffffff;
    margin: 0 !important;
    background-color: #0C3C60;
    padding-top: 20px;
    padding-bottom: 20px;
}

.admin-navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #3984B7;
    color: #fff;
    padding: 20px;
}

.admin-navbar h1 {
    margin: 0 0 10px 0;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    margin-top: 10px;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filters label {
    font-weight: 600;
    margin-bottom: 5px;
}

.filters select,
.filters input[type="date"] {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
#bookingDate{
     padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.filters button {
    padding: 8px 16px;
    background-color: #3984B7;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.filters button:hover {
    background-color: #2d6ca2;
}

/* --------- Table Styling --------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: #fff;
}

table th,
table td {
    border: 1px solid #ccc;
    padding: 12px 15px;
    text-align: left;
}

table th {
    background-color: #3984B7;
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
}

table tr:nth-child(even) {
    background-color: #f2f6f9;
}

table tr:hover {
    background-color: #e0f0ff;
}

table td {
    color: #333;
    font-size: 14px;
}
.tabs {
     display: flex;
    justify-content: center;
    margin: 15px 0;
    gap: 20px;
}
.tab-icon{
     width: 24px;
    height: 24px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 8px;
    background-color: #0C3C60;
    color: #ffffff;
    border: 1px solid #3984B7;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.tab-btn.active {
       background-color: #3984B7;
    color: #fff;
    transform: scale(1.05);
}
.tab-content{
    padding: 20px;
}
#usersContainer{
    width: 60%;
    justify-self: center;
}
@media (max-width: 768px) {
  .tab-btn {
    font-size: 0; /* hides text without affecting layout */
    padding: 10px;
    gap: 0px;
  }

  .tab-btn .tab-icon {
    width: 24px;
    height: 24px;
  }

  .tab-btn img {
    margin: 0; /* centers the icons */
  }
  .tabs {
    gap: 10px;
}
}