body {
  font-family: 'Segoe UI', Arial, sans-serif;
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #f8f9fa;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  color: #333;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
}

h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #007BFF;
  margin: 10px auto 0;
  border-radius: 3px;
}

p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

table th,
table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

table th {
  background-color: #2c3e50;
  color: white;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

table th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
}

table th:first-child {
  border-top-left-radius: 8px;
}

table th:last-child {
  border-top-right-radius: 8px;
}

table tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

table tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

table tr:nth-child(even) {
  background-color: #f8f9fa;
}

table tr:hover {
  background-color: #f0f7ff;
  transition: background-color 0.2s ease;
}

table td:first-child {
  font-weight: 600;
  color: #2c3e50;
}

.previous-notes-cell {
  font-style: italic;
  color: #6c757d;
  background-color: #f8f9fa;
  border-left: 3px solid #007bff;
  padding-left: 12px !important;
  font-size: 14px;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

table button {
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

table button:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.play-button,
.pause-button {
  width: 60px;
  min-width: 60px;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: center;
}

.play-button {
  background-color: #28a745;
}

.play-button:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pause-button {
  background-color: #dc3545 !important;
}

.pause-button:hover {
  background-color: #c82333 !important;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timer-span {
  display: inline-block;
  margin-left: 10px;
  font-family: monospace;
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  background-color: #f8f9fa;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  min-width: 60px;
  text-align: center;
  transition: all 0.3s ease;
}

.timer-span.warning {
  color: #ff9800;
  background-color: #fff3e0;
  border-color: #ffe0b2;
  animation: blink 1s infinite;
}

.timer-span.danger {
  color: #f44336;
  background-color: #ffebee;
  border-color: #ffcdd2;
  animation: blinkFast 0.7s infinite;
  font-weight: 700;
}

.timer-span.time-exceeded {
  color: white;
  background-color: #f44336;
  border-color: #d32f2f;
  animation: none;
}

table input[type="text"] {
  width: 95%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

table input[type="text"]:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
  color: #555;
}

input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input[type="text"] {
  width: 782.4px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 8px 12px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background-color: #0056b3;
}

#result {
  margin-top: 20px;
  font-weight: bold;
  color: red;
  text-align: center;
}

#startBtn,
#historyBtn {
  padding: 12px 24px;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#startBtn {
  background-color: #28a745;
}

#startBtn:hover {
  background-color: #218838;
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#historyBtn {
  background-color: #17a2b8;
}

#historyBtn:hover {
  background-color: #138496;
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#endStandUpBtn {
  display: block;
  margin: 30px auto;
  padding: 12px 25px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#endStandUpBtn:hover {
  background-color: #0069d9;
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

ul {
  margin-top: 20px;
  padding-left: 20px;
  list-style-type: square;
  color: #333;
}

.dashboard-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.dashboard-btn:hover {
  background-color: #0056b3;
}

.logout-btn {
  padding: 8px 15px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background-color: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.meeting-item {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  list-style-type: none;

}

.meeting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.meeting-header .expandBtn {
  padding: 5px 10px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.meeting-header .expandBtn:hover {
  background-color: #0056b3;
}

.meeting-header strong {
  font-size: 14px;
}

.details {
  margin-top: 10px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.details p {
  font-size: 14px;
}

.notes-list {
  padding: 0;
  margin: 0;
}

.note-item {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #f4f4f9;
}

.note-item p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

.no-notes {
  font-style: italic;
  color: #888;
}

#clock {
  font-family: monospace;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
  background-color: #e9ecef;
  padding: 10px;
  border-radius: 8px;
  margin: 15px auto;
  width: 150px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

timer {
  font-weight: bold;
  color: #333;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  backdrop-filter: blur(3px);
  transition: all 0.3s ease;
}

.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 25px;
  border: none;
  width: 60%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: all 0.3s ease;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content h2 {
  text-align: center;
  font-size: 20px;
  margin-top: 5px;
  margin-bottom: 15px;
  color: #333;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-content label {
  font-weight: bold;
  color: #555;
}

.modal-content input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.modal-content select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.time-selector {
  margin-bottom: 15px;
}

.time-options {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.time-option {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.time-option:hover {
  background-color: #e9ecef;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.time-option.selected {
  background-color: #007BFF;
  color: white;
  border-color: #0056b3;
}

.time-option.selected::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.participants-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 15px;
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.participant-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  margin: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.participant-item:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.participant-item.selected {
  background-color: #007BFF;
  color: white;
  border-color: #0056b3;
  position: relative;
}

.participant-item.selected::before {
  content: '✓';
  margin-right: 5px;
  font-weight: bold;
}

.participant-item.selected:hover {
  background-color: #0056b3;
}

.modal-content button[type="submit"] {
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 123, 255, 0.25);
  width: 100%;
  max-width: 250px;
  margin: 15px auto 0;
  display: block;
}

.modal-content button[type="submit"]:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 123, 255, 0.3);
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.close-modal-btn:hover {
  background-color: #c82333;
  transform: rotate(90deg);
}

.modal-content {
  position: relative;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

@keyframes blinkFast {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

body:has(#meetingDate) {
  max-width: 900px;
  background-color: #f8f9fa;
}

#meetingDate,
#meetingDuration,
#maxTimePerDev {
  font-weight: 600;
  color: #2c3e50;
  display: inline-block;
  background-color: #e9ecef;
  padding: 5px 10px;
  border-radius: 4px;
  margin-left: 5px;
}

#meetingDuration,
#maxTimePerDev {
  font-family: monospace;
  font-size: 18px;
}

#maxTimePerDev {
  color: #28a745;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  gap: 20px;
}

.pagination-controls button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination-controls button:disabled {
  background-color: #f5f5f5;
  color: #bdbdbd;
  cursor: not-allowed;
  box-shadow: none;
}

.pagination-controls button:hover:not(:disabled) {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-controls button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#paginationInfo {
  font-size: 15px;
  font-weight: 500;
  color: #757575;
  min-width: 100px;
  text-align: center;
}

.arrow-icon {
  font-size: 18px;
  line-height: 1;
}