/*
 * 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.
 */

/* Language flag circle - displays flag in a circular container */
.language-flag-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Platzhalter für fehlende Flaggen */
.language-flag-placeholder {
  background-color: rgba(148, 163, 184, 0.2);
  background-image: none;
  border-color: rgba(148, 163, 184, 0.3);
}

.admin-print-only {
  display: none;
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  aside,
  header,
  .admin-print-hide {
    display: none !important;
  }

  main {
    padding: 0 !important;
    background: #ffffff !important;
  }

  .admin-print-area {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .admin-print-area * {
    box-shadow: none !important;
  }

  .admin-print-area {
    display: none !important;
  }

  .admin-print-only {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .admin-print-list {
    color: #111827 !important;
  }

  .admin-print-list * {
    color: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .admin-print-list .admin-print-brand-bar {
    background: var(--print-accent) !important;
    color: #ffffff !important;
    border: 1px solid color-mix(in srgb, var(--print-accent) 75%, #000000) !important;
  }

  .admin-print-list .admin-print-brand-bar * {
    color: #ffffff !important;
    background: transparent !important;
  }

  .admin-print-list .print-agenda-item {
    border-color: #d1d5db !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
