/*  ██████╗ ███████╗███████╗██╗ ██████╗ ███╗   ██╗███████╗██████╗     ██████╗ ██╗   ██╗   
    ██╔══██╗██╔════╝██╔════╝██║██╔════╝ ████╗  ██║██╔════╝██╔══██╗    ██╔══██╗╚██╗ ██╔╝██╗
    ██║  ██║█████╗  ███████╗██║██║  ███╗██╔██╗ ██║█████╗  ██║  ██║    ██████╔╝ ╚████╔╝ ╚═╝
    ██║  ██║██╔══╝  ╚════██║██║██║   ██║██║╚██╗██║██╔══╝  ██║  ██║    ██╔══██╗  ╚██╔╝  ██╗
    ██████╔╝███████╗███████║██║╚██████╔╝██║ ╚████║███████╗██████╔╝    ██████╔╝   ██║   ╚═╝
    ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝╚═════╝     ╚═════╝    ╚═╝      
                                                                                      
    ██████╗ ███╗   ██╗██╗     ██╗███╗   ██╗███████╗               ██╗██████╗ ██████╗ 
    ██╔═══██╗████╗  ██║██║     ██║████╗  ██║██╔════╝              ███║╚════██╗╚════██╗
    ██║   ██║██╔██╗ ██║██║     ██║██╔██╗ ██║█████╗      █████╗    ╚██║ █████╔╝ █████╔╝
    ██║   ██║██║╚██╗██║██║     ██║██║╚██╗██║██╔══╝      ╚════╝     ██║██╔═══╝  ╚═══██╗
    ╚██████╔╝██║ ╚████║███████╗██║██║ ╚████║███████╗               ██║███████╗██████╔╝
    ╚═════╝ ╚═╝  ╚═══╝╚══════╝╚═╝╚═╝  ╚═══╝╚══════╝               ╚═╝╚══════╝╚═════╝                                                                                
*/

/*!
 * Custom overrides for BSD App.
 * Load this after styles.css to keep Bootstrap/Agency untouched.
 */

 /* FONTS */

 @font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap; 
 }

/* ========================== ICON SYSTEM ========================== */

/* Basis */
.icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0 0.5rem;
}

/* Größen */
.icon--sm { width: 0.75rem; height: 0.75rem; }
.icon--md { width: 1rem; height: 1rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 2rem; height: 2rem; }

/* Icons */
.icon--trash {
  background-image: url("/assets/icons/trash.svg");
}

.icon--edit {
  background-image: url("/assets/icons/pencil.svg");
}

.icon--mail {
  background-image: url("/assets/icons/envelope.svg");
}
.icon--search {
  background-image: url("/assets/icons/search.svg");
}
.icon--log-out {
  background-image: url("/assets/icons/person-x-fill.svg");
}

 :root {
   /* Color palette (from styles.css) for quick overrides in one place. */
   --bs-blue: #0d6efd;
   --bs-indigo: #6610f2;
   --bs-purple: #6f42c1;
   --bs-pink: #d63384;
   --bs-red: #dc3545;
   --bs-orange: #fd7e14;
   --bs-yellow: #ffc800;
   --bs-green: #198754;
   --bs-teal: #20c997;
   --bs-cyan: #0dcaf0;
   --bs-black: #000;
   --bs-white: #fff;
   --bs-gray: #6c757d;
   --bs-gray-dark: #343a40;
   --bs-gray-100: #f8f9fa;
   --bs-gray-200: #e9ecef;
   --bs-gray-300: #dee2e6;
   --bs-gray-400: #ced4da;
   --bs-gray-500: #adb5bd;
   --bs-gray-600: #6c757d;
   --bs-gray-700: #495057;
   --bs-gray-800: #343a40;
   --bs-gray-900: #212529;
   --bs-primary: #ffc800;
   --bs-secondary: #6c757d;
   --bs-success: #198754;
   --bs-info: #0dcaf0;
   --bs-warning: #ffc800;
   --bs-danger: #dc3545;
   --bs-light: #f8f9fa;
   --bs-dark: #212529;
   --bs-primary-rgb: 255, 200, 0;
   --bs-secondary-rgb: 108, 117, 125;
   --bs-success-rgb: 25, 135, 84;
   --bs-info-rgb: 13, 202, 240;
   --bs-warning-rgb: 255, 200, 0;
   --bs-danger-rgb: 220, 53, 69;
   --bs-light-rgb: 248, 249, 250;
   --bs-dark-rgb: 33, 37, 41;
   --bs-white-rgb: 255, 255, 255;
   --bs-black-rgb: 0, 0, 0;
   --bs-body-color-rgb: 33, 37, 41;
   --bs-body-bg-rgb: 255, 255, 255;
   --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
   --bs-body-color: #212529;
   --bs-body-bg: #fff;
   --bs-border-color: #dee2e6;
   --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
   --bs-link-color: #ffc800;
   --bs-link-hover-color: #cca000;
   --bs-code-color: #d63384;
   --bs-highlight-bg: #fff4cc;
   --app-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   --bs-body-font-family: var(--app-font-sans);
   --bs-font-sans-serif: var(--app-font-sans);
 }

 
 
 
 
 /*  ========================== CUSTOM STYLES ========================== */ 
 

 
 /* TYPOGRAPHY */

 body {
  font-family: var(--app-font-sans);
 }

 h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6,
 header.masthead .masthead-heading,
 header.masthead .masthead-subheading,
 .page-section h3.section-subheading,
 .section-heading,
 .section-subheading,
 .btn-xl,
 #mainNav .navbar-brand,
 #mainNav .navbar-toggler,
 #mainNav .navbar-nav .nav-link {
  font-family: var(--app-font-sans);
 }

 /* BTN */

 .btn-c {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: #000000;
  --bs-btn-bg: transparent;
  --bs-btn-border-width: 2px;
  --bs-btn-border-color: var(--bs-black);
  --bs-btn-border-radius: 3rem;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-white);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
 
 .btn-secondaryCustom {
   --bs-btn-color: #fff;
   --bs-btn-bg: #000000;
   --bs-btn-border-color: #6c757d;
   --bs-btn-hover-color: #fff;
   --bs-btn-hover-bg: #5c636a;
   --bs-btn-hover-border-color: #565e64;
   --bs-btn-focus-shadow-rgb: 130, 138, 145;
   --bs-btn-active-color: #fff;
   --bs-btn-active-bg: #565e64;
   --bs-btn-active-border-color: #51585e;
   --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
   --bs-btn-disabled-color: #fff;
   --bs-btn-disabled-bg: #6c757d;
   --bs-btn-disabled-border-color: #6c757d;
  }

  .btn-outline-secondaryCustom {
  --bs-btn-color: #000000;
  --bs-btn-border-color: #6c757d;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6c757d;
  --bs-btn-hover-border-color: #6c757d;
  --bs-btn-focus-shadow-rgb: 108, 117, 125;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6c757d;
  --bs-btn-active-border-color: #6c757d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #6c757d;
  --bs-gradient: none;
}

.btn-danger-ghost {
  --bs-btn-color: var(--bs-red);
  --bs-btn-bg: rgb(255, 241, 241);
  --bs-btn-border-color: #dc3545;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-red);
  --bs-btn-hover-border-color: #b02a37;
  --bs-btn-focus-shadow-rgb: 225, 83, 97;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b02a37;
  --bs-btn-active-border-color: #a52834;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #dc3545;
  --bs-btn-disabled-border-color: #dc3545;
}
  
  /* TEXT */
  
  .textP {
    text-align: left;
    font-size: 0.9rem;
    margin: 0.6rem 0rem;
    color: var(--bs-black);
  }

    .texthead {
    text-align: center;
    font-size: 2rem;
    font-weight: 200;
    margin: 0.6rem 0rem;
    color: var(--bs-black);
  }
    .textSubHead {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0.6rem 0rem;
    color: var(--bs-black);
  }
  
  .textPSpan {
    text-align: left;
    font-size: 0.9rem;
    font-weight: 800x;
    margin: 0.6rem 0rem;
    color: var(--bs-orange);
  }
  
  .textP--white {
    color: #fff;
  }
  
  
  .custom--margin-s {
    margin: 1.625rem 0rem 6.25rem;
  }

  
  .custom--textLeft {
    text-align: left;
    color: var(--bs-black);
  }
  
  .custom--textLeft--white {
    text-align: left;
    color: var(--bs-white);
  }
  .custom--textLeft--black {
    text-align: left;
    color: var(--bs-black);
  }

 .bg-blur {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  margin: 0px;
}
  
  /* CUSTOM FLEX BOXS*/
  
  .custom--dflexColum {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0rem;
  }
  
  .custom--dflexRow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.6rem;
  }
  
  /* CUSTOM STEPS */
  
  .custom--steps {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0 0 1.5rem;
  }
  
  .custom--step-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background-color: var(--step-color, rgba(255, 255, 255, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.6);
  }
  
  .custom--step-dot--done { --step-color: var(--bs-white); }
  .custom--step-dot--active { --step-color: var(--bs-black); }
  .custom--step-dot--idle { --step-color: rgba(255,255,255,0.35); }

  .reg-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 520px;
    margin: 0 auto 2rem;
    padding: 0 0.5rem;
  }

  .reg-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 11px;
    right: 11px;
    height: 1px;
    background-color: #111;
    transform: translateY(-50%);
  }

  .reg-step {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background-color: #f2d000;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
  }

  .reg-step.is-active {
    background-color: #111;
    color: #f2d000;
  }

  @media (max-width: 575.98px) {
    .reg-steps {
      max-width: 360px;
      margin-bottom: 1.5rem;
    }

    .reg-step {
      width: 2.5rem;
      height: 2.5rem;
      font-size: 1rem;
    }

    .reg-steps::before {
      height: 2px;
    }
  }
  
  header.mastheadS2 {
   padding-top: 10.5rem;
   padding-bottom: 6rem;
   text-align: center;
   color: #3cff00;
   background: center center / cover no-repeat scroll;
 }

header.masthead.onboarding-masthead {
  min-height: 100vh;
  min-height: 100dvh;
}
 
  header.mastheadS2--bg-step2 {
   background-image: url("../assets/img/bg__step2.png");
 }
  header.mastheadS2--bg-step3 {
   background-image: url("../assets/img/bg__step3.png");
 }
header.masthead.mastheadS2--bg-white {
  background-image: none;
  background-color: #fff;
  color: #000;
}

.success-illustration {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto 0;
}


header.mastheadCustom {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}

/* Keep form labels left-aligned even inside centered sections. */
.form-label {
  text-align: left;
  display: block;
}

.belt-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: flex-start;
}

.belt-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
}

.belt-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.belt-input:focus-visible + .belt-dot {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.belt-input:checked + .belt-dot {
  box-shadow: 0 0 0 5px var(--bs-link-color);
}

.belt-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.belt-dot--white { background-color: #ffffff; }
.belt-dot--blue { background-color: #2f6fd5; }
.belt-dot--purple { background-color: #7a3db8; }
.belt-dot--brown { background-color: #6b3f2a; }
.belt-dot--black { background-color: #111111; }

/* ========================== DASHBOARD USER ========================== */

.dashboard-page {
  min-height: 100vh;
  color: var(--bs-black);
  background:linear-gradient(180deg, rgb(255, 208, 37), rgba(41, 34, 0, 0.826)), url("../assets/img/monkeyfight1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dashboard-avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 1px solid #fff;
  margin: 40px 10px;
  overflow: hidden;
  background-color: var(--bs-white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.dashboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dashboard-belt {
  position: relative;
  min-width: 180px;
  height: 16px;
  border-radius: 0px 5px 0px 0px;
  border: 0.5px solid var(--bs-black);
  background-color: #ffffff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Dashboard belt color variants */
.dashboard-belt--white { background-color: #ffffff; }
.dashboard-belt--blue { background-color: #2f6fd5; }
.dashboard-belt--purple { background-color: #7a3db8; }
.dashboard-belt--brown { background-color: #6b3f2a; }
.dashboard-belt--black { background-color: #111111; }

.dashboard-belt-stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  right: calc(10px + var(--stripe-offset, 0px));
  background-color: var(--bs-black);
}

.dashboard-belt-stripe--white { background-color: #ffffff; }

/* Make stripes visible on dark belts */
.dashboard-belt--blue .dashboard-belt-stripe,
.dashboard-belt--purple .dashboard-belt-stripe,
.dashboard-belt--brown .dashboard-belt-stripe,
.dashboard-belt--black .dashboard-belt-stripe {
  background-color: #ffffff;
}

.dashboard-nav-btn {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.dashboard-nav-icon {
  width: 35px;
  height: 35px;
  display: block;
}

.dashboard-nav-btn:hover {
  background-color: #f7d500;
  border-color: #1b1b1b;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18), 0 12px 20px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.dashboard-nav-btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.35);
  outline-offset: 3px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18), 0 12px 20px rgba(0, 0, 0, 0.22);
}

.dashboard-nav-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.18);
}

.dashboard-nav-btn.is-active,
.dashboard-nav-btn[aria-current="page"] {
  --bs-btn-color: #000000;
  --bs-btn-bg: #ffc800;
  --bs-btn-border-color: #1b1b1b;
  --bs-btn-hover-color: #000000;
  --bs-btn-hover-bg: #f7d500;
  --bs-btn-hover-border-color: #1b1b1b;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: #e0b600;
  --bs-btn-active-border-color: #1b1b1b;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18), 0 12px 20px rgba(0, 0, 0, 0.22);
}

.dashboard-settings-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.dashboard-bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: var(--bs-white-rgb);
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom);
}

/* ========================== CALENDAR ========================== */

.calendar-card {
  background: var(--bs-white);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.calendar-table th {
  background: var(--bs-dark);
  color: var(--bs-warning);
  border-color: rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.calendar-table td {
  height: 3.2rem;
  border-color: rgba(0, 0, 0, 0.2);
}

.calendar-day {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 1;
  font: inherit;
}

.calendar-day--clickable {
  cursor: pointer;
}

.calendar-day--clickable:focus-visible {
  outline: 2px solid var(--bs-dark);
  outline-offset: 2px;
}

.calendar-day--training {
  background: var(--bs-warning);
  color: var(--bs-black);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7);
}

.calendar-day--today {
  background: var(--bs-dark);
  color: var(--bs-white);
}

.calendar-day--muted {
  color: var(--bs-gray-500);
}

.calendar-legend .calendar-day {
  width: 1rem;
  height: 1rem;
  font-size: 0.7rem;
}

@media (max-width: 575.98px) {
  .dashboard-avatar {
    width: 120px;
    height: 120px;
  }

  .dashboard-belt {
    min-width: 60px;
  }

  .dashboard-nav-btn {
    width: 87px;
    height: 87px;
  }
}

/* Card override (full copy for easy editing) */
.dashboard-card-grid .card {
  --bs-card-spacer-y: 1rem;
  --bs-card-spacer-x: 1rem;
  --bs-card-title-spacer-y: 0.5rem;
  --bs-card-border-width: 1px;
  --bs-card-border-color: var(--bs-border-color-translucent);
  --bs-card-border-radius: 0.375rem;
  --bs-card-box-shadow: ;
  --bs-card-inner-border-radius: calc(0.375rem - 1px);
  --bs-card-cap-padding-y: 0.5rem;
  --bs-card-cap-padding-x: 1rem;
  --bs-card-cap-bg: rgba(0, 0, 0, 0.03);
  --bs-card-cap-color: ;
  --bs-card-height: 174px;
  --bs-card-color: ;
  --bs-card-bg: #fff;
  --bs-card-img-overlay-padding: 1rem;
  --bs-card-group-margin: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 137px;
  height: 174px;
  word-wrap: break-word;
  background-color: var(--bs-card-bg);
  background-clip: border-box;
  border: var(--bs-card-border-width) solid var(--bs-card-border-color);
  border-radius: var(--bs-card-border-radius);
}

/* Dashboard cards look like the mock (yellow, diagonal shade, drop shadow) */
.dashboard-page .dashboard-card-grid .card,
.history-page--videos .dashboard-card-grid .card {
  --bs-card-border-radius: 14px;
  --bs-card-border-width: 0;
  --bs-card-bg: #f1c400;
  background: linear-gradient(180deg, #f7d500 0%, #efc400 100%);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18), 0 14px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.dashboard-page .dashboard-card-grid .card::after,
.history-page--videos .dashboard-card-grid .card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 45%;
  background: rgba(0, 0, 0, 0.12);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.dashboard-page .dashboard-card-grid .card-body,
.history-page--videos .dashboard-card-grid .card-body {
  background: url(../assets/img/bgMainModules.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1rem 0.75rem 1.2rem;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

.dashboard-page .dashboard-card-grid .card-body i,
.history-page--videos .dashboard-card-grid .card-body i {
  font-size: 1.35rem;
}

.dashboard-card-icon {
  width: 36px;
  height: 36px;
  display: block;
}

.dashboard-page .dashboard-card-grid .card-text,
.history-page--videos .dashboard-card-grid .card-text {
  font-size: 0.8rem;
  line-height: 1.15;
}

.dashboard-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.dashboard-card-section {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 137px);
  gap: 12px 14px;
  justify-content: center;
}

@media (min-width: 768px) {
  .dashboard-card-grid {
    grid-template-columns: repeat(3, 137px);
  }
}

@media (max-width: 340px) {
  .dashboard-card-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* ========================== GUSTAVO HISTORY PAGE & CARDS ========================== */

.history-page {
  --history-accent: #ffc800;
  --history-accent-rgb: 255, 200, 0;
  --history-hero-image: url("../assets/img/fightersFloor.png");
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(var(--history-accent-rgb), 0.18), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #f6f3ed 0%, #ffffff 45%, #f5f5f5 100%);
  color: #111;
}

.history-page--gustavo {
  --history-hero-image: url("../assets/img/blogHero.webp");
  --history-hero-position: 50% 60%;
}

.history-page--wurzeln {
  --history-hero-image: url("../assets/img/bjj-roots.png");
  --history-hero-position: 50% 5%;
}

.history-page--graduierung {
  --history-hero-image: url("../assets/img/grad-system.png");
  --history-hero-position: 50% 90%;
}

.history-page--videos {
  --history-hero-image: url("../assets/img/videos-more.png");
  --history-hero-position: 50% 15%;
}
.history-page--seminare {
  --history-hero-image: url("../assets/img/seminare.png");
  --history-hero-position: 50% 15%;
}
.history-page--regeln {
  --history-hero-image: url("../assets/img/regeln.png");
  --history-hero-position: 50% 15%;
}
.trainingTime--regeln {
  --history-hero-image: url("../assets/img/monkeyAllCourse.png");
  --history-hero-position: 50% 15%;
}

.history {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.history-hero {
  position: relative;
  height: 46vh;
  min-height: 320px;
  overflow: hidden;
  background-image: var(--history-hero-image);
  background-size: cover;
  background-position: var(--history-hero-position);
  background-repeat: no-repeat;
}

.history-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(var(--history-accent-rgb), 0.28) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(90deg, rgba(var(--history-accent-rgb), 0.2) 0%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
}

.history-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.history-hero__settings {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgb(0, 0, 0);
  background: rgb(255, 255, 255);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.history-hero__settings img {
  width: 20px;
  height: 20px;
}

.history-hero__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bs-primary);
  color: var(--bs-black)
}

.history-hero__title {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.history-hero__note {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #111;
  font-size: 1.2rem;
}

.history-hero__note-icon {
  width: 45px;
  height: 45px;
  display: block;
}

.history-content {
  position: relative;
  margin: -28px auto 26px;
  width: min(92%, 420px);
  background-color: #ffffff;
  border-radius: 26px;
  padding: 46px 22px 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.history-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/isotype.png");
  background-position: center 32px;
  background-size: 240px auto;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.history-content > * {
  position: relative;
  z-index: 1;
}

.history-content__icon {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #111;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.history-content__icon img {
  width: 26px;
  height: 26px;
}

.history-content h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 700;
}

.history-content p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1c1c1c;
}

.history-footer {
  display: flex;
  justify-content: center;
  width: min(92%, 420px);
  margin: 0 auto;
  padding: 0 0 18px;
}

.history-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: #0b0b0b;
  color: var(--bs-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.history-top-btn:hover {
  color: #111;
  background: var(--history-accent);
}

.history-top-btn:focus-visible,
.history-hero__settings:focus-visible {
  outline: 3px solid rgba(var(--history-accent-rgb), 0.9);
  outline-offset: 3px;
}

@media (min-width: 576px) {
  .history-hero__title {
    font-size: 1.8rem;
  }

  .history-content h2 {
    font-size: 1.4rem;
  }

  .history-content p {
    font-size: 1rem;
  }
}

/* ========================== ADMIN DASHBOARD ========================== */

.admin-dashboard-page {
  background: var(--bs-warning);
}

.admin-dashboard-container {
  width: 100%;
  max-width: 390px;
  padding-left: 20px;
  padding-right: 20px;
}

.admin-dashboard-hero {
  padding-bottom: 1.5rem;
}

.admin-dashboard-brand-title {
  margin-top: 0.5rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.admin-dashboard-brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.68);
}

.admin-dashboard-avatar {
  width: 138px;
  height: 138px;
  margin: 0 auto 1.5rem !important;
  border: 4px solid #111111;
  background: #ffffff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.admin-dashboard-name {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
}

.admin-dashboard-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
}

.admin-section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #d18a00;
}

.admin-section-description {
  max-width: 290px;
  margin: 0 auto;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.65);
}

.admin-search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background:var(--bs-white);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08), 0 6px 14px rgba(255, 255, 255, 0.2);
}

.admin-search-field:focus-within {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.admin-search-icon {
  position: absolute;
  left: 1rem;
  color: #caab12;
  font-size: 0.95rem;
}

.admin-search-input,
.admin-search-input:focus {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #111111;
  font-size: 0.92rem;
}

.admin-search-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.admin-filter-chip {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bs-black);
  color: var(--bs-white);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.admin-filter-chip:hover,
.admin-filter-chip:focus-visible {
  background: rgba(255, 255, 255, 0.48);
  color: #111111;
  border-color: rgba(0, 0, 0, 0.14);
}

.admin-filter-chip.is-active {
  background: #ffffff;
  color: #111111;
  border-color: #111111;
}

.admin-primary-action {
  min-height: 42px;
  border: 2px solid #111111;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

.admin-primary-action:hover,
.admin-primary-action:focus-visible {
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18);
}

.admin-edit-action {
  min-height: 42px;
  border: 2px solid #111111;
  background: #ffffff;
  color: #111111;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.admin-edit-action:hover,
.admin-edit-action:focus-visible {
  background: #f5f5f5;
  color: #111111;
  border-color: #111111;
}

.admin-edit-action i,
.admin-edit-action .icon {
  position: absolute;
  right: 1rem;
  margin: 0;
}

.admin-outline-action {
  position: relative;
  min-height: 42px;
  border: 2px solid #f2a190;
  background: #ffffff;
  color: #d24a39;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.admin-outline-action:hover,
.admin-outline-action:focus-visible {
  background: #fff4f1;
  color: #c93d2c;
  border-color: #e68a76;
}

.admin-outline-action i,
.admin-outline-action .icon {
  position: absolute;
  right: 1rem;
  margin: 0;
}

.admin-student-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.admin-student-card-header {
  padding: 0.7rem 0.9rem;
  background: #101010;
  color: #ffffff;
  border-bottom: 0;
}

.admin-student-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.admin-student-details {
  margin: 0;
}

.admin-student-form {
  margin: 0;
}

.admin-student-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.8rem;
}

.admin-student-detail-row:last-child {
  border-bottom: 0;
}

.admin-student-detail-row dt {
  margin: 0;
  font-weight: 700;
  color: #555555;
}

.admin-student-detail-row dd {
  margin: 0;
  color: #111111;
}

.admin-student-detail-value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  text-align: right;
}

.admin-student-belt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.admin-student-inline-input,
.admin-student-inline-select {
  width: auto;
  min-width: 96px;
  max-width: 140px;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  color: #111111;
  font-size: 0.78rem;
  line-height: 1.2;
}

.admin-student-inline-input--date {
  min-width: 132px;
}

.admin-student-inline-input:focus,
.admin-student-inline-select:focus {
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: none;
}

.admin-student-belt .belt-dot {
  width: 0.95rem;
  height: 0.95rem;
  border: 0;
  box-shadow: none;
}

.admin-dashboard-page .admin-students-section .admin-selected-student[data-state="closed"] {
  display: none;
}

.admin-dashboard-page .admin-students-section .admin-selected-student[data-state="open"],
.admin-dashboard-page .admin-students-section .admin-selected-student[data-state="edit"] {
  display: block;
}

.admin-dashboard-page .admin-students-section .admin-selected-student [data-student-action="edit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-dashboard-page .admin-students-section .admin-selected-student [data-role="input"],
.admin-dashboard-page .admin-students-section .admin-selected-student [data-student-action="save"] {
  display: none;
}

.admin-dashboard-page .admin-students-section .admin-selected-student[data-state="open"] span[data-role="display"] {
  display: inline;
}

.admin-dashboard-page .admin-students-section .admin-selected-student[data-state="open"] .admin-student-belt[data-role="display"] {
  display: inline-flex;
}

.admin-dashboard-page .admin-students-section .admin-selected-student[data-state="edit"] [data-role="display"] {
  display: none;
}

.admin-dashboard-page .admin-students-section .admin-selected-student[data-state="edit"] [data-role="input"] {
  display: inline-block;
}

.admin-dashboard-page .admin-students-section .admin-selected-student[data-state="edit"][data-dirty="true"] [data-student-action="save"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-dashboard-save-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1090;
  min-width: 180px;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--bs-success);
  color: var(--bs-white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
}

.admin-dashboard-save-toast.is-visible {
  animation: admin-dashboard-save-toast-flight 2.6s ease forwards;
}

@keyframes admin-dashboard-save-toast-flight {
  0% {
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }

  12%,
  38% {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  72% {
    top: calc(1.25rem + env(safe-area-inset-top));
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  100% {
    top: calc(1.25rem + env(safe-area-inset-top));
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.98);
  }
}

.admin-student-list {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.admin-student-list-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.9rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #434343;
  color: #ffffff;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 600;
}

.admin-student-list-item:first-child {
  border-top: 0;
}

.admin-student-list-item:hover,
.admin-student-list-item:focus-visible {
  background: #4b4b4b;
}

.admin-dashboard-page .admin-students-section .admin-student-list-item.is-active {
  background: #1f1f1f;
}

.admin-dashboard-page .admin-students-section .admin-student-list-item.is-active .admin-student-list-index,
.admin-dashboard-page .admin-students-section .admin-student-list-item.is-active i {
  color: #caab12;
}

.admin-student-list-index {
  color: rgba(255, 255, 255, 0.6);
}

.admin-student-list-item i {
  color: rgba(255, 255, 255, 0.7);
}

.admin-pagination-wrapper {
  padding: 1rem 0 0.25rem;
}

.admin-pagination-btn {
  min-width: 30px;
  height: 30px;
  padding: 0 0.45rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #7c5c00;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.admin-pagination-btn:hover,
.admin-pagination-btn:focus-visible {
  background: #fff7cf;
  color: #111111;
  border-color: rgba(0, 0, 0, 0.18);
}

.admin-pagination-btn.is-active {
  background: #f3c728;
  color: #111111;
  border-color: #111111;
}

.admin-pagination-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.58);
}

[data-approvals-page] [data-bulk-actions] .admin-outline-action {
  --bs-btn-disabled-color: rgba(210, 74, 57, 0.65);
  --bs-btn-disabled-bg: #ffffff;
  --bs-btn-disabled-border-color: rgba(242, 161, 144, 0.8);
}

[data-approvals-page] [data-bulk-actions] .btn:disabled {
  box-shadow: none;
}

[data-approvals-page] .admin-student-list-item.is-selected {
  background: #2d2d2d;
}

[data-approvals-page] .admin-student-list-item.is-selected .admin-student-list-index,
[data-approvals-page] .admin-student-list-item.is-selected [data-student-toggle-icon] {
  color: #caab12;
}

[data-approvals-page] .admin-student-list-item.is-selected [data-student-select] {
  background: #ffffff;
  color: #111111;
  border-color: rgba(0, 0, 0, 0.14);
}

[data-approvals-page] .admin-approval-requests {
  padding: 1rem;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-approvals-page] .admin-approval-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-approvals-page] .admin-approval-request:first-child {
  padding-top: 0;
  border-top: 0;
}

[data-approvals-page] .admin-approval-request:last-child {
  padding-bottom: 0;
}

[data-approvals-page] .admin-approval-request-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111111;
}

[data-approvals-page] .admin-approval-request-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.admin-dashboard-page .dashboard-bottom-nav {
  background: transparent;
}

@media (max-width: 359.98px) {
  .admin-dashboard-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-dashboard-name {
    font-size: 1.8rem;
  }

  .admin-student-list-item {
    font-size: 0.72rem;
  }
}

@media (max-width: 575.98px) {
  [data-approvals-page] .admin-approval-request {
    display: flex;
    flex-direction: row;
  }

  [data-approvals-page] .admin-approval-request-actions {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .admin-dashboard-page section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .admin-dashboard-page .admin-dashboard-hero {
    padding-bottom: 1.5rem;
  }
}

[data-approvals-page] .admin-approval-request-actions .btn {
  min-width: 140px;
}

/* ========================== DATE PICKER CALENDAR ========================== */

.calendar-day--selected {
  background-color: var(--bs-primary) !important;
  color: white !important;
  font-weight: bold;
  border: 2px solid var(--bs-dark) !important;
}

.calendar-day--selected:hover {
  background-color: var(--bs-primary) !important;
  opacity: 0.9;
}

#calendarModal .modal-dialog {
  max-width: 500px;
}

#calendarModal .calendar-table {
  margin-bottom: 0;
}

#calendarModal .calendar-day {
  min-height: 40px;
  min-width: 40px;
}

/* ========================== Modules ========================== */

.module-bsd-icon {
  display: block;
  width: 100%;
  height: 64px;
  background-image: url('/assets/icons/icon-bsd.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* ========================== Cards ========================== */

.card-custom {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.5rem;
  background-color: var(--bs-white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 1rem;
  color: var(--bs-dark);
  text-align: left;
}

.card-custom-row {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
}

.card-custom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.8rem;
  background-color: rgba(var(--bs-warning-rgb), 0.12);
}

.card-custom-icon img {
  width: 1.5rem;
  height: 1.5rem;
}

.profile-stat-content,
.next-level-main,
.next-level-estimate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile-stat-content {
  gap: 0.15rem;
}

#classCountLabel,
.next-level-label,
.next-level-estimate {
  font-size: 0.95rem;
}

#classCount {
  line-height: 1;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.card-custom-divider {
  width: 100%;
  height: 1px;
  background-color: var(--bs-gray-300);
}

.next-level {
  grid-template-columns: 3.25rem minmax(10rem, 1fr) minmax(7rem, 0.5fr);
}

.next-level-main {
  gap: 0.45rem;
}

.next-level-image {
  display: block;
  height: auto;
}

.next-level-estimate {
  align-self: end;
  min-height: 3rem;
  justify-content: center;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 1px solid var(--bs-gray-300);
}

#nextLevelDate {
  font-size: 1.1rem;
}

.card-custom-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-custom-hint-toggle {
  padding: 0;
  border: 0;
  background: transparent;
}

.card-custom-hint-text {
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  background-color: var(--bs-gray-100);
}

.card-custom-hint-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid #f0a700;
  border-radius: 999px;
  color: #f0a700;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .card-custom {
    padding: 0.9rem;
    gap: 0.9rem;
  }

  .card-custom-row,
  .next-level {
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 0.85rem;
  }

  .card-custom-icon {
    width: 3rem;
    height: 3rem;
  }

  .next-level-estimate {
    grid-column: 2;
    align-self: start;
    margin-top: 0.75rem;
    min-height: auto;
    padding-left: 0;
    border-left: 0;
  }

  .card-custom-hint {
    align-items: flex-start;
  }
}

/* ========================== Rules ========================== */

.headersRegeln {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
  margin: 0px 0px 1.25rem;
}

.headersRegeln h6 {
  margin: 0;
}

.containerRegeln {
  border: 0.1rem solid var(--bs-gray-300);
  margin: 0.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: 0.9rem;
}

/* ========================== ADMIN SEMINAR APPOINTMENT ========================== */

.admin-appointment-container {
  max-width: 980px;
}

.admin-appointment-page [hidden] {
  display: none !important;
}

.admin-appointment-header {
  max-width: 540px;
  margin-right: auto;
  margin-left: auto;
}

.admin-appointment-header .admin-section-description {
  max-width: 460px;
  font-size: 0.9rem;
}

.admin-appointment-logo {
  display: block;
  width: min(100%, 180px);
  margin-right: auto;
  margin-left: auto;
}

.admin-appointment-card,
.admin-seminar-empty-card,
.admin-seminar-preview-card,
.admin-seminar-stat-card {
  border-radius: 1rem;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.admin-appointment-control {
  min-height: 48px;
  border-color: rgba(0, 0, 0, 0.18);
  border-radius: 0.75rem;
}

textarea.admin-appointment-control {
  min-height: 132px;
}

.admin-appointment-control:focus {
  border-color: #111111;
  box-shadow: 0 0 0 0.2rem rgba(255, 200, 0, 0.35);
}

.admin-image-preview-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.9rem;
  background: var(--bs-white);
}

.admin-image-preview-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.admin-seminar-empty-card {
  border: 2px dashed rgba(0, 0, 0, 0.2) !important;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

.admin-seminar-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--bs-warning);
  color: var(--bs-black);
  font-size: 1.35rem;
}

.admin-seminar-preview-card {
  overflow: hidden;
}

.admin-seminar-preview-media {
  position: relative;
  min-height: 210px;
  background: #eeeeee;
}

.admin-seminar-preview-media > img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: contain;
  background-color: #f8f9fa;
}

.admin-seminar-preview-placeholder {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: rgba(0, 0, 0, 0.48);
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-seminar-preview-placeholder i {
  font-size: 2rem;
}

.admin-seminar-state-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--bs-warning);
}

.admin-seminar-state-dot--live {
  background: var(--bs-success);
}

.admin-seminar-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.admin-seminar-card-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: calc(100% - 6.5rem);
}

.admin-seminar-card-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  color: #111111;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.admin-seminar-card-action .icon {
  margin: 0;
}

.admin-seminar-card-action:hover,
.admin-seminar-card-action:focus-visible {
  color: #111111;
  border-color: #111111;
}

.admin-seminar-card-action--danger {
  color: #d24a39;
}

.admin-seminar-card-action--danger:hover,
.admin-seminar-card-action--danger:focus-visible {
  color: #c93d2c;
  border-color: #e68a76;
}

@media (min-width: 576px) {
  .admin-seminar-card-actions {
    flex-direction: row;
    max-width: calc(100% - 7rem);
  }
}

.admin-seminar-meta {
  display: grid;
  gap: 0.65rem;
}

.admin-seminar-meta > div {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.6rem;
}

.admin-seminar-meta dt,
.admin-seminar-meta dd {
  margin: 0;
}

.admin-seminar-meta dt {
  color: #b28600;
  text-align: center;
}

.admin-seminar-meta dd {
  color: #333333;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-seminar-stat-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-seminar-stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.admin-seminar-stat-title {
  min-height: 2.5rem;
  color: #555555;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

@media (min-width: 992px) {
  .admin-appointment-page .admin-appointment-card {
    position: sticky;
    top: 1rem;
  }
}

/* ========================== STUDENT SEMINARS ========================== */

.history-page--seminare [hidden] {
  display: none !important;
}

.history-page--seminare .history-hero__heading {
  min-width: 0;
}

.history-page--seminare .history-hero__description {
  max-width: 290px;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.history-page--seminare .history-hero__note {
  flex: 0 0 42px;
}

.student-seminar-list {
  display: grid;
  gap: 1.25rem;
}

.student-seminar-card,
.student-seminar-empty-state {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.student-seminar-media {
  position: relative;
  background: var(--bs-gray-200);
}

.student-seminar-media--empty {
  min-height: 4rem;
}

.student-seminar-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.student-seminar-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.student-seminar-meta {
  display: grid;
  gap: 0.7rem;
}

.student-seminar-meta > div {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
}

.student-seminar-meta dt,
.student-seminar-meta dd {
  margin: 0;
}

.student-seminar-meta dt {
  color: #b28600;
  text-align: center;
}

.student-seminar-meta dd {
  color: #333333;
  font-size: 0.92rem;
  font-weight: 700;
}

.history-content .student-seminar-description {
  margin-bottom: 0;
}

.student-seminar-participation {
  min-width: 0;
  padding: 0;
  border: 0;
}

.student-seminar-choice {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 2px solid #111111;
  border-radius: 999px;
  background: var(--bs-white);
  color: #111111;
  font-size: 0.9rem;
  font-weight: 700;
}

.student-seminar-choice:hover,
.student-seminar-choice:focus-visible {
  border-color: #111111;
  background: #fff6cc;
  color: #111111;
}

.student-seminar-choice:focus-visible {
  outline: 3px solid rgba(255, 200, 0, 0.7);
  outline-offset: 3px;
  box-shadow: none;
}

.student-seminar-choice[data-participation-choice="yes"].is-active,
.student-seminar-choice#btn-yes-1.is-active,
.student-seminar-choice[id^="btn-yes-"].is-active {
  background: var(--bs-warning);
  color: var(--bs-black);
  border-color: var(--bs-warning);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18);
}

.student-seminar-choice[data-participation-choice="no"].is-active,
.student-seminar-choice#btn-no-1.is-active,
.student-seminar-choice[id^="btn-no-"].is-active {
  background: var(--bs-warning);
  color: var(--bs-black);
  border-color: var(--bs-warning);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18);
}

.history-content .student-seminar-feedback {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.student-seminar-empty-state {
  border: 2px dashed rgba(0, 0, 0, 0.2) !important;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.student-seminar-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--bs-warning);
  color: var(--bs-black);
  font-size: 1.35rem;
}
