/* Define custom fonts */

@font-face {
  font-family: 'Peyda';
  font-style: normal;
  font-weight: 100;
  /* FF39+,Chrome36+, Opera24+*/
  src: url('../assets/fonts/Peyda-faNum/WebFonts/woff2/PeydaWebFaNum-Thin.woff2')
      format('woff2'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
      url('../assets/fonts/Peyda-faNum/WebFonts/woff/PeydaWebFaNum-Thin.woff')
      format('woff');
}

@font-face {
  font-family: 'Peyda';
  font-style: normal;
  font-weight: 300;
  /* FF39+,Chrome36+, Opera24+*/
  src: url('../assets/fonts/Peyda-faNum/WebFonts/woff2/PeydaWebFaNum-Light.woff2')
      format('woff2'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
      url('../assets/fonts/Peyda-faNum/WebFonts/woff/PeydaWebFaNum-Light.woff')
      format('woff');
}

@font-face {
  font-family: 'Peyda';
  font-style: normal;
  font-weight: normal;
  /* FF39+,Chrome36+, Opera24+*/
  src: url('../assets/fonts/Peyda-faNum/WebFonts/woff2/PeydaWebFaNum-Regular.woff2')
      format('woff2'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
      url('../assets/fonts/Peyda-faNum/WebFonts/woff/PeydaWebFaNum-Regular.woff')
      format('woff');
}

@font-face {
  font-family: 'Peyda';
  font-style: normal;
  font-weight: 500;
  /* FF39+,Chrome36+, Opera24+*/
  src: url('../assets/fonts/Peyda-faNum/WebFonts/woff2/PeydaWebFaNum-Medium.woff2')
      format('woff2'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
      url('../assets/fonts/Peyda-faNum/WebFonts/woff/PeydaWebFaNum-Medium.woff')
      format('woff');
}

@font-face {
  font-family: 'Peyda';
  font-style: normal;
  font-weight: bold;
  /* FF39+,Chrome36+, Opera24+*/
  src: url('../assets/fonts/Peyda-faNum/WebFonts/woff2/PeydaWebFaNum-Bold.woff2')
      format('woff2'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
      url('../assets/fonts/Peyda-faNum/WebFonts/woff/PeydaWebFaNum-Bold.woff')
      format('woff');
}

@font-face {
  font-family: 'Peyda';
  font-style: normal;
  font-weight: 900;
  /* FF39+,Chrome36+, Opera24+*/
  src: url('../assets/fonts/Peyda-faNum/WebFonts/woff2/PeydaWebFaNum-Black.woff2')
      format('woff2'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
      url('../assets/fonts/Peyda-faNum/WebFonts/woff/PeydaWebFaNum-Black.woff')
      format('woff');
}

@font-face {
  font-family: 'Morabba';
  src: url('../assets/fonts/moraba/MORABBA-REGULAR.TTF') format('truetype');
  font-weight: normal;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

input,
button {
  outline: none !important;
  border: none !important;
}

a {
  text-decoration: none !important;
  outline: none !important;
  color: black !important;
}

:root {
  --morabba-font-family: 'Morabba';
  --payda-font-family: 'Peyda';
  --c-brand-100: rgb(252, 221, 224, 1);
  --c-brand: rgb(236, 60, 78);
  --c-black-700: rgba(37, 38, 42, 1);
  --c-gray-10: rgba(246, 246, 246, 1);
  --c-gray-50: rgb(248, 248, 248);
  --c-white-400: rgba(255, 255, 255, 1);
  --c-gray-400: rgba(171, 171, 171, 1);
  --c-gray-700: rgba(48, 48, 48, 1);
  --c-gray-600: rgba(125, 125, 125, 1);
  --c-pending: rgba(255, 103, 17, 1);
  --c-done: rgba(37, 180, 77, 1);
}

body {
  font-family: var(--payda-font-family);
  background-color: var(--c-gray-50);
}

figure,
p {
  margin-bottom: 0;
}

.dir-ltr {
  direction: ltr;
}

.pointer {
  cursor: pointer;
}

.panel-brand-logo {
  display: block;
  width: auto;
  height: 2.4rem;
  max-width: 9rem;
  object-fit: contain;
}

.panel-brand-logo--mobile {
  height: 2.1rem;
  max-width: 7.5rem;
}

.register-page .nav-bar-logo .logo-img {
  height: 2.6rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
}

/* logout: white on dark mobile header */
.log-out-icon img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.py-medium {
  padding-block: 0.7rem !important;
}

/* font's */

.font-payda {
  font-family: var(--payda-font-family) !important;
}

.font-morabba {
  font-family: var(--morabba-font-family) !important;
}

.custom-font {
  font-size: clamp(0.85rem, 1.5vw, 0.8rem);
}

.fs-x-small {
  font-size: clamp(0.7rem, 3vw, 0.875rem);
}

.fs-xxs {
  font-size: 0.7rem;
}

.fs-xs {
  font-size: 0.87rem; /* 13.92px */
}

/* background color */

.bg-black-700 {
  background-color: var(--c-black-700);
}

.bg-gray-10 {
  background-color: var(--c-gray-10);
}

.bg-gray-50 {
  background-color: var(--c-gray-50);
}

.bg-brand {
  background-color: var(--c-brand);
}

.bg-brand-100 {
  background-color: var(--c-brand-100);
}

.bg-gray-700 {
  background-color: var(--c-gray-700);
}

/* text color */

.text-white-400 {
  color: var(--c-white-400) !important;
}

.text-gray-600 {
  color: var(--c-gray-600) !important;
}

.text-gray-400 {
  color: var(--c-gray-400) !important;
}

.text-brand {
  color: var(--c-brand) !important;
}

.text-pending {
  color: var(--c-pending);
}

.text-done {
  color: var(--c-done);
}

/* sizing */

.w-90 {
  width: 90%;
}

.h-full {
  height: 100vh;
}

.h-90 {
  height: 90vh;
}

/* border */

.border-gray-700 {
  border-color: var(--c-gray-700) !important;
}

/* aside */

.main-aside {
  position: sticky;
  min-height: 100%;
}

.main-aside-link {
  padding-block: 0.2rem;
  border-radius: 5px;
}

.main-aside-link:hover {
  background-color: rgba(48, 48, 48);
}

/* hover */

.gray-btn-hover {
  transition: all ease-in-out 0.3s;
}

.gray-btn-hover:hover {
  background-color: rgb(228, 228, 228);
}

.brand-100-hover {
  transition: all ease-in-out 0.4s;
}

.brand-100-hover:hover {
  background-color: var(--c-brand);
  color: #fff !important;
}

.brand-100-hover:hover path {
  fill: #fff;
}

/* main aside */
.main-aside-link.active {
  background-color: rgba(48, 48, 48, 1);
}

/* main nav */

.user-img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
}

.hamburger-icon {
  width: 2rem;
  height: 2rem;
}

/* saved ausbildung */

.ausbildung-share-btn {
  width: 25px;
  height: 25px;
  background-color: rgba(255, 255, 255, 0.8);
  top: 5px;
  right: 0.5rem;
}

.ausbildung-save-btn {
  width: 25px;
  height: 25px;
  background-color: rgba(255, 255, 255, 0.8);
  top: 5px;
  right: 2.5rem;
}

.ausbildung-save {
  width: 22px;
}

.ausbildung-share {
  width: 15px;
}

.ausbildung-img-container .ausbildung-img {
  width: 144px;
  height: 150px;
  object-fit: cover;
}

/* table's */

.table-tab-btn {
  width: 6.9rem;
}

.panel-table tr:nth-child(even) {
  background-color: var(--c-gray-50);
}

/* .custom-w {
  min-width: 500px !important;
} */

.tabs-line {
  width: 100%;
  height: 2px;
  bottom: 2px;
  background-color: var(--c-gray-10);
}

.table-tab-btn.active {
  font-weight: 500;
  color: var(--c-brand);
  border-bottom: 2px solid var(--c-brand) !important;
}

.panel-table {
  border-collapse: collapse;
}

.panel-table tr:first-child th:first-child {
  border-top-right-radius: 10px;
}

.panel-table tr:last-child td:first-child {
  border-bottom-right-radius: 10px;
}

.panel-table tr:last-child td:last-child {
  border-bottom-left-radius: 10px;
}

.panel-table tr:first-child th:last-child {
  border-top-left-radius: 10px;
}

/* save ausbildung page */

.save-ausbildung-container::-webkit-scrollbar {
  width: 12px;
  background-color: rgba(217, 217, 217, 1);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* ::-webkit-scrollbar-track */

.save-ausbildung-container::-webkit-scrollbar-thumb {
  background-color: rgba(114, 114, 114, 1);
}

/* user info */

.user-img-lg {
  width: 6rem;
  height: 6rem;
  object-fit: cover;
}

/* user info */

.user-info-felids {
  font-size: 0.8rem;
  border: 0;
  outline: none;
}

.user-info-felids:focus {
  box-shadow: 0 0 0 2px rgba(37, 38, 42, 0.08);
}

.user-info-felids:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.user-info-felids.phone-input[dir='ltr'],
.user-info-felids.phone-input[dir='auto'] {
  direction: ltr;
  text-align: left;
}

.phone-input[dir='auto']::placeholder {
  text-align: right;
}

/* write resume request */

.info-toast {
  background-color: rgba(255, 237, 175, 0.33);
  outline: 2px dashed rgba(255, 237, 175, 1);
}

.success-toast {
  background-color: rgba(130, 255, 172, 0.3);
  outline: 2px dashed rgba(130, 255, 172, 1);
}

@media screen and (max-width: 700px) {
  .panel-table td::before {
    content: attr(data-label);
    float: right;
    font-weight: bold;
    color: #000 !important;
  }
  .panel-table thead {
    display: none;
  }

  .panel-table tr {
    display: block;
    margin-bottom: 0.625em;
    position: relative;
  }

  .panel-table td {
    display: flex;
    font-size: 0.8em;
    text-align: right;
    gap: 10px;
  }

  .panel-table .operations-cell {
    position: absolute;
    left: 0;
    bottom: 0;
  }
}

@media (min-width: 45rem) {
  /* sizing */
  .w-md-100 {
    width: 100% !important;
  }

  .w-md-50 {
    width: 50% !important;
  }

  .w-md-45 {
    width: 45% !important;
  }

  /* background-color */

  /* main page */

  .main-container {
    padding-right: 70px;
  }

  .bg-md-white {
    background-color: white;
  }

  /* desktop header is light — black logout icon */
  .log-out-icon img {
    filter: none;
  }

  .log-out-icon path {
    fill: black;
  }

  /* saved ausbildung */

  .save-ausbildung {
    width: 15.25rem;
  }

  .ausbildung-img-container .ausbildung-img {
    height: auto;
    width: 100%;
    object-fit: cover;
  }

  /* sae ausbildung page */

  .save-ausbildung-container {
    max-height: 85vh;
    padding-bottom: 0.5rem !important;
  }
}

@media (min-width: 75rem) {
  /* sizing */

  .w-lg-50 {
    width: 50% !important;
  }

  /* main page */

  .main-container {
    padding-right: 240px;
  }
}

/* OTP / register pages */
.register-page {
  min-height: 100vh;
  background-color: rgba(37, 38, 42, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.register-form {
  max-width: 21rem;
}

.bg-gray-300 {
  background-color: #f0f0f0 !important;
}

.register-page .panel-otp-input,
.register-page .register-form .p-1.bg-gray-300 {
  background-color: #f0f0f0 !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 0.5rem !important;
  min-height: 3rem;
  align-items: center;
  box-shadow: none;
}

.panel-otp-input__icon {
  width: 2.5rem;
  flex-shrink: 0;
  color: #303030;
}

.panel-otp-input__icon svg {
  display: block;
}

.register-fields {
  border: none !important;
  outline: none !important;
  background-color: #f0f0f0 !important;
  color: #25262a !important;
  min-height: 2.5rem;
  width: 100%;
  font-size: 0.95rem;
}

.register-fields:focus,
.register-page .panel-otp-input:focus-within,
.register-page .panel-otp-input:focus-within .register-fields {
  background-color: #f0f0f0 !important;
}

.register-fields::placeholder {
  font-size: 0.8rem;
  color: #8a8a8a !important;
  opacity: 1;
}

.text-gray-200 {
  color: #9d9d9d !important;
}

.register-page a {
  color: #fff !important;
}

.register-page .text-brand,
.register-page a.text-brand {
  color: var(--c-brand) !important;
}

.panel-unsave-btn {
  cursor: pointer;
  line-height: 1;
}

/* ——— Panel list pages (consultations / services) ——— */
.panel-page {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 1rem 1.1rem 1.25rem;
  max-width: 920px;
}

.panel-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
}

.panel-page__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.panel-page__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #25262a;
}

.panel-page__sub {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #9a9a9a;
}

.panel-page__count {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b6b6b;
  background: #f6f6f6;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.panel-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
}

.panel-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  color: #555;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.panel-tab__count {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #eee;
  color: #666;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.panel-tab.is-active,
.panel-tab.active {
  background: rgba(236, 60, 78, 0.08);
  border-color: rgba(236, 60, 78, 0.35);
  color: #ec3c4e;
}

.panel-tab.is-active .panel-tab__count,
.panel-tab.active .panel-tab__count {
  background: #ec3c4e;
  color: #fff;
}

.panel-consult-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.panel-consult-card {
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.panel-consult-card:hover {
  border-color: #e2e2e2;
  box-shadow: 0 4px 14px rgba(37, 38, 42, 0.04);
}

.panel-consult-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.panel-consult-card__type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.panel-consult-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ec3c4e;
  flex-shrink: 0;
}

.panel-consult-card__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #25262a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  line-height: 1.2;
}

.panel-badge.is-ok {
  background: rgba(37, 180, 77, 0.12);
  color: #1e9a42;
}

.panel-badge.is-info {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.panel-badge.is-warn {
  background: rgba(255, 103, 17, 0.12);
  color: #d97706;
}

.panel-badge.is-bad {
  background: rgba(220, 53, 69, 0.1);
  color: #c62828;
}

.panel-consult-card__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.panel-consult-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.7rem 0.5rem;
  text-align: center;
  background: #f6f7f9;
  border: 1px solid #eef0f3;
  border-radius: 10px;
}

.panel-consult-meta__label {
  display: block;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 500;
  color: #8b9098;
  line-height: 1.3;
}

.panel-consult-meta__value {
  display: block;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 700;
  color: #25262a;
  line-height: 1.35;
  word-break: break-word;
}

.panel-consult-meta__value.dir-ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

.panel-consult-meta__value small {
  font-weight: 500;
  color: #8b9098;
  font-size: 0.68rem;
}

.panel-consult-card__foot {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-start;
}

.panel-pay-chip {
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
}

.panel-pay-chip.is-paid {
  background: rgba(37, 180, 77, 0.1);
  color: #1e9a42;
}

.panel-pay-chip.is-unpaid {
  background: rgba(236, 60, 78, 0.08);
  color: #ec3c4e;
}

.panel-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #888;
}

.panel-empty__icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.panel-empty__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #555;
}

.panel-empty__desc {
  margin: 0;
  font-size: 0.8rem;
  color: #9a9a9a;
}

/* ——— Support tickets ——— */
.panel-page--tickets {
  max-width: 820px;
}

.panel-ticket-new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: var(--c-brand, #ec3c4e);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
}

.panel-ticket-new-btn:hover {
  opacity: 0.92;
  color: #fff !important;
}

.panel-ticket-back {
  font-size: 0.82rem;
  font-weight: 600;
  color: #666;
  text-decoration: none;
}

.panel-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.panel-ticket-card {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.panel-ticket-card:hover {
  border-color: #e0e0e0;
  box-shadow: 0 4px 14px rgba(37, 38, 42, 0.05);
}

.panel-ticket-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.panel-ticket-card__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #9a9a9a;
  margin-bottom: 0.2rem;
}

.panel-ticket-card__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #25262a;
}

.panel-ticket-card__meta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #8b9098;
}

.panel-ticket-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 0.85rem;
  margin-bottom: 1rem;
}

.panel-profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.panel-profile-field--full {
  grid-column: 1 / -1;
}

.panel-profile-field__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #404040;
}

.panel-profile-field__input,
.panel-ticket-textarea {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #f5f5f5;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #25262a;
  outline: none;
}

.panel-ticket-textarea {
  resize: vertical;
  min-height: 140px;
  font-weight: 500;
  line-height: 1.7;
}

.panel-profile-field__input:focus,
.panel-ticket-textarea:focus {
  background: #fff;
  border-color: #d0d0d0;
  box-shadow: 0 0 0 3px rgba(37, 38, 42, 0.06);
}

.panel-profile-actions__btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: var(--c-brand, #ec3c4e);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
}

.panel-ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.panel-ticket-msg {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid #eee;
}

.panel-ticket-msg.is-user {
  background: #f7f7f8;
}

.panel-ticket-msg.is-staff {
  background: #f3f8ff;
  border-color: #d9e8ff;
}

.panel-ticket-msg__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  color: #777;
}

.panel-ticket-msg__body {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #303030;
  white-space: pre-wrap;
}

.panel-ticket-ok {
  background: rgba(37, 180, 77, 0.1);
  color: #1e9a42;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.panel-ticket-closed-note {
  background: #f6f6f6;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #666;
}

.panel-ticket-reply-form {
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
}

@media (max-width: 767.98px) {
  .panel-consult-card__meta {
    grid-template-columns: 1fr 1fr;
  }

  .panel-page__sub {
    display: none;
  }

  .panel-ticket-form__grid {
    grid-template-columns: 1fr;
  }

  .panel-page__head {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-ticket-new-btn {
    width: 100%;
  }
}


