/* General Layout */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
  width: 300px;
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.nav-btn {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000;
}

.nav-btn.active {
  background-color: #90caf9;
  color: white;
}

/* Main Content Area */
.main-content {
  flex: 1;
  padding: 20px;
}

/* Category Styling */
.category-header {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 20px 0 10px 0;
  color: #1976d2;
  padding: 10px;
  border-bottom: 2px solid #1976d2;
}

/* Supplication Items */
.supplication-item {
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 4px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.supplication-item label {
  font-size: 1rem;
  font-weight: 500;
}

/* Custom Supplication Section */
.custom-section {
  margin-top: 20px;
}

.custom-section input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  width: 100%;
  padding: 0.5rem;
  margin: 0.25rem 0;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  background-color: #90caf9;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #64b5f6;
}

/* History View */
.history-table-container {
  margin-top: 20px;
  overflow-x: auto;
}

#historyTable {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

#historyTable th,
#historyTable td {
  padding: 8px;
  text-align: center;
  border: 1px solid #ddd;
}

#historyTable th {
  background-color: #f8f9fa;
}

.completed {
  background-color: #c8e6c9;
  color: #2e7d32;
}

.missed {
  background-color: #ffcdd2;
  color: #c62828;
}

.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .history-table-container {
    font-size: 0.8rem;
  }
}
