@charset "utf-8";

/* CSS Document */
/*--------Fonts--------*/
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Thin.eot');
  src: url('../fonts/Barlow-Thin.eot?#iefix') format('embedded-opentype'), url('../fonts/Barlow-Thin.woff2') format('woff2'), url('../fonts/Barlow-Thin.woff') format('woff'), url('../fonts/Barlow-Thin.ttf') format('truetype'), url('../fonts/Barlow-Thin.svg#Barlow-Thin') format('svg');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-MediumItalic.eot');
  src: url('../fonts/Barlow-MediumItalic.eot?#iefix') format('embedded-opentype'), url('../fonts/Barlow-MediumItalic.woff2') format('woff2'), url('../fonts/Barlow-MediumItalic.woff') format('woff'), url('../fonts/Barlow-MediumItalic.ttf') format('truetype'), url('../fonts/Barlow-MediumItalic.svg#Barlow-MediumItalic') format('s.vg');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Italic.eot');
  src: url('../fonts/Barlow-Italic.eot?#iefix') format('embedded-opentype'), url('../fonts/Barlow-Italic.woff2') format('woff2'), url('../fonts/Barlow-Italic.woff') format('woff'), url('../fonts/Barlow-Italic.ttf') format('truetype'), url('../fonts/Barlow-Italic.svg#Barlow-Italic') format('svg');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-ThinItalic.eot');
  src: url('../fonts/Barlow-ThinItalic.eot?#iefix') format('embedded-opentype'), url('../fonts/Barlow-ThinItalic.woff2') format('woff2'), url('../fonts/Barlow-ThinItalic.woff') format('woff'), url('../fonts/Barlow-ThinItalic.ttf') format('truetype'), url('../fonts/Barlow-ThinItalic.svg#Barlow-ThinItalic') format('svg');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Regular.eot');
  src: url('../fonts/Barlow-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Barlow-Regular.woff2') format('woff2'), url('../fonts/Barlow-Regular.woff') format('woff'), url('../fonts/Barlow-Regular.ttf') format('truetype'), url('../fonts/Barlow-Regular.svg#Barlow-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Medium.eot');
  src: url('../fonts/Barlow-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Barlow-Medium.woff2') format('woff2'), url('../fonts/Barlow-Medium.woff') format('woff'), url('../fonts/Barlow-Medium.ttf') format('truetype'), url('../fonts/Barlow-Medium.svg#Barlow-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/*-------- Roboto Condensed Font --------*/
@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-v31-latin-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-v31-latin-italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-v31-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-v31-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-v31-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-v31-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Design System variables and core styles
   ========================================================================== */
:root {
  --dh-primary: #e67120;
  --dh-primary-hover: #d16218;
  --dh-secondary: #bb1120;
  --dh-secondary-hover: #9c0e1a;
  --dh-text: #777;
  --dh-dark: #2b3035;
  --dh-light: #f8f9fa;
  --dh-success: #198754;
  --dh-warning: #ffc107;
  --dh-info: #0dcaf0;
}

.text-dh-primary {
  color: var(--dh-primary);
}

.text-dh-secondary {
  color: var(--dh-secondary);
}

.text-dh-dark {
  color: var(--dh-dark);
}

.text-dh-light {
  color: var(--dh-light);
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--dh-text);
  background-color: #f4f6f8;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  color: #2b3035;
}

/* Custom transitions and components */
.transition-all {
  transition: all 0.3s ease;
}

/* Custom Buttons */
.btn-dh-primary {
  background-color: var(--dh-primary);
  border-color: var(--dh-primary);
  color: #fff;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.btn-dh-primary:hover,
.btn-dh-primary:focus {
  background-color: var(--dh-primary-hover);
  border-color: var(--dh-primary-hover);
  color: #fff;
}

.btn-dh-secondary {
  background-color: var(--dh-secondary);
  border-color: var(--dh-secondary);
  color: #fff;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.btn-dh-secondary:hover,
.btn-dh-secondary:focus {
  background-color: var(--dh-secondary-hover);
  border-color: var(--dh-secondary-hover);
  color: #fff;
}

/* Badge Styling */
.badge-prio1 {
  background-color: rgba(25, 135, 84, 0.15);
  color: #198754;
  border: 1px solid rgba(25, 135, 84, 0.3);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-prio2 {
  background-color: rgba(255, 193, 7, 0.15);
  color: #997404;
  border: 1px solid rgba(255, 193, 7, 0.3);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-keine {
  background-color: rgba(108, 117, 125, 0.15);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.3);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-active {
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.2);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-inactive {
  background-color: rgba(244, 63, 94, 0.1);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.2);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-archived {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.2);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Card Styling */
.card-dh {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card-dh-header {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 20px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Custom Table styles */
.table-dh {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.table-dh th {
  background-color: #fafafa;
  color: #2b3035;
  font-weight: 600;
}

/* Custom details styling */
.detail-label {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.detail-value {
  color: #333;
  font-weight: 500;
}

/* Timeline */
.timeline-dh {
  border-left: 2px solid #e9ecef;
  padding-left: 20px;
  position: relative;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--dh-primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(230, 113, 32, 0.15);
}

.timeline-time {
  font-size: 0.8rem;
  color: #999;
}

.timeline-title {
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-body {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.timeline-meta {
  font-size: 0.8rem;
  color: #777;
  margin-top: 4px;
}

/* Subtle table zebra striping */
.table tbody tr:nth-of-type(odd) td {
  background-color: #ffffff;
}

.table tbody tr:nth-of-type(even) td {
  background-color: #f6f8fa;
}

/* Highlight exhibition partners with a soft, premium light blue */
.table tbody tr.table-row-ausstellung td {
  background-color: #e8f4ff !important;
}

.table-hover tbody tr.table-row-ausstellung:hover td {
  background-color: #d6eaff !important;
}

/* Set Roboto Condensed for all table contents */
.table,
.table th,
.table td,
.table a,
.table span,
.table small,
.table div,
.table strong {
  font-family: 'Roboto Condensed', sans-serif !important;
}

/* Ensure FontAwesome icons inside tables keep their correct font family */
.table .fa {
  font-family: 'FontAwesome' !important;
}

/* Custom Active state for Dropdown items matching DH-Orange */
.dropdown-item.active,
.dropdown-item:active {
  background-color: #e67120 !important;
  color: #fff !important;
}

/* Mobile responsive navigation user area styles */
@media (max-width: 991.98px) {
  .dh-nav-user {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
  }
}