@font-face {
  font-family: 'Source Sans Variable';
  src: url('../fonts/SourceSansVariable-Roman.otf.woff2') format('woff2'),
       url('../fonts/SourceSansVariable-Roman.otf.woff') format('woff');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans Variable';
  src: url('../fonts/SourceSansVariable-Italic.otf.woff2') format('woff2'),
       url('../fonts/SourceSansVariable-Italic.otf.woff') format('woff');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

.site-header {
  background-color: #002e5e;
  border-bottom: 2px solid #003d7a;
  padding: 32px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 19px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 38px;
  position: relative;
}

.logo {
  font-size: 12px;
  font-weight: 500;
  font-family: 'Source Sans Variable', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: absolute;
  left: 19px;
}
.logo a {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: none;
  display: flex;
  align-items: center;
  position: relative;
}
.logo a:hover {
  color: #FFFFFF;
  border-bottom: none;
}
.logo .logo-text {
  opacity: 1;
  transition: opacity 0.4s ease;
}
.logo .logo-image {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.site-header.scrolled {
  padding: 19px 0;
}
.site-header.scrolled .logo .logo-text {
  opacity: 0;
}
.site-header.scrolled .logo .logo-image {
  opacity: 1;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-family: 'Source Sans Variable', sans-serif;
  align-items: baseline;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.main-nav a.active {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

.header-right {
  display: flex;
  gap: 24px;
  align-items: baseline;
  position: absolute;
  right: 19px;
}

.user-name {
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Source Sans Variable', sans-serif;
}

.language-switcher {
  display: flex;
  gap: 6px;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 10px;
  letter-spacing: 0.05em;
  align-items: baseline;
}
.language-switcher a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s ease;
}
.language-switcher a.active {
  color: #FFFFFF;
  font-weight: 500;
}
.language-switcher a:hover {
  color: #FFFFFF;
  border-bottom: none;
}
.language-switcher span {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

@media (max-width: 768px) {
  .site-header {
    padding: 19px 0;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  .logo {
    font-size: 12px;
    position: static;
  }
  .logo .logo-image {
    height: 28px;
  }
  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 19px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .header-right {
    position: static;
    width: 100%;
    justify-content: space-between;
  }
  .site-header.scrolled {
    padding: 13px 0;
  }
  .language-switcher {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .site-header {
    padding: 13px 0;
  }
  .header-container {
    gap: 13px;
  }
  .main-nav {
    gap: 13px;
  }
  .main-nav a {
    font-size: 11px;
  }
}
.site-footer {
  border-top: 2px solid #002e5e;
  background-color: rgba(0, 46, 94, 0.15);
  padding: 51px 0 38px 0;
  margin-top: 102px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 19px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 26px;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  gap: 26px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-nav a:hover {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: left;
    gap: 19px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 13px;
  }
  .footer-nav a {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .site-footer {
    padding: 38px 0 26px 0;
  }
  .footer-content {
    font-size: 11px;
    gap: 13px;
  }
  .footer-nav {
    width: 100%;
  }
  .footer-nav a {
    font-size: 10px;
  }
}
.blog-list {
  margin-top: 51px;
  counter-reset: none;
}

.blog-item {
  margin-bottom: 77px;
  padding: 38px 0 51px 26px;
  border-left: 3px solid #002e5e;
  border-bottom: 1px solid rgba(0, 46, 94, 0.6);
  background-color: rgba(0, 46, 94, 0.15);
}
.blog-item:last-child {
  border-bottom: none;
}
.blog-item:hover {
  border-left-color: #003d7a;
  background-color: rgba(0, 46, 94, 0.25);
}
.blog-item h2 {
  margin: 0 0 13px 0;
  font-size: 32px;
  counter-increment: none;
  border-top: none;
  padding-top: 0;
}
.blog-item h2::before {
  display: none;
}
.blog-item h2 a {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: none;
}
.blog-item h2 a:hover {
  color: #FFFFFF;
  border-bottom: 2px solid #003d7a;
}

.blog-meta {
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 26px 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-detail h1 {
  margin-top: 0;
}

.admin-menu {
  margin-top: 51px;
  border-top: 2px solid #002e5e;
  padding-top: 38px;
  counter-reset: none;
}

.admin-card {
  display: block;
  padding: 32px 26px;
  border-left: 3px solid #002e5e;
  border-bottom: 1px solid rgba(0, 46, 94, 0.3);
  background-color: rgba(0, 46, 94, 0.15);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}
.admin-card h3 {
  margin: 0;
  color: #FFFFFF;
  font-size: 22px;
  font-family: 'Source Sans Variable', sans-serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  counter-increment: none;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.admin-card h3::before {
  display: none;
}
.admin-card:hover {
  border-left-color: #003d7a;
  background-color: rgba(0, 46, 94, 0.25);
  color: #FFFFFF;
}
.admin-card:hover h3 {
  border-bottom: 2px solid #003d7a;
  display: inline-block;
}

.admin-actions {
  margin: 38px 0;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(0, 46, 94, 0.6);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 38px;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 12px;
}
.admin-table thead {
  border-bottom: 2px solid #002e5e;
}
.admin-table thead th {
  padding: 13px 13px;
  text-align: left;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.admin-table tbody tr {
  border-bottom: 1px solid rgba(0, 46, 94, 0.3);
}
.admin-table tbody tr:hover {
  background-color: rgba(0, 46, 94, 0.15);
  border-left: 3px solid #002e5e;
}
.admin-table tbody tr td {
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
.admin-table .btn {
  margin-right: 6px;
}

/* Full width container for admin pages - overrides content-container restrictions */
.full-width-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 77px 60px;
  width: 100%;
  box-sizing: border-box;
}

.table-container {
  margin-top: 20px;
  width: 100%;
}

.user-table {
  table-layout: fixed;
  width: 100%;
}

.user-table td input.form-control-sm,
.user-table td select.form-control-sm {
  min-width: 80px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.user-table th:nth-child(1) { width: 16%; } /* Email */
.user-table th:nth-child(2) { width: 10%; } /* Vorname */
.user-table th:nth-child(3) { width: 10%; } /* Nachname */
.user-table th:nth-child(4) { width: 8%; } /* Land */
.user-table th:nth-child(5) { width: 9%; } /* Rolle */
.user-table th:nth-child(6) { width: 8%; } /* Status */
.user-table th:nth-child(7) { width: 11%; } /* E-Mail bestätigt */
.user-table th:nth-child(8) { width: 10%; } /* Erstellt */
.user-table th:nth-child(9) { width: 18%; } /* Aktionen */

@media (max-width: 1400px) {
  .full-width-container {
    padding: 77px 40px;
  }
}

@media (max-width: 1200px) {
  .full-width-container {
    padding: 60px 30px;
  }
}

@media (max-width: 768px) {
  .full-width-container {
    padding: 40px 20px;
  }
  
  .admin-table {
    font-size: 11px;
  }
  
  .admin-table thead th,
  .admin-table tbody td {
    padding: 8px 10px;
  }
  
  .user-table {
    table-layout: auto;
  }
}

.search-filter {
  margin-top: 30px;
  margin-bottom: 20px;
  max-width: 600px;
}

.search-filter .form-control {
  font-size: 15px;
  padding: 12px 15px;
}

.search-results-info {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-style: italic;
}

.form-control-sm {
  padding: 6px 8px !important;
  font-size: 12px !important;
  min-height: auto !important;
}

.user-table td input.form-control-sm,
.user-table td select.form-control-sm {
  min-width: 100px;
}

.status-active {
  color: #28a745;
  font-weight: 500;
}

.status-inactive {
  color: #dc3545;
  font-weight: 500;
}

.admin-table .actions {
  white-space: nowrap;
}

.admin-form {
  max-width: 720px;
  margin-top: 38px;
}
.admin-form .form-group {
  margin-bottom: 20px;
}
.admin-form .form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-family: 'Source Sans Variable', sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
/* Global form control styles */
.form-control, input.form-control, select.form-control, textarea.form-control {
  width: 100%;
  padding: 13px;
  border: none;
  border-bottom: 1px solid rgba(0, 46, 94, 0.3);
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s ease;
  background-color: rgba(0, 46, 94, 0.25);
  color: #FFFFFF;
}
.form-control:focus, input.form-control:focus, select.form-control:focus, textarea.form-control:focus {
  outline: none;
  border-bottom-color: #002e5e;
}
.form-control:hover:not(:focus), input.form-control:hover:not(:focus), select.form-control:hover:not(:focus), textarea.form-control:hover:not(:focus) {
  border-bottom-color: #002e5e;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
  border: 1px solid rgba(0, 46, 94, 0.3);
  padding: 13px;
  background-color: rgba(0, 46, 94, 0.35);
}
select.form-control {
  background-color: rgba(0, 46, 94, 0.35);
  cursor: pointer;
}
select.form-control option {
  background-color: #002e5e;
  color: #FFFFFF;
  padding: 8px;
}

/* Legacy support for admin-form context */
.admin-form .form-group .form-control {
  width: 100%;
}
.admin-form .form-group .form-control:focus {
  outline: none;
  border-bottom-color: #002e5e;
}
.admin-form .form-group .form-control:hover:not(:focus) {
  border-bottom-color: #002e5e;
}
.admin-form .form-group textarea.form-control {
  resize: vertical;
  min-height: 120px;
  border: 1px solid rgba(0, 46, 94, 0.3);
  padding: 13px;
  background-color: rgba(0, 46, 94, 0.35);
}
.admin-form .form-group select.form-control {
  background-color: rgba(0, 46, 94, 0.35);
  cursor: pointer;
}
.admin-form .form-group select.form-control option {
  background-color: #002e5e;
  color: #FFFFFF;
  padding: 8px;
}
.admin-form .form-group .form-text {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Source Sans Variable', sans-serif;
}
.admin-form .form-actions {
  margin-top: 51px;
  padding-top: 38px;
  border-top: 1px solid rgba(0, 46, 94, 0.6);
  display: flex;
  gap: 13px;
}
.admin-form .form-actions .btn {
  padding: 13px 26px;
}
.admin-form h3 {
  color: #FFFFFF;
  margin-bottom: 26px;
  font-size: 22px;
  border-bottom: 2px solid #002e5e;
  padding-bottom: 13px;
  counter-increment: none;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.admin-form h3::before {
  display: none;
}

.editor-toolbar {
  position: sticky;
  top: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 19px;
  background-color: rgba(0, 46, 94, 0.15);
  border-bottom: 2px solid #002e5e;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 46, 94, 0.95);
}

.editor-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: #001a3d;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.editor-fullscreen .editor-toolbar {
  flex-shrink: 0;
}

.editor-fullscreen .html-editor {
  flex: 1;
  overflow-y: auto;
  min-height: auto;
  max-height: none;
  margin: 0;
}

.editor-fullscreen .form-text {
  display: none;
}

.editor-fullscreen label {
  display: none;
}
.editor-toolbar .toolbar-btn {
  min-width: 36px;
  height: 32px;
  padding: 0 13px;
  background-color: transparent;
  border: 1px solid rgba(0, 46, 94, 0.3);
  cursor: pointer;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.editor-toolbar .toolbar-btn:hover {
  background-color: #002e5e;
  border-color: #002e5e;
  color: #FFFFFF;
}
.editor-toolbar .toolbar-btn strong, .editor-toolbar .toolbar-btn em {
  font-size: 12px;
  color: inherit;
}
.editor-toolbar .toolbar-btn strong {
  font-weight: 700;
}
.editor-toolbar .toolbar-btn em {
  font-style: italic;
}

.html-editor {
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #FFFFFF;
  counter-reset: section;
}
.html-editor[contenteditable="true"] {
  min-height: 500px;
  max-height: 800px;
  padding: 38px;
  border-bottom: 2px solid #002e5e;
  background-color: rgba(0, 46, 94, 0.15);
  overflow-y: auto;
}
.html-editor[contenteditable="true"]:focus {
  outline: none;
  background-color: rgba(0, 46, 94, 0.25);
  border-bottom-color: #003d7a;
}
.html-editor[contenteditable="true"]:empty:before {
  content: "Begin writing...";
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  font-size: 12px;
}
.html-editor h1, .html-editor h2, .html-editor h3, .html-editor h4, .html-editor h5, .html-editor h6 {
  font-family: 'Source Sans Variable', sans-serif;
  margin-top: 38px;
  margin-bottom: 13px;
  color: #FFFFFF;
  font-weight: 300;
  line-height: 1.2;
}
.html-editor h1 {
  font-size: 45px;
  margin-top: 0;
}
.html-editor h2 {
  font-size: 32px;
  margin-top: 51px;
  padding-top: 38px;
  border-top: 2px solid #002e5e;
  counter-increment: section;
}
.html-editor h2::before {
  content: counter(section, decimal-leading-zero) " / ";
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  font-weight: 400;
  display: block;
  margin-bottom: 13px;
}
.html-editor h3 {
  font-size: 22px;
  border-bottom: 2px solid #002e5e;
  padding-bottom: 13px;
  margin-bottom: 26px;
}
.html-editor h4 {
  font-size: 18px;
}
.html-editor p {
  margin-bottom: 19px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.85);
}
.html-editor blockquote {
  margin: 38px 0;
  padding-left: 26px;
  border-left: 3px solid #002e5e;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #FFFFFF;
  font-style: normal;
  font-weight: 300;
}
.html-editor ul, .html-editor ol {
  margin: 26px 0;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.85);
}
.html-editor ul {
  list-style-type: disc;
}
.html-editor ol {
  list-style-type: decimal;
}
.html-editor li {
  margin-bottom: 13px;
  line-height: 1.65;
}
.html-editor .highlight {
  padding: 19px 0 19px 26px;
  background-color: rgba(0, 46, 94, 0.25);
  border-left: 3px solid #003d7a;
  margin: 26px 0;
}
.html-editor strong {
  font-weight: 600;
  color: #FFFFFF;
}
.html-editor em {
  font-style: italic;
}
.html-editor a {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid #002e5e;
}
.html-editor a:hover {
  border-bottom-color: #FFFFFF;
}

.content-block {
  background-color: rgba(0, 46, 94, 0.15);
  border-left: 3px solid #002e5e;
  padding: 19px;
  margin-bottom: 19px;
}
.content-block .block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(0, 46, 94, 0.3);
}
.content-block .block-header span {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.content-block .block-header .block-actions {
  display: flex;
  gap: 6px;
}
.content-block .block-header .block-actions button {
  padding: 4px 8px;
  font-size: 10px;
}
.content-block .form-control {
  width: 100%;
  padding: 13px;
  border: none;
  border-bottom: 1px solid rgba(0, 46, 94, 0.3);
  background-color: transparent;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 12px;
  margin-bottom: 13px;
  color: #FFFFFF;
}
.content-block .form-control:focus {
  outline: none;
  border-bottom-color: #002e5e;
}
.content-block textarea.form-control {
  resize: vertical;
  border: 1px solid rgba(0, 46, 94, 0.3);
  padding: 13px;
  background-color: rgba(0, 46, 94, 0.25);
}
.content-block .mt-2 {
  margin-top: 13px;
}

.add-block-section {
  display: flex;
  gap: 13px;
  margin-top: 26px;
  align-items: center;
}
.add-block-section select {
  flex: 1;
  padding: 13px;
  border: none;
  border-bottom: 1px solid rgba(0, 46, 94, 0.3);
  background-color: transparent;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 12px;
  color: #FFFFFF;
}
.add-block-section select:focus {
  outline: none;
  border-bottom-color: #002e5e;
}
.add-block-section button {
  white-space: nowrap;
}

.alert {
  padding: 19px;
  margin-bottom: 26px;
  border-left: 2px solid;
}
.alert.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: #FFB3BA;
  border-left-color: #DC3545;
}

.mt-3 {
  margin-top: 19px;
}

@media (max-width: 768px) {
  .blog-item {
    padding: 26px 0 38px 13px;
    margin-bottom: 51px;
  }
  .blog-item h2 {
    font-size: 24px;
  }
  .blog-meta {
    font-size: 11px;
    margin-bottom: 19px;
  }
  .admin-card {
    padding: 19px;
  }
  .admin-card h3 {
    font-size: 20px;
  }
  .admin-card p {
    font-size: 14px;
  }
  .admin-table {
    font-size: 10px;
    overflow-x: auto;
    display: block;
  }
  .admin-table thead th, .admin-table tbody td {
    padding: 13px;
    font-size: 12px;
  }
  .editor-toolbar {
    padding: 13px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .editor-toolbar .toolbar-btn {
    min-width: 32px;
    height: 28px;
    padding: 0 6px;
    font-size: 11px;
  }
  .editor-toolbar span {
    display: none;
  }
  .html-editor[contenteditable="true"] {
    min-height: 400px;
    padding: 26px;
    font-size: 12px;
  }
  .add-block-section {
    flex-direction: column;
  }
  .add-block-section select, .add-block-section button {
    width: 100%;
  }
  .content-block .block-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .content-block .block-header .block-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 480px) {
  .blog-item {
    padding: 19px 0 26px 13px;
    margin-bottom: 38px;
  }
  .blog-item h2 {
    font-size: 20px;
  }
  .blog-meta {
    font-size: 10px;
  }
  .admin-card {
    padding: 13px;
  }
  .admin-card h3 {
    font-size: 18px;
  }
  .admin-table thead th, .admin-table tbody td {
    padding: 6px;
    font-size: 11px;
  }
  .editor-toolbar .toolbar-btn {
    min-width: 28px;
    height: 24px;
    font-size: 10px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #FFFFFF;
  background-color: #0a1929;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  height: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 0;
}

.content-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 77px 19px;
  margin-right: calc((100% - 720px) / 2 + 51px);
}
.content-container.hero-section {
  background-color: #002e5e;
  max-width: 100%;
  padding: 102px 19px;
  margin-bottom: 77px;
  margin-right: auto;
  border-bottom: 1px solid #003d7a;
}
.content-container.hero-section > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-logo {
  margin-bottom: 77px;
  padding-bottom: 51px;
  border-bottom: 2px solid #002e5e;
  text-align: left;
}
.dashboard-logo img {
  max-width: 240px;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .dashboard-logo {
    margin-bottom: 51px;
    padding-bottom: 38px;
  }
  .dashboard-logo img {
    max-width: 180px;
  }
}

body {
  counter-reset: section;
}

.content-container {
  counter-reset: section;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Sans Variable', sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: 45px;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
  font-weight: 300;
}
h1.highlight {
  color: #FFFFFF;
  border-left: 4px solid #003d7a;
  padding-left: 26px;
}

h2 {
  font-size: 32px;
  margin-top: 77px;
  margin-bottom: 19px;
  padding-top: 51px;
  border-top: 2px solid #002e5e;
  counter-increment: section;
}
h2::before {
  content: counter(section, decimal-leading-zero) " / ";
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  font-weight: 400;
  display: block;
  margin-bottom: 13px;
}

h3 {
  font-size: 22px;
  margin-top: 51px;
  margin-bottom: 19px;
}

h4 {
  font-size: 18px;
  margin-top: 38px;
  margin-bottom: 13px;
  font-weight: 500;
}

p {
  margin: 19px 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

a {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid #002e5e;
  transition: border-color 0.2s ease;
}
a:hover {
  border-bottom-color: #003d7a;
}

ul, ol {
  margin: 26px 0;
  padding-left: 32px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}
ul li, ol li {
  margin: 13px 0;
}

blockquote {
  border-left: 3px solid #002e5e;
  padding-left: 26px;
  margin: 51px 0;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #FFFFFF;
  font-style: normal;
  font-weight: 300;
}

.quote {
  border-left: 3px solid #002e5e;
  padding-left: 19px;
  margin: 38px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.highlight {
  border-left: 3px solid #003d7a;
  padding: 19px 0 19px 26px;
  margin: 38px 0;
  background-color: rgba(0, 46, 94, 0.15);
}

.spacer {
  height: 51px;
}

.youtube-embed {
  margin: 51px 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background-color: rgba(0, 46, 94, 0.25);
}
.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid #002e5e;
  background-color: transparent;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  text-align: center;
}
.btn:hover:not(:disabled) {
  background-color: #002e5e;
  border-color: #003d7a;
  color: #FFFFFF;
  border-bottom: 1px solid #003d7a;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #002e5e;
  color: #FFFFFF;
  border-color: #002e5e;
}
.btn-primary:hover:not(:disabled) {
  background-color: #003d7a;
  border-color: #003d7a;
}

.btn-sm {
  padding: 6px 13px;
  font-size: 10px;
}

.btn-secondary {
  border: none;
  color: #6c757d;
  background-color: transparent;
}
.btn-secondary:hover:not(:disabled) {
  background-color: transparent;
  color: #FFFFFF;
  border: none;
}

.btn-info {
  border-color: #0dcaf0;
  color: #0dcaf0;
  background-color: transparent;
}
.btn-info:hover:not(:disabled) {
  background-color: #0dcaf0;
  color: #001f3f;
  border-color: #0dcaf0;
}

.btn-success {
  border-color: #198754;
  color: #198754;
  background-color: transparent;
}
.btn-success:hover:not(:disabled) {
  background-color: #198754;
  color: #FFFFFF;
  border-color: #198754;
}

.btn-danger {
  border-color: #DC3545;
  color: #DC3545;
}
.btn-danger:hover:not(:disabled) {
  background-color: #DC3545;
  color: #FFFFFF;
}

.btn-icon {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  vertical-align: middle;
}
.btn-icon:hover:not(:disabled) {
  color: #002e5e;
  transform: scale(1.1);
}
.btn-icon:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-icon-danger {
  color: #DC3545;
}
.btn-icon-danger:hover:not(:disabled) {
  color: #bb2d3b;
  transform: scale(1.1);
}

.form-container {
  max-width: 480px;
  margin: 51px auto;
}

.form-group {
  margin-bottom: 26px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Source Sans Variable', sans-serif;
}

.form-control {
  width: 100%;
  padding: 13px;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid rgba(0, 46, 94, 0.3);
  background-color: transparent;
  color: #FFFFFF;
  transition: border-color 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-bottom-color: #002e5e;
  background-color: transparent;
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.alert {
  padding: 19px;
  margin: 26px 0;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 12px;
  border-left: 2px solid;
}

.alert-error {
  background-color: rgba(220, 53, 69, 0.1);
  color: #FFB3BA;
  border-left-color: #DC3545;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #A8F0B8;
  border-left-color: #28A745;
}

.alert-info {
  background-color: rgba(0, 46, 94, 0.2);
  color: rgba(255, 255, 255, 0.85);
  border-left-color: #002e5e;
}

.mt-3 {
  margin-top: 19px;
}

.mt-4 {
  margin-top: 26px;
}

@media (max-width: 768px) {
  html, body {
    font-size: 16px;
  }
  .content-container {
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 51px 19px;
    max-width: 100%;
  }
  .content-container.hero-section {
    padding: 64px 19px;
  }
  h1 {
    font-size: 36px;
    margin-bottom: 19px;
  }
  h2 {
    font-size: 28px;
    margin-top: 51px;
    padding-top: 38px;
    margin-bottom: 13px;
  }
  h3 {
    font-size: 22px;
    margin-top: 38px;
    margin-bottom: 13px;
  }
  h4 {
    font-size: 18px;
    margin-top: 26px;
  }
  p {
    font-size: 16px;
  }
  blockquote {
    margin: 38px 0;
    padding-left: 19px;
    font-size: 20px;
  }
  .highlight {
    padding: 13px 0 13px 19px;
    margin: 26px 0;
  }
  .spacer {
    height: 38px;
  }
  .btn {
    width: 100%;
    text-align: center;
    padding: 13px 19px;
  }
  .form-container {
    max-width: 100%;
    margin: 38px 0;
  }
}
@media (max-width: 480px) {
  html, body {
    font-size: 15px;
  }
  .content-container {
    padding: 38px 13px;
  }
  .content-container.hero-section {
    padding: 51px 13px;
  }
  h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  h2 {
    font-size: 24px;
    margin-top: 38px;
    padding-top: 26px;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 17px;
  }
  blockquote {
    font-size: 18px;
    padding-left: 13px;
  }
  .site-footer {
    margin-top: 64px;
    padding: 38px 0 26px 0;
  }
}

/* Content Editor Fixed Footer */
.content-editor-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #002e5e;
  border-top: 2px solid #002e5e;
  padding: 19px;
  display: flex;
  gap: 13px;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

.content-editor-footer .btn {
  min-width: 150px;
}

.content-editor-wrapper {
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .content-editor-footer {
    flex-wrap: wrap;
    gap: 10px;
  }
  .content-editor-footer .btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .content-editor-footer .btn {
    flex: 1 1 100%;
  }
}

/* Dialog/Modal Styles */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 41, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dialog-content {
  background-color: #0a1929;
  border: 2px solid #002e5e;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.dialog-header {
  padding: 26px;
  border-bottom: 2px solid #002e5e;
  background-color: rgba(0, 46, 94, 0.15);
}

.dialog-header h3 {
  margin: 0;
  font-size: 22px;
  color: #FFFFFF;
  font-family: 'Source Sans Variable', sans-serif;
  font-weight: 300;
}

.dialog-body {
  padding: 26px;
  flex: 1;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

.dialog-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.dialog-footer {
  padding: 19px 26px;
  border-top: 1px solid rgba(0, 46, 94, 0.3);
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}

.dialog-footer .btn {
  min-width: 100px;
}

/* AI Generate Button Styles */
.field-with-ai {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.field-with-ai > div {
  flex: 1;
}

.ai-generate-btn {
  padding: 13px;
  background-color: transparent;
  border: 1px solid rgba(0, 46, 94, 0.3);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  margin-top: 29px;
}

.ai-generate-btn:hover:not(:disabled) {
  background-color: #002e5e;
  border-color: #002e5e;
  color: #FFFFFF;
}

.ai-generate-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ai-generate-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .dialog-content {
    max-width: 95%;
  }

  .dialog-header {
    padding: 19px;
  }

  .dialog-body {
    padding: 19px;
  }

  .dialog-footer {
    padding: 13px 19px;
    flex-wrap: wrap;
  }

  .dialog-footer .btn {
    flex: 1;
    min-width: 0;
  }
}

/* Label with AI Button */
.label-with-ai {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.label-with-ai label {
  margin-bottom: 0;
}

.ai-label-btn {
  padding: 0;
  background-color: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  align-items: center;
  gap: 6px;
  font-family: 'Source Sans Variable', sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  font-weight: 400;
  text-transform: uppercase;
  user-select: none;
}

.ai-label-btn:hover:not(.disabled) {
  color: #FFFFFF;
}

.ai-label-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.ai-label-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ai-label-btn span {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .label-with-ai {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ai-label-btn {
    font-size: 9px;
    padding: 3px 8px;
  }

  .ai-label-btn svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .ai-label-btn span {
    display: none;
  }
}

/*# sourceMappingURL=app.css.map */
