:root {
  --prox-dunkel: #29156b;
  --prox-nacht: #29306c;
  --prox-akzent: #3dc1cb;
  --prox-text: #233347;
  --prox-weich: #6d7d9a;
  --prox-linie: #e5ebf4;
  --prox-grund: #f7f9fd;
  --prox-weiss: #ffffff;
}

html,
body,
body#clean-theme-client {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.kopfbereich .menue {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.kopfbereich .menue li {
  list-style: none !important;
}

.kopfbereich,
.kopfbereich * {
  box-sizing: border-box;
}

body#clean-theme-client > .kopfbereich {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#clean-theme-client > .kopfbereich:first-child {
  margin-top: 0 !important;
}

body#clean-theme-client > .clear:first-child,
body#clean-theme-client > br:first-child {
  display: none !important;
}

/* remove top visual gap caused by #selectLang placeholder node */
body#clean-theme-client > #selectLang,
body#clean-theme-client > #selectCurrency {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

.kopfbereich table,
.kopfbereich tr,
.kopfbereich td,
.kopfbereich th {
  border: 0 !important;
  background: transparent !important;
}

.kopfbereich img {
  border: 0 !important;
  outline: 0 !important;
}

.kopfbereich .kontaktleiste,
.kopfbereich .navigation,
.kopfbereich nav {
  border: 0 !important;
  box-shadow: none !important;
}

.kopfbereich .marke img {
  width: 205px !important;
  height: auto !important;
  display: block !important;
}

body {
  color: var(--prox-text);
  background: linear-gradient(180deg, #f8fbff 0%, #f2f6fc 100%);
}

body#clean-theme-client {
  background: #ffffff !important;
}

#wrapper {
  width: min(1180px, calc(100% - 32px));
}

.clean-theme-header {
  background: linear-gradient(19deg, var(--prox-dunkel), var(--prox-akzent));
  color: var(--prox-weiss);
  box-shadow: 0 16px 36px rgba(21, 33, 68, 0.18);
}

.clean-theme-header-logo,
.clean-theme-header-right {
  min-height: 86px;
  display: flex;
  align-items: center;
}

.clean-theme-header-ac-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: var(--prox-weiss) !important;
  border-radius: 8px;
}

.clean-theme-header-ac-btn:hover {
  background: var(--prox-weiss);
  color: var(--prox-dunkel) !important;
}

.clean-theme-header .menu {
  background: rgba(14, 24, 56, 0.26) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.clean-theme-header .menu ul li > a {
  color: var(--prox-weiss);
  border-radius: 8px;
  margin: 6px 2px;
}

.clean-theme-header .menu ul li > a:hover,
.clean-theme-header .menu ul li > a#active {
  background: rgba(255, 255, 255, 0.18);
}

#mobmenu {
  background: linear-gradient(19deg, var(--prox-dunkel), var(--prox-akzent)) !important;
}

.wclientnotification,
.langandcur {
  border-radius: 12px;
  border: 1px solid var(--prox-linie);
  box-shadow: 0 20px 44px rgba(31, 54, 92, 0.14);
}

.wbox,
.leftbar-con,
.rightbar-con,
.padding20,
.padding30,
.ticketdetail,
.invoicex,
.tablepaket {
  border-radius: 10px;
}

.wbox,
.leftbar-con,
.rightbar-con,
.ticketdetail,
.invoicex,
.tablepaket {
  border: 1px solid var(--prox-linie);
  background: var(--prox-weiss);
  box-shadow: 0 16px 34px rgba(31, 54, 92, 0.08);
}

input:not([type="submit"]):not([type="button"]),
select,
textarea {
  border: 1px solid var(--prox-linie) !important;
  border-radius: 8px !important;
}

.yesilbtn,
.mavibtn,
.turuncbtn,
.redbtn,
button[type="submit"],
input[type="submit"] {
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--prox-dunkel), var(--prox-akzent)) !important;
  border: 0 !important;
  color: var(--prox-weiss) !important;
}

.clean-theme-footer {
  margin-top: 42px;
  background: var(--prox-nacht);
  color: rgba(255, 255, 255, 0.86);
  border-top: 0;
}

.clean-theme-footer #wrapper {
  min-height: 68px;
  display: flex;
  align-items: center;
}

.clean-theme-footer-left {
  color: rgba(255, 255, 255, 0.86);
}

a {
  transition: all 0.2s ease;
}

/* Service Center hero: make it blend with WiseCP layout */
body#clean-theme-client .held {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

body#clean-theme-client .held .innen {
  width: min(1400px, calc(100% - 56px));
  margin-left: auto;
  margin-right: auto;
}

body#clean-theme-client .held-inhalt {
  min-height: 430px;
  padding: 42px 0 64px;
  gap: 34px;
}

body#clean-theme-client .held h1 {
  font-size: clamp(34px, 3.1vw, 56px);
  line-height: 1.12;
  max-width: 900px;
}

body#clean-theme-client .held p {
  max-width: 760px;
  font-size: 18px;
}

body#clean-theme-client .held::after {
  height: 78px;
  bottom: -44px;
}

body#clean-theme-client .clean-theme-signinup-left img {
  display: block !important;
  margin: 0 auto 22px !important;
  max-width: 220px !important;
  width: 52% !important;
  height: auto !important;
}

/* Sign-in / Sign-up visual polish */
body#clean-theme-client .clean-theme-signinup-con {
  margin-top: 28px;
  margin-bottom: 24px;
}

body#clean-theme-client .clean-theme-signinup-right,
body#clean-theme-client .clean-theme-signinup-left {
  background: #fff;
  border: 1px solid var(--prox-linie);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(31, 54, 92, 0.08);
}

body#clean-theme-client .clean-theme-signinup-right {
  padding: 14px;
}

body#clean-theme-client .clean-theme-signinup-right input[type="text"],
body#clean-theme-client .clean-theme-signinup-right input[type="email"],
body#clean-theme-client .clean-theme-signinup-right input[type="password"],
body#clean-theme-client .clean-theme-signinup-right input[type="tel"],
body#clean-theme-client .clean-theme-signinup-right select,
body#clean-theme-client .clean-theme-signinup-right textarea {
  min-height: 50px !important;
  padding: 0 14px !important;
  border: 1px solid #cfd9e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-size: 16px !important;
  color: #233347 !important;
  box-sizing: border-box !important;
}

body#clean-theme-client .clean-theme-signinup-right input::placeholder,
body#clean-theme-client .clean-theme-signinup-right textarea::placeholder {
  color: #7d8ea8 !important;
  opacity: 1;
}

body#clean-theme-client .clean-theme-signinup-right input:focus,
body#clean-theme-client .clean-theme-signinup-right select:focus,
body#clean-theme-client .clean-theme-signinup-right textarea:focus {
  border-color: #3dc1cb !important;
  box-shadow: 0 0 0 3px rgba(61, 193, 203, 0.16);
  outline: none !important;
  padding-left: 14px !important;
}

body#clean-theme-client .clean-theme-signinup-right .yuzde50,
body#clean-theme-client .clean-theme-signinup-right .yuzde100 {
  margin-bottom: 12px;
}

body#clean-theme-client .clean-theme-signinup-right .clean-theme-btn,
body#clean-theme-client .clean-theme-signinup-right .mio-ajax-submit,
body#clean-theme-client .clean-theme-adduser-btn button {
  min-height: 48px;
  padding: 0 24px;
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--prox-dunkel), var(--prox-akzent)) !important;
  color: #fff !important;
  font-weight: 700;
}

body#clean-theme-client .clean-theme-signinup-right .iti {
  width: 100%;
}

body#clean-theme-client .clean-theme-signinup-right .iti--separate-dial-code .iti__selected-flag {
  border-right: 1px solid #d9e3f1;
  background: #f8fbff;
}

body#clean-theme-client .clean-theme-signinup-right .iti input,
body#clean-theme-client .clean-theme-signinup-right .iti input[type="tel"],
body#clean-theme-client .clean-theme-signinup-right .iti input[type="text"] {
  padding-left: 132px !important;
}

body#clean-theme-client .clean-theme-signinup-right .iti__selected-dial-code {
  margin-left: 8px;
  font-weight: 600;
  color: #2e4666;
}

/* intlTelInput legacy wrapper support (WiseCP old markup) */
body#clean-theme-client .clean-theme-signinup-right .intl-tel-input,
body#clean-theme-client .clean-theme-signinup-right .intl-tel-input.allow-dropdown,
body#clean-theme-client .clean-theme-signinup-right .intl-tel-input.separate-dial-code {
  width: 100% !important;
}

body#clean-theme-client .clean-theme-signinup-right .intl-tel-input input,
body#clean-theme-client .clean-theme-signinup-right .intl-tel-input input[type="tel"],
body#clean-theme-client .clean-theme-signinup-right .intl-tel-input input[type="text"],
body#clean-theme-client .clean-theme-signinup-right #gsm {
  padding-left: 142px !important;
}

body#clean-theme-client .clean-theme-signinup-right .intl-tel-input .selected-flag,
body#clean-theme-client .clean-theme-signinup-right .intl-tel-input .country-list {
  z-index: 50 !important;
}

@media only screen and (max-width: 1023px) {
  #wrapper {
    width: calc(100% - 20px);
  }

  .clean-theme-header-logo,
  .clean-theme-header-right {
    min-height: 74px;
  }

  body#clean-theme-client .held .innen {
    width: calc(100% - 24px);
  }

  body#clean-theme-client .held-inhalt {
    min-height: auto;
    padding: 28px 0 46px;
  }
}
