/* 🔷 Base Styles */
body {
  font-family: "Aptos Narrow", sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* 🔷 Top Blue Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-color: #0077cc;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1001;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo-center img {
  height: 30px;
}

.top-icons img {
  width: 20px;
  height: 20px;
  margin-left: 15px;
  cursor: pointer;
  filter: brightness(0) invert(1); /* force white against blue */
}

/* 🔶 Sidebar Menu */
.sidebar {
  position: fixed;
  top: 40px;
  left: 0;
  width: 150px;
  height: calc(100% - 40px);
  background-color: #ffffff;
  border-right: 2px solid #e1e0e0;
  padding-top: 20px;
  z-index: 1000;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 15px;
}

.sidebar a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  padding: 10px 15px;
}

.sidebar a:hover {
  background-color: #f2f2f2;
}

/* 🧱 Main Content */
.main-content {
  margin-top: 40px;
  margin-left: 150px;
  padding: 20px;
  max-width: 1200px;
}

/* 📊 Audit Table */
#auditTable {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}

#auditTable th {
  text-align: left;
  font-weight: bold;
  padding: 8px;
}

#auditTable td {
  text-align: left;
  padding: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 📋 Detail Table */
#auditDetailTable th,
#auditDetailTable td {
  font-size: 13px;
  padding: 8px;
  text-align: left;
  white-space: nowrap;
}

/* 🔍 Search Section */
#search-container {
  display: flex;
  justify-content: center;
  margin: 30px 0 20px;
  gap: 10px;
}

#search-container label {
  font-size: 16px;
}

#search-container select,
#search-container input {
  font-size: 12px;
  padding: 5px;
}

/* 🖊️ Editable Fields */
.editable {
  background-color: #f8f8f8;
  cursor: pointer;
}

/* 💾 Save Button */
.save-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 10px;
  cursor: pointer;
}

.save-btn:hover {
  background-color: #45a049;
}

/* 🗺️ Map Layout */
.map-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-section {
  display: flex;
  gap: 40px;
  margin: 30px auto;
  max-width: 1000px;
}

.map-box {
  text-align: center;
  flex: 0 0 auto;
}

/* 📱 Responsive Adjustments */
@media (max-width: 900px) {
  .main-content {
    margin-left: 0;
    padding: 10px;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
  }

  .top-bar {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .top-icons {
    margin-top: 10px;
  }

  .map-section {
    flex-direction: column;
    align-items: center;
  }
}