.app-page {
  padding: 24px;
}

.app-panel {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.app-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.app-panel-title {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: #101828;
}

.app-panel-subtitle {
  margin: 4px 0 0;
  color: #667085;
}

.app-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.app-toolbar input,
.app-toolbar select {
  min-height: 40px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 8px 10px;
}

.app-results {
  color: #667085;
  font-size: 14px;
  margin-bottom: 12px;
}

.app-table-wrap {
  overflow-x: auto;
  border: 1px solid #eaecf0;
  border-radius: 10px;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.app-table th,
.app-table td {
  padding: 12px;
  border-bottom: 1px solid #eaecf0;
  text-align: left;
  vertical-align: top;
}

.app-table th {
  background: #f9fafb;
  color: #475467;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-muted {
  color: #98a2b3;
}


.app-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.55);
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.app-modal-dialog {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.app-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eaecf0;
}

.app-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.app-modal-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.app-modal-body {
  padding: 22px;
}

.app-form-field {
  margin-bottom: 16px;
}

.app-form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.app-form-field input,
.app-form-field select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
}

.app-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.pp-modal-backdrop {
  position: fixed !important;
  inset: 0;
  z-index: 1050 !important;
  background: rgba(15, 23, 42, 0.48) !important;
  backdrop-filter: blur(2px);
}

.pp-form-modal {
  position: fixed !important;
  inset: 0;
  z-index: 1060 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent !important;
  pointer-events: none;
}

.pp-form-modal-dialog {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  border: 1px solid #eaecf0;
}

.pp-form-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eaecf0;
  background: #f9fafb;
}

.pp-form-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  color: #101828;
}

.pp-form-modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #667085;
}

.pp-form-modal-close:hover {
  background: #eef2f6;
  color: #101828;
}

.pp-form-modal-body {
  padding: 22px !important;
}

.pp-form-modal .form-field {
  margin-bottom: 16px;
}

.pp-form-modal .form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #344054;
}

.pp-form-modal input[type="date"] {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
}

.pp-form-modal input[type="date"]:focus {
  outline: none;
  border-color: #1849a9;
  box-shadow: 0 0 0 3px rgba(24, 73, 169, 0.12);
}

.pp-form-modal .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #eaecf0;
}
