@import 'vendor/bulma.min.css';

html, body {
    min-height: 100vh;
    -ms-overflow-style: none;
    overflow-y: scroll;
}

body::-webkit-scrollbar {
    display: none;
}

#logo {
    display: none;
}

#uiCanvas {
  position:fixed;
  left:0;
  top:0;
  width:0;
  height:0;
}

/* Applied when immersive is active to avoid inline style setting */
.fullscreen-canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Simple spacing helper to replace inline style attrs */
.ml-10 { margin-left: 10px; }

#topicInp {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#topicList {
    min-height: 1rem;
}

.input, .select select, .panel {
    border-radius: 10px ;
}

button.button.is-primary {
    background: #0E72Ed;
    border-radius: 10px;
}

button.button.is-primary:hover {
    background: #0E72Ed;
}

/* Lifeline brand styling for preset buttons */
.button.is-primary.is-light {
  color: #0E72ED;
  background-color: rgba(14, 114, 237, 0.08);
  border-color: rgba(14, 114, 237, 0.35);
}

.button.is-primary.is-light:hover {
  background-color: rgba(14, 114, 237, 0.14);
}

/* Highlight selected preset with a subtle ring */
.button.is-primary.is-active,
.button.is-primary:focus {
  box-shadow: 0 0 0 0.125em rgba(14, 114, 237, 0.25);
}

body {
  padding: 20px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

/* Site header and logo */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.site-header a { text-decoration: none; }

.site-logo {
  height: 60px;
  width: auto;
  display: block;
}

/* Recording controls */
.recording-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #2d8cff;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: #2472cc;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background-color: #bb2d3b;
}

@media (max-width: 480px) {
  .site-header { padding-left: 12px; padding-right: 12px; padding-bottom: 30px; }
  .site-logo { height: 100px; }
}

/* ----------------------------- */
/* Compact UI helpers & spacing  */
/* ----------------------------- */

/* Simple spacing utilities used in templates */
.mb-0 { margin-bottom: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.mt-2 { margin-top: 0.5rem !important; }

/* Compact groups for buttons */
.buttons.is-compact {
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* Make small tags truly compact */
.tag.is-small.tag-compact {
  font-size: 0.75rem;
  padding: 0.25em 0.5em;
}

/* Compact fields to reduce vertical rhythm in Settings */
.field.is-compact {
  margin-bottom: 0.5rem;
}
.field.is-compact .label {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.field.is-compact .help {
  margin-top: 0.125rem;
}

/* Accordion summaries: smaller, denser */
details > summary {
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
}

/* Subtle indentation for Settings content to set it apart from the summary */
#settingsPanel details > *:not(summary) {
  padding-left: 1rem;
}
@media (max-width: 480px) {
  #settingsPanel details > *:not(summary) {
    padding-left: 0.75rem;
  }
}

/* Tight columns for control rows */
.column.is-tight {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

/* Feeds button look: slightly denser than default */
#feedsButtons .button.is-small {
  padding-left: 0.75em;
  padding-right: 0.75em;
}

/* Settings labels smaller than accordion summary for clearer hierarchy */
#settingsPanel .label {
  font-size: 0.85rem; /* ~13.6px for subtle downshift from body */
  font-weight: 500;   /* lighter than the summary's 600 */
  line-height: 1.2;
}

/* Loosen spacing slightly inside Settings to avoid over-compact look */
#settingsPanel .field.is-compact {
  margin-bottom: 0.75rem; /* was 0.5rem globally */
}
#settingsPanel .field.is-compact .label {
  margin-bottom: 0.35rem; /* was 0.25rem */
}
#settingsPanel details {
  margin-bottom: 0.75rem;
}
#settingsPanel details > *:not(summary) {
  padding-top: 0.25rem; /* small breathing room under summary */
}
#settingsPanel .buttons.is-right {
  margin-top: 0.25rem;
}
