/* Group Beacon full-screen shell.
   Matches the Lightning / BuzzBrain header: centered Buzz mark, Rajdhani
   title, dialogclose in the corner. Actions and Configure are separate
   entry points, not tabs. */

#beacon-screen.beacon-screen {
  margin: auto;
  flex-direction: column;
  justify-items: flex-start;
  background: #fff;
}

.beacon-screen-header {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  padding-top: 16px;
  flex-shrink: 0;
  background: transparent;
}

.beacon-screen-logo {
  margin: 0 auto;
  flex: 0 0 auto;
  text-align: center;
}

.beacon-screen-title {
  color: #444444;
  padding: 24px 48px 4px;
  margin: 0 auto;
  text-align: center;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  flex: 0 0 auto;
}

.beacon-screen-title sup {
  font-size: 0.55em;
  font-weight: 500;
}

.beacon-screen-entity {
  display: none !important;
}

.beacon-screen-entity:empty {
  display: none;
}

/* Retired in-panel switcher. Nodes stay so data-tab handlers still resolve. */
#beacon-screen-tabs.beacon-screen-tabs {
  display: none !important;
}

#beacon-screen .beacon-screen-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10005;
}

#beacon-screen .beacon-screen-close .dialogclose-icons {
  color: rgba(0, 0, 0, 0.6);
  text-shadow: 2px 2px 16px rgba(255, 255, 255, 0.5);
  background-color: transparent;
  cursor: pointer;
}

.beacon-screen-body {
  padding: 8px 24px 24px;
}

/* Footer row matches .modal-footer: solid actionbuttons, primary cluster on the right. */
.beacon-editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 8px;
}

.beacon-editor-footer-primary {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.beacon-dialog-footer {
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 0;
}

#beacon-action-dialog .beacon-dialog-title {
  margin: 0 0 12px;
  padding: 0;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: #444444;
  letter-spacing: 0;
  text-transform: none;
}

/* button elements pick up Materialize's font reset. Keep the house face. */
#beacon-screen button.actionbutton,
#beacon-action-dialog button.actionbutton {
  font-family: Montserrat, sans-serif;
  height: auto;
  line-height: 1.4;
  box-shadow: none;
  flex-shrink: 0;
}

/* Form controls sit on the same line as .actionbutton.mini. Materialize's
   bare `select { height: 3rem }` and the system input face make the hints
   taller than those buttons. */
#beacon-screen .beacon-field,
#beacon-action-dialog .beacon-field {
  box-sizing: border-box;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 30px;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-family: Montserrat, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}

#beacon-screen select.beacon-field,
#beacon-action-dialog select.beacon-field {
  height: 30px;
  padding-right: 22px;
}

#beacon-screen .beacon-field::placeholder,
#beacon-action-dialog .beacon-field::placeholder {
  color: #8a9499;
  font-family: Montserrat, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 1;
}

#beacon-screen .beacon-field:focus,
#beacon-action-dialog .beacon-field:focus {
  outline: none;
  border-color: #0090c0;
  box-shadow: 0 0 0 1px #0090c0;
}

#beacon-action-dialog .beacon-field {
  display: block;
  width: 100%;
  flex: none;
}

#beacon-action-dialog .beacon-field-follow {
  margin-top: 4px;
}

#beacon-screen button.beacon-action-delete {
  min-width: 36px;
  justify-content: center;
}

#beacon-screen button.beacon-action-delete .fa-trash {
  font-size: 1rem;
  line-height: 1;
}

#beacon-screen button.actionbutton:disabled,
#beacon-action-dialog button.actionbutton:disabled {
  opacity: 0.55;
  cursor: default;
}

.beacon-configure-intro {
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #eef7fb;
  border-radius: 0;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
}

.beacon-actions-results {
  max-width: 820px;
  margin: 8px auto 0;
  min-height: 0;
}

.beacon-result-card {
  margin-top: 18px;
  padding: 18px 22px 12px;
  background: #f4fafc;
  border: 1px solid rgba(99, 99, 99, 0.2);
  border-left: 4px solid #0090c0;
  border-radius: 0;
  font-family: Montserrat, sans-serif;
  color: #333;
}

.beacon-result-title {
  margin: 0 0 12px;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.2;
  color: #0090c0;
  letter-spacing: 0.02em;
}

.beacon-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 144, 192, 0.14);
  font-size: 1rem;
  line-height: 1.4;
}

.beacon-result-row:last-child {
  border-bottom: 0;
}

.beacon-result-label {
  color: #5c6b73;
  font-weight: 500;
}

.beacon-result-value {
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
}

.beacon-result-text {
  white-space: pre-wrap;
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(0, 144, 192, 0.16);
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #222;
}

.beacon-result-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 14px;
}

.beacon-result-actions .actionbutton {
  flex-shrink: 0;
  white-space: nowrap;
}

.beacon-result-status {
  margin: 0 0 4px;
  text-align: right;
  font-size: 0.85rem;
  color: #5c6b73;
}

.beacon-result-empty,
.beacon-result-pending {
  font-size: 0.95rem;
  color: #5c6b73;
}

.beacon-result-error {
  color: #c62828;
  border-left-color: #c62828;
  background: #fdecea;
  border-color: #f5c2bd;
}
