.registry-view, .session-timeline, .reassessment-view {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.registry-header, .timeline-header, .reassessment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #333;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

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

.data-table th {
  background: #f5f5f5;
  font-weight: bold;
}

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

.btn-primary {
  padding: 10px 20px;
  font-size: 14px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0052a3;
}

#modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.form-modal {
  background: white;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-modal h3 {
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group textarea {
  font-family: inherit;
  resize: vertical;
}

.form-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.btn-secondary {
  padding: 10px 20px;
  font-size: 14px;
  background: #666;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #555;
}

.registry-search {
  margin-bottom: 20px;
}

.registry-search input {
  width: 300px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.timeline-header-actions,
.reassessment-header-actions {
  display: flex;
  gap: 10px;
}

.session-card {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  background: white;
}

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

.session-status {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #333;
}

.session-details p {
  margin: 5px 0;
}

.session-actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.reassessment-entry {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  background: white;
}

.entry-timestamp {
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.entry-details p {
  margin: 5px 0;
}

.entry-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #666;
}

.registry-footer,
.reassessment-footer {
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-left: 3px solid #666;
  font-size: 13px;
  color: #555;
}

.btn-danger {
  background: #dc3545;
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 5px;
}

.btn-danger:hover {
  background: #c82333;
}

.calculation-form .form-note {
  background: #f0f9ff;
  padding: 10px;
  margin-bottom: 15px;
  border-left: 3px solid #0066cc;
  font-size: 13px;
}

.execution-sheet-modal {
  max-width: 700px;
}

.execution-sheet-display h2 {
  margin-bottom: 15px;
  color: #1E3A8A;
}

.execution-sheet-display h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.execution-sheet-display p {
  margin: 5px 0;
}

.execution-disclaimer {
  margin-top: 20px;
  padding: 15px;
  background: #fffbea;
  border-left: 3px solid #f59e0b;
  font-size: 13px;
  font-style: italic;
}
