@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

/* ===== Navbar ===== */
.navbar {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #1abc9c;
}

/* ===== Nav Links ===== */
.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    transition: all 0.3s ease;
}

.nav-menu li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu li a.active {
    background: #1abc9c;
    box-shadow: 0 3px 10px rgba(26, 188, 156, 0.3);
}

/* ===== Mobile Menu Toggle ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: 0.3s;
}

/* ===== Container ===== */
.container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}
/* ===== Upload Form Styling ===== */
.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-form input[type="file"] {
    padding: 8px;
    background: #f9fafc;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 70%;
    font-size: 14px;
}

.btn-upload {
    background: #1abc9c;
    border: none;
    color: white;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}

.btn-upload:hover {
    background: #16a085;
    transform: translateY(-1px);
}
/* Table and Filter Styling */
.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.filter-form input[type="date"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.btn-reset {
  background: #e74c3c;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
}

.table-container {
  overflow-x: auto;
  margin-top: 10px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.data-table th,
.data-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.data-table th {
  background-color: #3498db;
  color: white;
}

.data-table tr:hover {
  background-color: #f2f2f2;
}


/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        background: #2c3e50;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
}
