/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
/* Modal */
dialog#modal {
  border: none;
  border-radius: 0.5rem;
  padding: 0;
  width: 100%;
  max-width: 36rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin: 8vh auto;
}

dialog#modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.modal-box {
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
}

.modal-close:hover {
  color: #111827;
}

.modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.clear-btn {
	background: none;
	border: none;
	color: #aaa;
	font-size: 22px;
	cursor: pointer;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	right: 10px;
	z-index: 10;
}

.clear-btn:hover {
	color: #333;
}

.clear-btn:focus {
	outline: none;
}

.clear-btn:active {
	color: #000;
}

/* Reservations empty state */
:has(#reservations tr) .reservations-empty-state { display: none; }
:not(:has(#reservations tr)) .reservations-copy-btn { display: none; }
:not(:has(#reservations tr)) .reservations-thead { display: none; }
