
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
}

/* Login page styling */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #4facfe, #00f2fe); /* water-like blue gradient */
}

.login-container {
  background: white;
  padding: 30px 50px 60px; /* reduced top padding */
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  width: 500px;
  height: auto;
  text-align: center;
}

/* Logo styling */
.logo {
  width: 200px;
  height: auto; /* keeps proportions */
  margin-bottom: 10px; /* reduced space under logo */
}

.login-container h2 {
  margin-bottom: 15px; /* reduced space under heading */
  color: #005b96; /* deep blue */
  font-size: 32px;
  font-weight: bold;
}

.login-container input {
  width: 100%;
  padding: 18px 15px;
  margin: 15px 0;
  border: 1px solid #007acc; /* blue border */
  border-radius: 10px;
  font-size: 18px;
}

.login-container button {
  width: 100%;
  padding: 18px;
  margin-top: 15px;
  background-color: #007acc; /* water blue */
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-container button:hover {
  background-color: #005b96; /* darker hover */
}

#errorMsg {
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
}

/* Dashboard Page Styling */
/* Dashboard Page Styling */
.dashboard-container {
  max-width: 95%;
  margin: 40px auto;        /* more top and bottom spacing */
  background: white;
  padding: 40px 30px;       /* padding around the container */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Header with logo and title */
.dashboard-header {
  text-align: center;       /* center logo and heading */
  margin-bottom: 30px;      /* space below heading */
}

.dashboard-header img {
  width: 150px;
  height: auto;
  margin-bottom: 15px;      /* space between logo and heading */
}

.dashboard-header h2 {
  color: #005b96;
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

/* Filter bar */
.filter-bar {
  display: flex;
  justify-content: center;  /* center the filters */
  flex-wrap: wrap;          /* allow multiple lines if needed */
  gap: 15px;
  margin-bottom: 25px;      /* space below filters */
  font-size: 16px;
  color: #005b96;
  font-weight: bold;
}

.filter-bar label {
  font-weight: normal;
  color: #333;
}

.filter-bar select {
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid #007acc;
  font-size: 14px;
  background-color: #f9fcff;
  cursor: pointer;
  max-width: 150px;
}

.filter-bar select:hover {
  background-color: #e6f4ff;
}

/* DataTable Styling */
#chatTable {
  width: 100% !important;
  border-collapse: collapse;
  table-layout: auto;
}

#chatTable thead th {
  background-color: #007acc;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 12px;           /* more padding for headers */
}

#chatTable tbody td {
  text-align: center;
  padding: 12px;           /* more padding for cells */
  border-bottom: 1px solid #ddd;
}

#chatTable tbody tr:hover {
  background-color: #f1f9ff;
}

/* Optional: make table scrollable if too many rows */
.dataTables_wrapper {
  overflow-x: auto;
}
