/* Location Notes Styles */

.note-preview {
  color: #6c757d;
  margin-top: 0.5rem;
}

.note-content {
  line-height: 1.6;
}

.note-content h1,
.note-content h2,
.note-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.note-content p {
  margin-bottom: 1rem;
}

.note-content ul,
.note-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.note-content blockquote {
  border-left: 4px solid #dee2e6;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #6c757d;
}

/* Tab styling improvements */
.card-header-tabs .nav-link {
  border-bottom: 2px solid transparent;
}

.card-header-tabs .nav-link.active {
  background-color: transparent;
  border-bottom-color: #5a7a9c;
  font-weight: 500;
}

.card-header-tabs .nav-link:hover {
  border-bottom-color: #5a7a9c;
}

/* Email compose links on email-category todos */
.todo-compose-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.todo-compose-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.1rem 0.45rem;
  border-radius: 0.25rem;
  background-color: #e8f0fe;
  border: 1px solid #4a90d9;
  color: #1a5fa8;
  text-decoration: none;
}

.todo-compose-link:hover {
  background-color: #d0e3fb;
  color: #104080;
  text-decoration: none;
}

.todo-compose-account {
  color: #5a7fa8;
  font-size: 0.7rem;
}

/* Scrollable modal body to keep footer visible */
.modal-body-scrollable {
  max-height: 80vh;
  overflow-y: auto;
}

/* Notification action buttons - transparent with blue border */
.notification-action-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 12px;
  background-color: transparent !important;
  border: 1px solid var(--pms-color-blue) !important;
  border-radius: 4px;
  color: var(--pms-color-blue) !important;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}

.notification-action-btn:hover {
  background-color: rgba(90, 122, 156, 0.1) !important;
}

.notification-action-btn.notification-open-btn {
  border-color: var(--pms-color-green) !important;
  color: var(--pms-color-green) !important;
}

.notification-action-btn.notification-open-btn:hover {
  background-color: rgba(108, 140, 108, 0.1) !important;
}

/* New Task modal — full height, no viewport clipping */
#newTodoModal {
  --bs-modal-padding: 0;
  padding: 0.5rem !important;
}

#newTodoModal .modal-dialog {
  margin: 0.5rem auto;
  max-width: 600px;
  min-height: calc(100% - 1rem);
  display: flex;
  align-items: flex-start;
}

#newTodoModal .modal-content {
  width: 100%;
}

#newTodoModal .modal-header {
  padding: 0.75rem 1rem;
}

#newTodoModal .modal-body {
  padding: 1rem;
}

#newTodoModal .modal-footer {
  padding: 0.75rem 1rem;
}
