/**
 * Ultra-Minimal Frame Games CSS
 * Completely self-contained - no external dependencies
 * Optimized for maximum performance and minimal size
 */

/* ===== CSS RESET AND BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #f5f5f5;
  padding-top: 6rem;
  /* Account for fixed navbar - significantly increased to prevent breadcrumb overlap */
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.column {
  flex: 1;
  padding: 0 0.5rem;
  min-width: 0;
}

.column.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.column.is-one-quarter {
  flex: 0 0 25%;
  max-width: 25%;
}

/* Mobile responsive footer columns */
@media (max-width: 768px) {
  .footer .column.is-one-quarter {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

.column.is-full {
  flex: 0 0 100%;
  max-width: 100%;
}

.is-centered {
  justify-content: center;
  align-items: center;
}

.is-mobile {
  flex-direction: column;
}

/* ===== DESKTOP NAVIGATION FIX ===== */
/* Override is-mobile for bottom navigation on desktop */
.columns.is-mobile.bottom-navigation {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.columns.is-mobile.bottom-navigation .column {
  flex: 0 1 auto;
  width: auto;
}

.columns.is-mobile.bottom-navigation .column:last-child {
  text-align: right;
}

/* Mobile override for bottom navigation */
@media (max-width: 768px) {
  .columns.is-mobile.bottom-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .columns.is-mobile.bottom-navigation .column:last-child {
    text-align: center;
  }
}

.is-multiline {
  flex-wrap: wrap;
}

/* ===== TYPOGRAPHY ===== */
.title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.title.is-2 {
  font-size: 1.75rem;
}

.title.is-4 {
  font-size: 1.25rem;
}

.title.is-5 {
  font-size: 1.125rem;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
}

.subtitle.is-6 {
  font-size: 1rem;
}

.content {
  max-width: 65ch;
  margin: 0 auto;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  margin: 1.5rem 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
}

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

.content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content li {
  margin-bottom: 0.5rem;
}

.has-text-centered {
  text-align: center;
}

.has-text-weight-bold {
  font-weight: 700;
}

.is-size-4 {
  font-size: 1.25rem;
}

.is-size-5 {
  font-size: 1.125rem;
}

.is-size-6 {
  font-size: 1rem;
}

.is-size-7 {
  font-size: 0.875rem;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #3273dc;
  color: white;
  min-height: 2.5rem;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button:active {
  transform: translateY(0);
}

.button.is-small {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  min-height: 2rem;
}

.button.is-primary {
  background: #3273dc;
  border-color: #3273dc;
}

.button.is-info {
  background: #209cee;
  border-color: #209cee;
}

.button.is-success {
  background: #48c774;
  border-color: #48c774;
}

.button.is-warning {
  background: #ffdd57;
  border-color: #ffdd57;
  color: #333;
}

.button.is-link {
  background: #3273dc;
  border-color: #3273dc;
}

.button.is-light {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #333;
}

.button.is-outlined {
  background: transparent;
  border-color: currentColor;
}

.button.is-static {
  background: #f5f5f5;
  border-color: #dbdbdb;
  color: #7a7a7a;
  cursor: default;
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== FORM ELEMENTS ===== */
.input,
.textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #dbdbdb;
  border-radius: 6px;
  font-size: 1rem;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: #3273dc;
  box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

.field {
  margin-bottom: 1rem;
}

.field.has-addons {
  display: flex;
  gap: 0.5rem;
}

.field.has-addons .control {
  flex: 1;
}

.field.has-addons .control.is-expanded {
  flex: 1 1 auto;
}

.control {
  position: relative;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: stretch;
  background: #3273dc;
  color: white;
  z-index: 1000;
  min-height: 3.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  min-height: 3.5rem;
  flex-shrink: 0;
}

.navbar-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.navbar-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

.navbar-burger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: white;
  margin: 2px 0;
  transition: all 0.3s ease;
}

.navbar-menu {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex: 1;
  padding: 0 1rem;
}

.navbar-start {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.navbar-end {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

/* Navbar dropdown functionality */
.navbar-item.has-dropdown {
  position: relative;
}

.navbar-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.navbar-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.navbar-item.has-dropdown:hover .navbar-dropdown,
.navbar-item.has-dropdown.is-hoverable:hover .navbar-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-dropdown .navbar-item {
  color: #333;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.navbar-dropdown .navbar-item:last-child {
  border-bottom: none;
}

.navbar-dropdown .navbar-item:hover {
  background: #f5f5f5;
  color: #3273dc;
}

/* ===== CARDS AND BOXES ===== */
.box {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.notification {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  position: relative;
}

.notification.is-info {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  color: #0d47a1;
}

.notification.is-success {
  background: #e8f5e8;
  border-left: 4px solid #4caf50;
  color: #1b5e20;
}

.notification.is-warning {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  color: #e65100;
}

.delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

.delete:hover {
  opacity: 1;
}

/* ===== FRAME WORDLE GAME STYLES ===== */
.frame-wordle-container {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #e1e8ed;
  display: block;
  width: 100%;
  min-height: 200px;
}

.wordle-game-section {
  max-width: 600px;
  margin: 0 auto;
}

.guess-input-section {
  margin-bottom: 1.5rem;
}

.guess-input-section .field.has-addons {
  max-width: 500px;
  margin: 0 auto;
}

.guess-input-section .control.is-expanded {
  flex: 1;
}

.guess-input-section .input {
  border: 3px solid #3273dc;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.guess-input-section .input:focus {
  border-color: #48c774;
  box-shadow: 0 0 0 0.125em rgba(72, 199, 116, 0.25);
}

.guess-input-section .button {
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guess-input-section .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.attempts-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border: 2px solid #ddd;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#attempts-counter {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
}

.wordle-feedback-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  min-height: 100px;
  width: 100%;
  overflow: visible;
}

.wordle-guess-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-bottom: 0.25rem;
  max-width: 100%;
}

.wordle-tile {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background: white;
  color: #2c3e50;
}

.wordle-tile.correct {
  background-color: #48c774;
  border-color: #48c774;
  color: white;
}

.wordle-tile.present {
  background-color: #ffdd57;
  border-color: #ffdd57;
  color: white;
}

.wordle-tile.absent {
  background-color: #718096;
  border-color: #718096;
  color: white;
}

/* ===== NAVIGATION BUTTONS ===== */
.puzzle-nav-buttons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 500px;
  margin: 1.5rem auto 0;
}

.puzzle-nav-buttons-container .button {
  font-size: 1.3125rem;
  padding: 0.65rem 1rem;
  height: auto;
  min-height: 3rem;
  width: 100%;
  justify-content: center;
}

.puzzle-nav-buttons-container .control {
  width: 100%;
}

.puzzle-nav-buttons-container .field {
  margin-bottom: 0;
}

/* ===== BACKGROUNDS AND COLORS ===== */
.has-background-info {
  background-color: #209cee;
}

.has-background-info-light {
  background-color: #e3f2fd;
}

.has-background-success-light {
  background-color: #e8f5e8;
}

.has-background-warning-light {
  background-color: #fff3e0;
}

.has-background-primary-light {
  background-color: #e3f2fd;
}

.has-background-dark {
  background-color: #333;
}

.has-text-white {
  color: white;
}

/* ===== ICONS USING INLINE SVG ===== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
}

/* Check mark icon */
.icon-check {
  width: 0;
  height: 0;
  border-left: 0.3em solid transparent;
  border-bottom: 0.3em solid transparent;
  border-right: 0;
  border-top: 0;
  transform: rotate(45deg);
  border-color: currentColor;
  border-width: 0 0.15em 0.15em 0;
}

/* Share icon */
.icon-share {
  width: 0.8em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em 0 0 0;
  position: relative;
}

.icon-share::after {
  content: '';
  position: absolute;
  top: 0.2em;
  right: -0.4em;
  width: 0;
  height: 0;
  border: 0.2em solid transparent;
  border-left-color: currentColor;
}

/* Lightbulb icon */
.icon-lightbulb {
  width: 0.8em;
  height: 0.8em;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  border: 0.1em solid currentColor;
  position: relative;
}

.icon-lightbulb::after {
  content: '';
  position: absolute;
  bottom: -0.2em;
  left: 50%;
  transform: translateX(-50%);
  width: 0.3em;
  height: 0.2em;
  background: currentColor;
  border-radius: 0 0 0.1em 0.1em;
}

/* Eye icon */
.icon-eye {
  width: 0.8em;
  height: 0.5em;
  border: 0.1em solid currentColor;
  border-radius: 50%;
  position: relative;
}

.icon-eye::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.2em;
  height: 0.2em;
  background: currentColor;
  border-radius: 50%;
}

/* Chevron icons */
.icon-chevron-left,
.icon-chevron-right {
  width: 0.6em;
  height: 0.6em;
  border-right: 0.15em solid currentColor;
  border-bottom: 0.15em solid currentColor;
}

.icon-chevron-left {
  transform: rotate(135deg);
}

.icon-chevron-right {
  transform: rotate(-45deg);
}

/* Home icon */
.icon-home {
  width: 0.8em;
  height: 0.7em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em 0.1em 0 0;
  position: relative;
}

.icon-home::after {
  content: '';
  position: absolute;
  top: -0.4em;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 0.3em solid transparent;
  border-bottom-color: currentColor;
}

/* Star icon */
.icon-star {
  width: 0.8em;
  height: 0.8em;
  position: relative;
  display: inline-block;
}

.icon-star::before,
.icon-star::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.4em;
  height: 0.1em;
  background: currentColor;
  transform-origin: left center;
}

.icon-star::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.icon-star::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Arrow icons */
.icon-arrow-left,
.icon-arrow-right {
  width: 0.6em;
  height: 0.6em;
  border-right: 0.15em solid currentColor;
  border-bottom: 0.15em solid currentColor;
}

.icon-arrow-left {
  transform: rotate(135deg);
}

.icon-arrow-right {
  transform: rotate(-45deg);
}

/* Redo icon */
.icon-redo {
  width: 0.8em;
  height: 0.8em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
  position: relative;
}

.icon-redo::after {
  content: '';
  position: absolute;
  top: 0.2em;
  right: 0.1em;
  width: 0;
  height: 0;
  border: 0.2em solid transparent;
  border-top-color: currentColor;
  transform: rotate(45deg);
}

/* Copy icon */
.icon-copy {
  width: 0.7em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  position: relative;
}

.icon-copy::after {
  content: '';
  position: absolute;
  bottom: -0.3em;
  right: -0.3em;
  width: 0.7em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  border-left: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .navbar-brand {
    width: 100%;
    justify-content: space-between;
  }

  .navbar-burger {
    display: flex;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #3273dc;
    flex-direction: column;
    padding: 1rem;
    display: none;
  }

  .navbar-menu.is-active {
    display: flex;
  }

  .navbar-start,
  .navbar-end {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .frame-wordle-container {
    margin: 1rem;
    padding: 1rem;
  }

  .wordle-tile {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .wordle-guess-row {
    gap: 0.15rem;
  }

  .attempts-info {
    flex-direction: column;
    text-align: center;
  }

  .puzzle-nav-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .column.is-half {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .column.is-one-quarter {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .wordle-tile {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .guess-input-section .field.has-addons {
    flex-direction: column;
  }

  .guess-input-section .control {
    width: 100%;
  }

  .guess-input-section .button {
    margin-top: 0.5rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

  .wordle-tile,
  .guess-input-section .input,
  .guess-input-section .button {
    transition: none;
  }

  .guess-input-section .button:hover {
    transform: none;
  }
}

.wordle-tile:focus,
.guess-input-section .input:focus,
.guess-input-section .button:focus,
.attempts-info .button:focus {
  outline: 3px solid #3273dc;
  outline-offset: 2px;
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #e0e0e0;
  }

  .box {
    background: #2d2d2d;
    color: #e0e0e0;
  }

  .frame-wordle-container {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-color: #4a5568;
  }

  .attempts-info {
    background: rgba(45, 55, 72, 0.8);
    border-color: #4a5568;
  }

  .wordle-tile {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
  }

  .input,
  .textarea {
    background: #2d2d2d;
    border-color: #4a5568;
    color: #e0e0e0;
  }
}

/* ===== UTILITIES ===== */
.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.is-hidden {
  display: none;
}

.is-block {
  display: block;
}

.has-text-justified {
  text-align: justify;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #666;
}

.breadcrumb a {
  color: #3273dc;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .is-active a {
  color: #ffffff;
  cursor: default;
  font-weight: 600;
}

/* ===== PAGINATION ===== */
.pagination {
  margin: 2rem 0;
}

.field.is-grouped {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.field.is-grouped-centered {
  justify-content: center;
}

.field.is-grouped-multiline {
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #333;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer .columns {
  margin-bottom: 2rem;
}

.footer a {
  color: #ccc;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

/* ===== FIGURE AND IMAGE ===== */
figure {
  margin: 1rem 0;
}

.image {
  display: block;
}

.image.is-inline-block {
  display: inline-block;
}

.image img {
  max-width: 100%;
  height: auto;
}

/* ===== FOCUS STYLES ===== */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #3273dc;
  outline-offset: 2px;
}

/* ===== HINT SECTIONS ===== */
#hintSection,
#specificHintSection,
#answerSection,
#seoContentSection,
#socialSharingSection,
#howToSolveSection {
  margin: 2rem 0;
  width: 100%;
}

/* Center all columns within these sections */
#hintSection .columns,
#specificHintSection .columns,
#answerSection .columns,
#seoContentSection .columns,
#socialSharingSection .columns,
#howToSolveSection .columns {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Center the column content on desktop - let them use natural .column.is-half width (50%) */
#hintSection .column.is-half,
#specificHintSection .column.is-half,
#answerSection .column.is-half,
#seoContentSection .column.is-half,
#socialSharingSection .column.is-half,
#howToSolveSection .column.is-half {
  /* No max-width - use natural 50% from .column.is-half */
  margin: 0 auto;
}

/* Ensure boxes fill their containers */
#hintSection .box,
#specificHintSection .box,
#answerSection .box,
#seoContentSection .box,
#socialSharingSection .box,
#howToSolveSection .box {
  width: 100%;
}

/* ===== SOCIAL SHARING ===== */
#socialSharingSection {
  margin: 2rem 0;
}

/* Remove special width override - use natural .column.is-half width */

#socialSharingSection .field.is-grouped {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

#socialSharingSection .field.is-grouped .control {
  flex: 0 0 calc(50% - 0.25rem);
  margin-bottom: 0.5rem;
}

#socialSharingSection .field.is-grouped .control .button {
  width: 100%;
}

@media (max-width: 768px) {
  #socialSharingSection .column.is-half {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #socialSharingSection .field.is-grouped .control {
    flex: 0 0 100%;
  }
}

/* ===== MOBILE NAVBAR TOGGLE ===== */
@media (max-width: 768px) {
  .navbar-burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.is-active {
  display: flex;
}

.modal-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.modal-card {
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 1rem;
}

.modal-card-head {
  background: #3273dc;
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px 8px 0 0;
}

.modal-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.modal-card-head .delete {
  background: white;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-card-head .delete::before,
.modal-card-head .delete::after {
  content: '';
  position: absolute;
  width: 1rem;
  height: 2px;
  background: #3273dc;
}

.modal-card-head .delete::before {
  transform: rotate(45deg);
}

.modal-card-head .delete::after {
  transform: rotate(-45deg);
}

.modal-card-head .delete:hover {
  opacity: 0.8;
}

.modal-card-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-card-foot {
  padding: 1rem 1.5rem;
  border-top: 1px solid #dbdbdb;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  background: #f5f5f5;
  border-radius: 0 0 8px 8px;
}

.heading {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 0.5rem;
}

.title.is-3 {
  font-size: 2rem;
  margin: 0;
}

.title.is-4 {
  font-size: 1.5rem;
  margin: 0;
}

.has-text-grey {
  color: #666;
}

@media (max-width: 768px) {
  .modal-card {
    width: 95%;
    max-width: 95%;
  }
}
