@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&display=swap');
:root
{
  --vprot: #CE2029;
  --titlegrey: rgba(80, 80, 80, 0.75);
  --card-radius: 16px;
  --shadow: 0 10px 25px rgba(16,23,40,.08);
  --accent-50:#9b9b9b; /* blue-50 */
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #FCFCFC;
  font-family: "Inter", sans-serif !important;
  background-image: url('../images/logovpback.png');
  background-repeat: no-repeat;
  background-size: 1000px;
  background-position: calc(100% + 100px) calc(100% + 300px);
  background-attachment: fixed;
}
h1
{
  font-size: 28px;
  color: var(--titlegrey);
}
h2
{
  font-size: 24px;
  color: var(--titlegrey);
}
.flex {
  display: flex;
}
a {
  text-decoration: none;
}
a:hover
{
  color: var(--vprot) !important;
  text-decoration: underline;
}
/* Center alignment */
.center {
  text-align: center;
}
.inter {
  font-family: "Inter", sans-serif;
}
.bodoni {
  font-family: "Libre Bodoni", serif;
}
.sm {
  font-size: 14px;
}
.md {
  font-size: 16px;
}
.ss {
  font-size: 13px;
}
.work-sans {
  font-family: "Work Sans", sans-serif;
}
.main {
  max-width: 590px;
  margin: auto;
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
}
.login-lang-switcher {
  position: fixed;
  top: 16px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 999;
}
.login-lang-switcher a,
.login-lang-switcher .lang-active,
.login-lang-switcher .lang-sep {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 0 3px;
  border-radius: 4px;
}
.login-lang-switcher a { color: #aaa; transition: color 0.15s; }
.login-lang-switcher a:hover { color: var(--vprot); text-decoration: none !important; }
.login-lang-switcher .lang-active { color: var(--vprot); }
.login-lang-switcher .lang-sep { color: #ddd; padding: 0; }
.form-logo {
  padding-bottom: 56px;
}
.f-login {
  padding: 48px 48px 40px 48px;
  box-shadow: 0 4px 15px #16161620;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: #ffffff79;
}
.form-logo,
.links {
  text-align: center;
}
.links {
  padding-top: 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
}
button, .btn-primary {
  background-color: var(--vprot);
  color: #ffffff;
  border: none;
  border-radius: 15px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
button:hover, .btn-primary:hover {
  background-color: #a8111c;
}
.btnClear
{
    background: transparent;
    border:0px;
    padding: 10px;
    border-radius: 5px;
    color: var(--vprot);
    width: 100%;
    height: 30px;
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
    font-size: 18px;
}
.btnClear:hover
{
  background: transparent;
  color: var(--GreyDark);
}
.FontColorRed
{
  color: var(--vprot);
}
.links a {
  color: #454a54;
}
.links img {
  width: 3px;
  height: 3px;
}
.label {
  padding-bottom: 8px;
  color: #4e5356;
  justify-content: space-between;
}
.input-field {
  padding: 12px 48px;
  border: 1px solid #4e535613;
  border-radius: 6px;
  width: 100%;
  color: #4e5356;
}
.inputs .input-field {
  padding-left: 48px;
}
select, input[type="text"] {
    /* width: 100%; ← Nur außerhalb von Flexbox */
    padding: 12px;
    max-width: 100%; /* Wichtig: Input nimmt volle Container-Breite */
    border: 1px solid var(--Grey);
    border-radius: 5px;
    font-size: 16px;
    cursor: text;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
    box-sizing: border-box; /* Wichtig */
    font-family: inherit;
    height: 45px;
    padding-right: 4rem; /* mehr Platz zwischen Text und Pfeil */
    font-family: 'Work Sans', sans-serif;
}
input[type="text"]:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
select:not([class*="flex"]),
input[type="text"]:not([class*="flex"]) {
    width: 100%;
    padding-right: 4rem;
    background-color: rgba(255, 255, 255, 0.4);
}
input[type="date"] {
    width: 100%;
    max-width: 100%; /* Wichtig: Input nimmt volle Container-Breite */
    padding: 12px;
    border: 1px solid var(--Grey);
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
    box-sizing: border-box; /* Wichtig */
}

input[type="date"]:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
select.highlight {
    border: 0px solid var(--Red);
    box-shadow: 0 0 8px rgba(206, 17, 38, 0.3),
                0 0 5px rgba(206, 17, 38, 0.3);
    animation: pulse-border 1.5s ease-in-out infinite;
}

@keyframes pulse-border {
    0%   { box-shadow: 0 0 8px rgba(206, 17, 38, 0.6), 0 0 8px rgba(206, 17, 38, 0.3); }
    50%  { box-shadow: 0 0 14px rgba(206, 17, 38, 0.9), 0 0 20px rgba(206, 17, 38, 0.5); }
    100% { box-shadow: 0 0 8px rgba(206, 17, 38, 0.6), 0 0 8px rgba(206, 17, 38, 0.3); }
}
/* Mobile Spezifisch */
@media (max-width: 768px) {
    input[type="date"] {
        font-size: 16px; /* ← Verhindert Auto-Zoom auf iOS */
        padding: 10px; /* ← Weniger Padding auf Mobile */
        max-width: 94%;
    }
}
input[type="radio"] {
    accent-color: var(--Red);
    }
input[type="checkbox"] {
    accent-color: var(--Red);
    }
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 12px;
    padding-right: 3rem; /* Platz für Pfeil */
    height: 45px;

    border: 1px solid var(--Grey);
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
    background: rgba(255, 255, 255, 0.4);

    /* Eigener Pfeil als SVG-Icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23666' d='M0,0 L10,0 L5,6 Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center; /* 🔹 hier Abstand einstellen */
    background-size: 10px 6px;

    box-sizing: border-box;
    transition: all 0.2s;
    cursor: pointer;
    }

    select:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    }
          
.inp-icon {
  position: absolute;
  padding: 12px 16px;
}
.forget {
  color: #ce1126;
}
.reg {
  color: #4e5356;
}
.login {
  background-color: #ce1126;
  color: #fff;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
}
.form-check {
  gap: 8px;
}
input[type="checkbox"] {
  accent-color: #ce1126;
}
/* trumf page css  */

/* side bar css  */
.parent {
    
    
    position: relative;
  width: 100%;
}
.sidebar {
  margin: 20px;
  position: fixed;
  left: 0;
  transition: 0.3s;
  width: 224px;
  height: calc(100vh - 40px);
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px #16161620;
  z-index: 600;
  /* overflow: auto; */
}

.chevron {
  cursor: pointer;
  transition: 0.3s;
}
.close-logo {
  display: none;
}

.logo img {
  padding: 13px 0 0 29px;
  width: 150px;
}
.sidebar .chevron {
  position: absolute;
  right: -13px;
  top: 2.5%;
  transform: translateY(-50%);

  width: 25px;
  height: 25px;
}
.menu {
  padding: 0 21px;
  height: calc(100% - 70px);
  overflow-y: auto;
  scrollbar-width: none;
}
.btn {
  font-family: "Inter", sans-serif !important;
  width: 100%;
  color: #ce2029;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 7px 9px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ffbfc2, #e76f76, #ce2029) border-box;
  background-color: #ffffff;
  margin-top: 24px;
  margin-bottom: 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  background:
    linear-gradient(#ce2029, #ce2029) padding-box,
    linear-gradient(90deg, #ffbfc2, #e76f76, #ce2029) border-box;
  box-shadow: 0 2px 8px rgba(206,32,41,0.3);
  color: #fff;
}
.btn img {
  width: 19px;
  transition: filter 0.2s ease;
}
.btn:hover img {
  filter: brightness(0) invert(1);
}
.btn.btn-retry {
  background: none;
  background-color: transparent;
  border: 1px solid var(--vprot);
  color: var(--vprot);
}
.size{
 height: 19px !important;
 object-fit: contain;
 object-position: center;
 /* width: auto !important; */
}
li {
  list-style: none;
}
.menu-links ul li {
  margin-bottom: 3.5px;
}
.menu-links ul li a {
  padding: 7px 9px;
  border-radius: 8px;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  display: flex;
  gap: 12px;
  color: #727272;
  font-size: 13px;
  transition: 0.3s ease-in-out;
}
.menu-links ul li a .red-icon{
  display: none;
}
.menu-links ul li a:hover,.menu-links ul li a.active{
  color: #CE2029;
  background-color: rgba(206, 32, 41, 0.14);
}

.menu-links ul li a:hover .red-icon,.menu-links ul li a.active .red-icon{
  display: inline;
}

.menu-links ul li a:hover .normal-icon,.menu-links ul li a.active .normal-icon{
  display: none;
}


.msg-nav-link { position: relative; }
.sidebar-unread-dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 9px;
  height: 9px;
  background: #e53e3e;
  border-radius: 50%;
  border: 2px solid #fff;
  pointer-events: none;
}
[data-theme="dark"] .sidebar-unread-dot { border-color: #1a1a1a; }

.menu-links ul li a img {
  width: 22px;
   object-fit: contain;
 object-position: center;
  flex-shrink: 0;
}
hr {
  border: 1px solid #e4e4e4;
  margin: 20px 0;
}
.menu-title {
  white-space: nowrap;
  color: #727272;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-left: 10px;
}
.container {

  margin-left: 254px;
  width: calc(100% - 254px);
  transition: margin-left 0.3s, width 0.3s;
}
.search-head {
  font-family: "Work Sans", sans-serif;
  justify-content: space-between;
  align-items: center;
  padding: 17px 40px 7px 20px;
  border-bottom: 1px solid #e4e4e4;
  position: sticky;
  top: 0;
  background-color: #FCFCFC;
  z-index: 500;
}
.container-content {
  min-height: 100vh;
  max-width: 1600px;
  padding: 0 40px 0 20px;
}
.search .search-field {
  width: 100%;
  font-family: "Work Sans", sans-serif;
  padding: 12px 16px 12px 56px;
  border-radius: 8px;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ce202921, #af196e1e, #9f168f22, #9013b220)
      border-box;
  box-shadow: inset 0 3px 5px #ce202913;
}
.search {
  position: relative;
  width: 400px;
}

.search img {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translate(0, -50%);
}
.info {
  gap: 20px;
  align-items: center;
}
.info-icons {
  gap: 10px;
  align-items: center;
}
.info-icons img {
  width: 24px;
}
.trump img {
  width: 33px;
}
/* Bell notification */
.bell-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.bell-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  outline: 2px solid transparent;
  outline-offset: 4px;
  border-radius: 50%;
  transition: outline-color .2s;
}
.bell-btn:hover {
  outline-color: var(--vprot);
  background: none;
}
.bell-btn img {
  width: 24px;
}
.bell-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
  line-height: 1;
}
.notif-popup {
  position: fixed;
  top: 60px;
  right: 12px;
  width: min(300px, calc(100vw - 24px));
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  z-index: 9999;
  overflow: hidden;
}
.notif-header {
  padding: 10px 14px;
  font-weight: 700;
  font-size: .9em;
  background: var(--vprot);
  color: #fff;
}
.notif-item {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  cursor: default;
}
.notif-item:last-child { border-bottom: none; }
.notif-item-title {
  font-weight: 600;
  font-size: .88em;
  color: #222;
}
.notif-item-date {
  font-size: .78em;
  color: #888;
  margin-top: 2px;
}
.notif-empty {
  padding: 14px;
  font-size: .85em;
  color: #999;
  text-align: center;
}
.notif-loading {
  padding: 14px;
  font-size: .85em;
  color: #aaa;
  text-align: center;
}
[data-theme="dark"] .notif-popup {
  background: rgba(30,30,30,0.88);
  border-color: #444;
}
[data-theme="dark"] .notif-header {
  background: var(--vprot);
}
[data-theme="dark"] .notif-item { border-color: #3a3a3a; }
[data-theme="dark"] .notif-item-title { color: #e0e0e0; }
.info-bar {
  gap: 11px;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.chev {
  width: 15px;
  transition: 0.3s;
}
.profile-toggle {
  display: flex;
  align-items: center;
}
.info-bar.open .chev {
  transform: rotate(180deg);
}
.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  display: none;
  flex-direction: column;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #e4e4e4;
  background: #ffffff;
  box-shadow: 0 4px 15px #16161620;
  z-index: 1100;
}
.info-bar.open .profile-dropdown {
  display: flex;
}
.profile-dropdown a {
  color: #727272;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 6px;
}
.profile-dropdown a:hover {
  background-color: #f8f8f8;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 10px 4px;
  border-top: 1px solid #f0f0f0;
  margin-top: 2px;
}
.lang-switcher a,
.lang-switcher .lang-active,
.lang-switcher .lang-sep {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 0 3px;
  border-radius: 4px;
}
.lang-switcher a {
  color: #aaa;
  background: none;
  transition: color 0.15s;
}
.lang-switcher a:hover {
  color: var(--vprot);
  background: none;
}
.lang-switcher .lang-active {
  color: var(--vprot);
}
.lang-switcher .lang-sep {
  color: #ddd;
  padding: 0;
}
[data-theme="dark"] .lang-switcher { border-color: #2e2e2e; }
[data-theme="dark"] .lang-switcher a { color: #555; }
[data-theme="dark"] .lang-switcher a:hover { color: var(--vprot); }
[data-theme="dark"] .lang-switcher .lang-sep { color: #333; }
.frame {
  width: 30px;
}
.im-btn {
  align-items: center;
  width: 190px;
  color: #ce2029;
  display: flex;
  gap: 12px;
  padding: 7px 9px;
  font-size: 17px;
  cursor: pointer;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ffbfc2, #e76f76, #ce2029) border-box;
  background-color: #ffffff;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
.im-btn:hover {
  background:
    linear-gradient(90deg, #ce2029, #e76f76) padding-box,
    linear-gradient(90deg, #ffbfc2, #e76f76, #ce2029) border-box;
  color: #fff;
  box-shadow: 0 6px 18px rgba(206, 32, 41, 0.35);
  transform: translateY(-2px);
}
.im-btn:hover img {
  filter: brightness(0) invert(1);
}
.im-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(206, 32, 41, 0.25);
}
.immi-text {
  gap: 16px;
  align-items: center;
  font-family: "Work Sans", sans-serif;
}
.order-country-tag {
  font-size: 17px;
  font-weight: 600;
  color: var(--vprot);
  background: rgba(206,32,41,0.08);
  border: 1px solid rgba(206,32,41,0.18);
  border-radius: 20px;
  padding: 5px 16px;
  white-space: nowrap;
}
[data-theme="dark"] .order-country-tag {
  background: rgba(206,32,41,0.15);
  border-color: rgba(206,32,41,0.3);
}
.order-nr-tag {
  font-size: 17px;
  font-weight: 600;
  color: #2e7db8;
  background: rgba(63,147,202,0.08);
  border: 1px solid rgba(63,147,202,0.2);
  border-radius: 20px;
  padding: 5px 16px;
  white-space: nowrap;
}
[data-theme="dark"] .order-nr-tag {
  background: rgba(63,147,202,0.15);
  border-color: rgba(63,147,202,0.3);
}
.immi-text p {
  font-size: 30px;
  font-weight: 700;
  color: #505050;
  font-family: "Work Sans", sans-serif;
}


.immi-subtitle{
  font-size: 23px;
  font-weight: 700;
  font-family: "Work Sans", sans-serif;
}
.immi-text{
  font-size: 13px;
  
}

.immi-link{
  color: #ce2029 !important;
  text-decoration: underline;
}
.immi-flex-2 {
  padding-top: 0 !important;
}
.grey-75{
  color: rgba(80, 80, 80, 0.75);
}

.immi-text a {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  line-height: 150%;
  color: rgba(114, 114, 114, 0.6);
  text-decoration: underline;
}
.im-btn img {
  width: 31px;
}

.immi {
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.immi>.flex{
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
/* cards */
.cards {
  display: flex;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
  padding: 20px 0;
}

.card {
  flex: 1;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 3px 15px #16161620;
  border-radius: 8px;
}
.blue {
  border: 1px solid rgba(63, 147, 202, 0.4);
  background:
    linear-gradient(259.14deg, rgba(63, 147, 202, 0.08) 41.07%, rgba(159, 201, 229, 0.08) 64.25%, rgba(255, 255, 255, 0.08) 84.83%) padding-box
}
.yellow {
  border: 1px solid rgba(242, 233, 109, 0.6);
  background:
    linear-gradient(50deg, #c3bb4e10 0%, #fff7830f 62%, #ffffff 100%)
      padding-box;
}
.green {
  border: 1px solid rgba(86, 190, 53, 0.5);
  background:linear-gradient(258.47deg, rgba(25, 103, 1, 0.1) 0%, rgba(32, 121, 4, 0.1) 25%, rgba(48, 144, 18, 0.1) 60%, #FFFFFF 100%) padding-box;
}
.card {
  position: relative;
}
.card-content {
  width: 100%;
  text-align: center;
  padding: 16px 0;
}
.card-icon {
  position: absolute;
  top: 18px;
  left: 20px;
  pointer-events: none;
}
.blue .card-num {
  font-size: 48px;
  font-weight: 700;
  color: #3f78dc;
}
.yellow .card-num {
  font-size: 48px;
  font-weight: 700;
  color: #baad00;
}
.blue .card-text {
  font-size: 18px;
  font-weight: 400;
  color: #3f78dc;
}
.yellow .card-text {
  font-size: 18px;
  font-weight: 400;
  color: #baad00;
}
.green .card-num {
  font-size: 48px;
  font-weight: 700;
  color: #259800;
}
.green .card-text {
  font-size: 18px;
  font-weight: 400;
  color: #259800;
}

/* table  */

.table-container {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  overflow-x: auto;
}
.table-container {
  padding: 20px 0;
  overflow-y: unset; /* vertical scroll */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll {
  max-height: 700px;
  overflow-y: auto;
}
.table-scroll .custom-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg, #fff);
}

/* table */
.custom-table tbody tr {
  transition: background-color 0.15s ease;
}
.custom-table tbody tr:hover {
  background-color: rgba(206, 32, 41, 0.14);
  cursor: pointer;
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  padding: 0 10px;

  min-width: 700px;
}

.flag-th {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  white-space: nowrap;
}
.flags {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  overflow: hidden;
}
.custom-table td:not(.flags),
.custom-table th:not(.flag-th) {
  white-space: nowrap;
}
.grey-600{
  color: #727272;
}
.flags-cont{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 50px;
  width: 100%;
}
.flags-cont img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .flags-cont {
    max-width: 30px;
  }
}
@media (max-width: 480px) {
  .flags-cont {
    max-width: 24px;
  }
}

.custom-table th,
.custom-table td {
  vertical-align: middle;
  border: none;
  padding: 5px;
}
.custom-table-2 th,.custom-table-2 td{
  padding: 12px 16px;
}

.custom-table-2 .actions{
  padding: 0 !important;
}
.custom-table th div{
  display: flex;
  align-items: center;
  gap: 5px;
}
/* header */

.custom-table thead th,
.grey {
  text-align: left;
  line-height: 150%;
  color: #72727260;
  padding: 12px 4px;
}

/* rows */
.custom-table tbody {
  border: none;
}
.custom-table tbody tr {
  background: rgba(252, 252, 252, 1);
  box-shadow: 0px 1px 8.2px 0px rgba(0, 0, 0, 0.14);
  border-radius: 4.2px;
}

.custom-table tbody tr td:first-child {
  border-top-left-radius: 4.2px;
  border-bottom-left-radius: 4.2px;
}

.custom-table tbody tr td:last-child {
  border-top-right-radius: 4.2px;
  border-bottom-right-radius: 4.2px;
}

.custom-table td {
  vertical-align: middle;
}

/* flags */
.flags .flags-cont {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: none;
  width: auto;
}
.flags .arrow {
  width: 12px;
  flex-shrink: 0;
}
.flags img:not(.arrow) {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.arow {
  width: 25px;
  margin-bottom: 10px;
  color: #454a54;
}
.arow svg {
  stroke: #727272;
}
.flags {
  align-items: center;
}
/* status */

.status {
  padding: 6px 0px;
  width: 130px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.done {
  background: #f0feed;
  color: #259800;
}

.running {
  background: #d8effc;
  color: #3f78dc;
}

.pending {
  background: #fdfbd888;
  color: #dbcc00;
}

/* actions */
.actions {
  display: flex;
  padding: 14px 0;
  gap: 10px;
}
.actions .icon-t {
  cursor: pointer;
  font-size: 21px;
}
.news {
  padding: 9px 16px 9px 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px #16161620;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-radius: 8px;
}
.new {
  justify-content: space-between;
}
.news-text {
  font-size: 12px;
  align-items: center;
  color: #727272;
  line-height: 150%;
  gap: 6px;
}
.news-text img {
  width: 7px;
}
.news-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(114, 114, 114, 0.6);
  font-size: 11px;
  text-decoration: underline;
}

.news-link img{
  height: 12px;
}
.sidebar {
  transition: 0.3s;
}
/* responsive */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle img {
  width: 26px;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 33px;
  margin-bottom: 20px;
}
.service {
  text-align: center;
  padding: 15px 15px 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 115px;
  box-shadow: 0px 4px 11.8px 0px rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

.service:hover{
  box-shadow: 0 0 18px rgba(206, 32, 41, 0.56);
}
.service a{
  color: #000000;
  text-decoration: none;
}
.service p {
  font-family: "work-sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.service img {
  margin: auto;
  width: 34px;
}

.menu .btn{
  white-space: nowrap;
}
/* profile page css start  */
.sans{
  font-family: 'Work Sans', sans-serif;
}
.profile-container{
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: 48px;
}
.profile-content{
  display: flex;
  flex-direction: column;
  gap:36px ;

}
.profile-pic img{
  height: 152px;
  border-radius: 50%;
}
.profile-pic{
  width: 100%;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 7px 8px 35px -6px  #0000000f;
}
.p-name{
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  color: #000000;
  padding-top: 10px;
}
.p-mail{
  font-size: 12px;
  
  line-height: 150%;
  color: #919191;
}
.profile-data{
  border-radius: 10px;
  box-shadow: 7px 8px 35px -6px  #0000000f;
  padding: 40px 30px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  /* width: 100%; */
}
.data-h{
   font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  color: #000000;
  padding-bottom: 30px;
}
.data-d{
  width: 100%;
}
.th{
  width: 35%;
  font-size: 14px;
  font-weight:700;
  color: #000000;
  line-height: 150%;
}
.td{
  font-size: 14px;
width: 65%;
  color: #000000;
  line-height: 150%;
  padding-left: 10px ;
}
.radio{
  margin-top: 50px;
}
.switch{
  position: relative;
  display: inline-block;
  width: 52px;
  height: 20px;
  margin-left: 7px;
}

.switch input{
  opacity: 0;
  width: 0;
  height: 0;
}

.slider{
  position: absolute;
  cursor: pointer;
  background-color: #dcdcdc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.3s;
}

.slider::before{
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 1px;
  top: 1px;
  /* bottom: 1px; */
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider{
  background-color: #4CAF50;
}

input:checked + .slider::before{
  transform: translateX(24px);
}
.profile-left-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-forms-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-form{
  border-radius: 10px;
  box-shadow: 7px 8px 35px -6px  #0000000f;
  padding: 30px;
}
.pro{
  gap: 30px;
  align-items: center;
}
.inputs-p{
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}
.label-p{
  display: flex;
  flex-direction: column;
  gap:8px;
  color: #404D61;
  line-height: 150%;
  font-weight: 500;
}
.input-field-p{
  font-size: 16px;
  font-family: 'Work Sans', sans-serif;
  padding: 10px 12px;
  border: 1px solid #E1E3E6;
  border-radius: 6px;
  width: 100%;
}
.profile-form select {
  font-size: 16px;
  font-family: 'Work Sans', sans-serif;
}
  .spei{
    padding: 12px;
    background-color: #D42E2A;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border: none;
    text-decoration: underline;
    border-radius: 5px;
    cursor: pointer;
  }
  .ver{
    color: #CE2029;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
  }
  .andern{
    font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  color: #000000;
  margin-bottom: 20px;
  }
.chev-down{
  height: 5px;
  position: absolute;
  right: 0;

  margin: 17px 17px 12px 0;
}
/* upload page css  */
.uploads-container{
display: grid;
grid-template-columns: 3fr 2fr;
column-gap: 40px;
}
.uploads-content{
  padding: 30px;
  border-radius: 10px;
  box-shadow: 7px 8px 35px -6px  #0000000f;
}
.drag{
    position: relative;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  padding: 30px 0;
 
}
.drag:highlight
{
  background: rgb(184, 14, 2);
	opacity: 2;
	transition: 0.4s;
}
.drag::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background:
    repeating-linear-gradient(90deg,#D8DAEB 0 4px,transparent 4px 10px) top,
    repeating-linear-gradient(90deg,#D8DAEB 0 4px,transparent 4px 10px) bottom,
    repeating-linear-gradient(0deg,#D8DAEB 0 4px,transparent 4px 10px) left,
    repeating-linear-gradient(0deg,#D8DAEB 0 4px,transparent 4px 10px) right;

  background-size: 100% 2px,100% 2px,2px 100%,2px 100%;
  background-repeat: no-repeat;
}
.drag img{
  height: 72px;
}
.drag img,.drag-format{
padding-bottom: 24px;
}
.up-t{
  padding: 10px 0;
  color: #85878D;
  font-size: 13px;
}
.drag-h{
  padding-bottom: 11px;
  font-size: 17px;
  line-height: 100%;
  font-weight: 500;
  color: #101111;
}
.drag-format{
  font-size: 13px;
  line-height: 150%;
  color: #7D7D7D;
}
.drag-btn{
  background-color: #ffffff;
  border:1px solid var(--vprot) ;
  color: var(--vprot) ;
  border-radius: 10px;
  padding:9px 15px ;
  font-size: 13px;
  font-weight:600;
}
.s-icon
{
  margin-right:20px;
}
.s-icon img{
  height: 24px;
}
.s-files{
  margin-top: 11px;
  border: 1px solid #D5D3E0;
  border-radius: 10px;
  padding: 10px 10px 10px 15px;
  align-items: center;
  width: 100%;
}
.doc-delete-btn {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.doc-delete-btn:hover {
  background: var(--vprot);
  border-color: var(--vprot);
  color: #fff;
}
.file-details{
  padding-left: 20px;
  width: 100%;
}
.percent img{
  height: 19px;
}
.bin img{
  height: 19px;
}
.bin{
  border: 1px solid #D5D3E0;
  border-radius: 10px;
  padding: 8px;
  
}
.percent{
  padding-top: 5px;
  align-items: center;
  font-size: 13px;
    line-height: 100%;
    color: #949FB1;
    word-spacing: 5px;
}
.file-name{
  font-size: 15px;
  font-weight: 600;
  line-height: 100%;
}
.selected{
  padding-top:20px ;
  font-size: 17px;
  font-weight: 600;
  line-height: 100%;
}
.upload-check{
  padding-left: 17px;
}
.check-inner input[type="checkbox"]{
  width: 25px;
  height: 25px;
  cursor: pointer;
  border-radius: 10px;
  border: transparent;
}
.check-inner{
  align-items: center;
}
.form-check{
  padding: 19px 0;
  justify-content: space-between;
  align-items: center;
}
.order-no{
  color: #333;
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid #E1E3E6;
}
.hoch{
    padding: 12px;
    background-color: var(--vprot);
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }
.hochdis{
    padding: 12px;
    background-color: var(--accent-50);
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }
  .uploads-option{
    padding: 20px 24px;
    box-shadow: 7px 8px 35px -6px  #0000000f;
    border-radius: 22px;
  }
  .opt-h{
    font-size: 14px;
    padding-bottom: 20px;
    line-height: 100%;
    color: #000000;
    font-weight: 600;
  }
  
  .rdot{
    font-size: 19px;
    font-weight: 900;
    color: #ce2029;
    padding-right: 6px;
  }
  .opt-para{
    font-size: 14px;
    line-height: 210%;
    color: #000000;
    padding-bottom: 30px;
  }
  /* news page css  */
  .news-container{
    display: grid;
    grid-template-columns: 3fr 2fr;
    
  }
  .news-60{
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .news-content{
    border: 1px solid transparent;
    background: 
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(#bfbfbf87 0%, #d4d4d491 15%, #ffffff)border-box;
    box-shadow: 7px 8px 35px -6px  #0000000f;
    padding: 19px 30px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .heading{
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    color: #000000;
  }
  .news-head{
    justify-content: space-between;
  }
  .date{
    padding-left: 30px;
    font-size: 13px;
    line-height: 150%;
    color: #85878D;
  }
  .n-para{
    font-size: 13px;
    line-height: 150%;
    color: #000000;
  }
  .news-chev{
    display: flex;
    align-items: center;
  }
  .news-chev a{
    font-size: 14px;
    line-height: 150%;
    color: #ce2029;
    text-decoration: none;
    /* padding-right: 10px; */
  }
  .news-chev img{
    height: 6px;
    margin-left: 10px;
  }
  .quick-links{
    padding: 20px 10px 20px 0;
    text-align: right;
    font-size: 10px;
     color: #AFAFAF;
  }
  .quick-links a{
    font-size: 10px;
     color: #AFAFAF;
  }
  /* news expand css  */
  .news-text{
  overflow: hidden;
  max-height: 60px;   /* height for ~7-8 lines */
  transition: max-height 0.4s ease;
}

.news-text.expand{
  max-height: 1000px; /* big value for full text */
  transition: max-height 0.3s ease;
}
/* table popup  */
.table-container {
    position: relative;
}

.column-toggle-trigger {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.column-popup {
    position: absolute;
    top: 45px;
    right: 10px;
    background: rgba(252, 252, 252, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 260px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    padding: 12px 0;
    display: none !important;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.column-popup.show {
    display: block !important;
}

.relative{
  position: relative;
}

.popup-header {
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.popup-header button {
    background: transparent !important;
    border: none !important;
    font-size: 15px;
    cursor: pointer;
    color: #9ca3af !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.popup-header button:hover {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
}

.column-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.column-list li {
    padding: 4px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.1s;
    font-size: 0.9rem;
    color: #374151;
}

.column-list li:hover {
    background: #f3f4f6;
}

.column-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--vprot);
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    align-self: center;
    cursor: pointer;
    position: relative;
    top: 0;
}

.column-list label {
    cursor: pointer;
    flex: 1;
    line-height: 1;
    margin: 0;
    align-self: center;
}

.popup-actions {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
}

.popup-actions button {
    padding: 6px 16px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
}

.popup-actions button[type="button"] {
    background: none;
    border: 1px solid #d1d5db;
    color: #374151;
}

.popup-actions button[type="button"]:hover {
    background: #f3f4f6;
}

.popup-actions button[type="submit"] {
    background: var(--vprot);
    border: none;
    color: white;
}

.popup-actions button[type="submit"]:hover {
    background: #1d4ed8;
}
/* table php  */
/* .column-popup{
position:absolute;
right:40px;
top:320px;
background:white;
padding:15px;
border-radius:10px;
box-shadow:0 10px 20px rgba(0,0,0,0.15);
display:none;
z-index:999;
} */

.column-popup label{
display:block;
margin-bottom:0px;
font-size:14px;
}

.column-popup button{
margin-top:10px;
padding:6px 12px;
border:none;
background:#000;
color:white;
border-radius:6px;
cursor:pointer;
}
@media (max-width: 1400px) {
  .service {
    height: 105px;
    padding: 10px 12px;
  }
  .service img {
    width: 28px;
  }
  .service p {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service {
    height: 100px;
    padding: 10px;
  }
}

@media (max-width: 992px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .uploads-container,.news-container,.profile-container{
    grid-template-columns: 1fr;
  }
  .pro {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .profile-form {
    padding: 20px;
  }
  .service {
    height: 95px;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .services {
    grid-template-columns: 1fr;
  }
  .service {
    max-height: none;
    padding: 12px 15px;
  }
  .profile-form{
    padding: 14px;
  }
}


@media (min-width: 768px) {
  
  /* close side bar css  */
  .sidebar.close {
    width: 65px;
  }
  .sidebar.close hr {
    margin: 18px 16px;
  }
  .sidebar.close .toogle {
    display: none;
  }
  .sidebar.close .menu-title {
    text-align: center;
    padding: 0;
  }
  .sidebar.close .menu {
    padding: 0;
  }
  .sidebar.close .btn {
    border: 0;
    gap: 0;
    padding: 0;
    justify-content: center;
  }
  .sidebar.close li a {
    justify-content: center;
  }
  .sidebar.close > .flex{
    justify-content: center;
  }
  .sidebar.close .close-logo img{
    width: 27px;
  }
  .sidebar.close .close-logo {
    flex-shrink: 0;
    display: block;
    padding: 13px 19px;
  }
  .sidebar.close .logo {
    display: none;
  }
  .sidebar.close .chevron {
    transform: rotate(50%);
  }
  .sidebar.close ~ .container{
    margin-left: 100px;
    width: calc(100% - 100px);
  }

  .sidebar.close .chevron img{
    transform: rotate(180deg);
  }
}

@media (max-width: 992px) {
  .search{
    width: max-content;
    flex-grow: 1;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .sidebar-closing::before{
    animation: sidebarOverlayClose 0.55s ease-in-out forwards;
  }

  @keyframes sidebarOverlayOpen {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0%);
    }
  }

  @keyframes sidebarOverlayClose {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  .sidebar {
    left: 0;
    top: 0;
    height: calc(100vh - 40px);
    transform: translateX(-120%);
    z-index: 1000;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .container {
    margin-left: 0;
    width: 100%;
  }

  .search{
    order: 3;
  }
  .info.flex{
    order: 2;
    width: fit-content;
    margin-left: auto;
  }
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
.theme-toggle {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #727272;
  flex-shrink: 0;
  transition: color 0.2s;
}
.theme-toggle:hover {
  color: var(--vprot);
  background: none;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===== DARK MODE OVERRIDES ===== */
[data-theme="dark"] body {
  background-color: #111111;
  color: #e0e0e0;
}
[data-theme="dark"] .sidebar {
  background-color: #1a1a1a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
[data-theme="dark"] .search-head {
  background-color: #141414;
  border-bottom-color: #2e2e2e;
}
[data-theme="dark"] .search-field {
  background: linear-gradient(#2c2c2c, #2c2c2c) padding-box,
    linear-gradient(90deg, #ce202921, #af196e1e, #9f168f22, #9013b220) border-box;
  color: #e0e0e0;
}
[data-theme="dark"] .search-field::placeholder { color: #666; }
[data-theme="dark"] .profile-dropdown {
  background: #2c2c2c;
  border-color: #2e2e2e;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
[data-theme="dark"] .profile-dropdown a { color: #a0a0a0; }
[data-theme="dark"] .profile-dropdown a:hover { background-color: #2a2a2a; }
[data-theme="dark"] .theme-toggle {
  color: #c0c0c0;
}
[data-theme="dark"] .theme-toggle:hover {
  color: var(--vprot);
}
[data-theme="dark"] hr { border-color: #2e2e2e; }
[data-theme="dark"] .menu-links ul li a { color: #a0a0a0; }
[data-theme="dark"] .menu-links ul li a .normal-icon { filter: invert(1) brightness(0.7); }
[data-theme="dark"] .menu-links ul li a:hover .normal-icon,
[data-theme="dark"] .menu-links ul li a.active .normal-icon { filter: none; }
[data-theme="dark"] .menu-links ul li a:hover,
[data-theme="dark"] .menu-links ul li a.active {
  background-color: rgba(206, 32, 41, 0.18);
}
[data-theme="dark"] .menu-title { color: #555; }
[data-theme="dark"] .btn {
  background: linear-gradient(#2c2c2c, #2c2c2c) padding-box,
    linear-gradient(90deg, #ffbfc2, #e76f76, #ce2029) border-box;
  background-color: #2c2c2c;
}
[data-theme="dark"] .btn:hover {
  background: linear-gradient(#3a1a1c, #3a1a1c) padding-box,
    linear-gradient(90deg, #ffbfc2, #e76f76, #ce2029) border-box;
  box-shadow: 0 2px 8px rgba(206,32,41,0.25);
}
[data-theme="dark"] .im-btn {
  background: linear-gradient(#2c2c2c, #2c2c2c) padding-box,
    linear-gradient(90deg, #ffbfc2, #e76f76, #ce2029) border-box;
  background-color: #2c2c2c;
}
[data-theme="dark"] .card {
  background: #2c2c2c;
  box-shadow: 0 3px 15px rgba(0,0,0,0.4);
}
[data-theme="dark"] .blue {
  border-color: rgba(63, 147, 202, 0.3);
  background: linear-gradient(259.14deg, rgba(63, 147, 202, 0.15) 41.07%, rgba(159, 201, 229, 0.08) 64.25%, #2c2c2c 84.83%) padding-box;
}
[data-theme="dark"] .yellow {
  border-color: rgba(242, 233, 109, 0.3);
  background: linear-gradient(50deg, rgba(195,187,78,0.15) 0%, rgba(255,247,131,0.08) 62%, #2c2c2c 100%) padding-box;
}
[data-theme="dark"] .green {
  border-color: rgba(86, 190, 53, 0.3);
  background: linear-gradient(258.47deg, rgba(25,103,1,0.2) 0%, rgba(32,121,4,0.15) 25%, rgba(48,144,18,0.1) 60%, #2c2c2c 100%) padding-box;
}
[data-theme="dark"] .custom-table tbody tr {
  background: rgba(28, 28, 28, 1);
  box-shadow: 0px 1px 8.2px 0px rgba(0,0,0,0.4);
}
[data-theme="dark"] .custom-table thead th,
[data-theme="dark"] .grey { color: rgba(160,160,160,0.5); }
[data-theme="dark"] .grey-600 { color: #888; }
[data-theme="dark"] .news { box-shadow: 0 4px 15px rgba(0,0,0,0.4); }
[data-theme="dark"] .news-text { color: #888; }
[data-theme="dark"] .news-content {
  background: linear-gradient(#2c2c2c, #2c2c2c) padding-box,
    linear-gradient(#3a3a3a87 0%, #2a2a2a91 15%, #2c2c2c) border-box;
  box-shadow: 7px 8px 35px -6px rgba(0,0,0,0.4);
}
[data-theme="dark"] .heading { color: #e8e8e8; }
[data-theme="dark"] .n-para { color: #c0c0c0; }
[data-theme="dark"] .date { color: #666; }
[data-theme="dark"] .quick-links,
[data-theme="dark"] .quick-links a { color: #444; }
[data-theme="dark"] .service {
  background-color: #2c2c2c;
  box-shadow: 0px 4px 11.8px 0px rgba(0,0,0,0.4);
}
[data-theme="dark"] .service a { color: #e0e0e0; }
[data-theme="dark"] .service p { color: #e0e0e0; }
[data-theme="dark"] .immi-text p { color: #e0e0e0; }
[data-theme="dark"] .s-files { border-color: #333; }
[data-theme="dark"] .doc-delete-btn {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: #aaa;
}
[data-theme="dark"] .column-popup {
  background: rgba(20, 20, 20, 0.95);
  border-color: #333;
}
[data-theme="dark"] .popup-header {
  border-bottom-color: #333;
  color: #e0e0e0;
}
[data-theme="dark"] .column-list li { color: #c0c0c0; }
[data-theme="dark"] .column-list li:hover { background: #2a2a2a; }
[data-theme="dark"] .popup-actions { border-top-color: #333; }
[data-theme="dark"] .popup-actions button[type="button"] {
  border-color: #3a3a3a;
  color: #c0c0c0;
  background: none;
}
[data-theme="dark"] .popup-actions button[type="button"]:hover { background: #2a2a2a; }
[data-theme="dark"] .label { color: #8a8f94; }
[data-theme="dark"] .input-field {
  background-color: #2c2c2c;
  border-color: rgba(255,255,255,0.1);
  color: #e0e0e0;
}
[data-theme="dark"] .input-field::placeholder { color: #555; }
[data-theme="dark"] .f-login {
  background-color: rgba(20,20,20,0.85);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
[data-theme="dark"] .links a { color: #888; }
[data-theme="dark"] .reg { color: #888; }
[data-theme="dark"] .p-name,
[data-theme="dark"] .data-h,
[data-theme="dark"] .th,
[data-theme="dark"] .td,
[data-theme="dark"] .andern,
[data-theme="dark"] .opt-h,
[data-theme="dark"] .opt-para { color: #e0e0e0; }
[data-theme="dark"] .p-mail { color: #666; }
[data-theme="dark"] .profile-pic,
[data-theme="dark"] .profile-data,
[data-theme="dark"] .profile-form,
[data-theme="dark"] .uploads-content,
[data-theme="dark"] .uploads-option {
  box-shadow: 7px 8px 35px -6px rgba(0,0,0,0.4);
}
[data-theme="dark"] .order-no {
  background-color: #2c2c2c;
  color: #e0e0e0;
  border-color: #333;
}
[data-theme="dark"] .drag-h { color: #e0e0e0; }
[data-theme="dark"] .drag-format { color: #777; }
[data-theme="dark"] .drag::before {
  background:
    repeating-linear-gradient(90deg,#444 0 4px,transparent 4px 10px) top,
    repeating-linear-gradient(90deg,#444 0 4px,transparent 4px 10px) bottom,
    repeating-linear-gradient(0deg,#444 0 4px,transparent 4px 10px) left,
    repeating-linear-gradient(0deg,#444 0 4px,transparent 4px 10px) right;
  background-size: 100% 2px,100% 2px,2px 100%,2px 100%;
  background-repeat: no-repeat;
}
[data-theme="dark"] .file-name { color: #e0e0e0; }
[data-theme="dark"] .percent { color: #666; }
[data-theme="dark"] .selected { color: #e0e0e0; }
[data-theme="dark"] .drag-btn {
  background-color: #2c2c2c;
  color: var(--vprot);
}
[data-theme="dark"] .status.done { background: #1a2e17; }
[data-theme="dark"] .status.running { background: #122030; }
[data-theme="dark"] .status.pending { background: #252217; }


@media (max-width: 768px) {
  .custom-table {
    min-width: 700px;
  }
}
@media (max-width: 768px) {
  .search-head {
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 20px 20px 10px;
  }

  .search {
    width: 100%;
    max-width: unset;
  }

  .search-field {
    width: 100%;
  }

  .info {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    gap: 16px;
  }

  .card {
    width: 100%;
  }

  .card-content {
    margin-right: 0;
  }
}
@media (max-width: 900px) {
  .new {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .news-link {
    align-self: flex-start;
  }
}
@media (max-width: 768px) {
  .container-content {
    padding: 0 20px 0 10px;
  }

  .immi {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .immi > .flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .immi-text p {
    font-size: 22px;
  }
}
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;

  margin: 16px auto;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  animation: slideIn 0.35s ease-out;
  position: relative;
}
/* Erfolg */
.alert.success {
  background: rgba(46, 204, 113, 0.15);    /* halbtransparentes Grün */
  border-left: 6px solid rgba(46, 204, 113, 0.8);
  color: #1e824c;
  backdrop-filter: blur(12px);              /* Weichzeichnung */
  -webkit-backdrop-filter: blur(12px);      /* Safari */
}

/* Fehler */
.alert.error {
  background: rgba(231, 76, 60, 0.15);      /* halbtransparentes Rot */
  border-left: 6px solid rgba(231, 76, 60, 0.8);
  color: #a83226;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Icon */
.alert-icon {
  font-size: 22px;
  flex-shrink: 0;
  width:30px;
}

/* Textinhalt */
.alert-content {
  flex-grow: 1;
}

/* Schließen-Button */
.alert-close {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 14px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.alert-close:hover {
  opacity: 1;
}

/* Einblende-Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiveness */
@media (max-width: 480px) {
  .alert {
    font-size: 15px;
    padding: 14px 16px;
  }
  .alert-icon {
    font-size: 20px;
  }
}
.MargTop20
{
  margin-top: 20px;
}
.MargTop40
{
  margin-top: 40px;
}
.MargTop10
{
  margin-top: 20px;
}
.MargTop15
{
  margin-top: 15px;
}
.CursorPointer
{
  cursor: pointer;
}
#orderOverlay,
#loginOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.45);
  align-items: center;
  justify-content: center;
}
#orderOverlay.active,
#loginOverlay.active {
  display: flex;
  animation: overlayFadeIn 0.3s ease forwards;
}
@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.login-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(206, 32, 41, 0.2);
  border-top-color: #ce2029;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* (A) UPLOAD ZONE */
  #upzone.highlight {
	background: rgb(184, 14, 2);
	opacity: 2;
	transition: 0.4s;
  }
 .upzone {
	width: 100%;
	height: 165px; 
	background: #f1f1f1;
	border:3px dashed #cccccc;
	padding: 2px;
	text-align:center;
	border-radius: 5px;
  }
  .upzone.highlight {
	background: rgb(184, 14, 2);
	opacity: 2;
	transition: 0.4s;
  }
  
  /* (B) UPLOAD FORM */
  #upform {
	display: none;
  }
  .panel { 
    width: 100%;
    max-width: 710px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--card-radius); 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    padding: 54px;
    padding-bottom:40px;
    padding-top:40px;
    margin: 20px; 
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Schwach oben/rechts */
    border-left-color: rgba(255, 255, 255, 0.6);   /* Hell links - jetzt 1px */
    border-bottom-color: rgba(255, 255, 255, 0.6); /* Hell unten - jetzt 1px */
    /*z-index: 999; /* ÜBER Corner-Navigation (100), UNTER Burger-Menü (10000+) */
    position: relative;
}

/* Heller Rahmen links und unten */
.panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    padding: 1px; /* Border-Breite */
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.6) 0%,    /* Links unten: hell */
        rgba(255, 255, 255, 0.3) 25%,   /* Um die Ecke */
        rgba(255, 255, 255, 0.1) 50%,   /* Fade out */
        transparent 100%                 /* Oben rechts: unsichtbar */
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
@media (max-width: 700px) {
    .panel {
        margin: 10px; /* Weniger Margin auf mobilen Geräten */
        padding: 22px; /* Weniger Padding auf mobilen Geräten */
    }
  }
.info-wrapperSW {
  position: relative;
  display: inline-block; /* wichtig: bleibt in der Textzeile */
  vertical-align: middle; /* optisch schön mittig */
  margin-left: 4px; /* kleiner Abstand zum Text */
}
/* Das „i“-Symbol */
.info-icoSW {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #f1f1f1;
  border:1px solid var(--vprot);
  color: var(--vprot);
  font-weight: bold;
  font-family: sans-serif;
  cursor: pointer;
}

.info-wrapperSW {
    position: relative;
    display: inline-block;
}

/* Standardmäßig nach rechts */
.info-boxSW {
    position: absolute;
    left: 35px;
    top: -10px;
    background-color: var(--vprot);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    font-size: 14px;
    line-height: 1.3;
    width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 999;
}

/* Für Karten in der rechten Spalte — Box nach links */
.info-cards-grid .info-card:nth-child(even) .info-boxSW {
    left: auto;
    right: 35px;  /* nach links öffnen */
}

/* Pfeil normal (zeigt nach links) */
.info-boxSW::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -15px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent var(--vprot) transparent transparent;
}

/* Pfeil für rechte Spalte (zeigt nach rechts) */
.info-cards-grid .info-card:nth-child(even) .info-boxSW::before {
    left: auto;
    right: -15px;
    border-color: transparent transparent transparent var(--vprot);
}

/* Sichtbar bei Hover */
.info-wrapperSW:hover .info-boxSW {
  opacity: 1;
  visibility: visible;
}
        .error-message {
            display: none;
            position: relative;
            top: 100%;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            padding: 12px 15px;
            border-radius: 0 0 12px 12px;
            font-size: 14px;
            font-weight: 500;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            pointer-events: none;
            z-index: 10;
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);

        }

        .error-message::before {
            content: '';
            position: absolute;
            top: -6px;
            left: 20px;
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-bottom: 6px solid #e74c3c;
        }

        .error-message.show {
            display: block;
            opacity: 1;
            transform: translateY(0);
            pointer-events: all;
            animation: shake 0.5s ease-in-out;
        }
		/* Schließen-Button */
		.error-message .close-btn {
		position: absolute;
		top: 4px;
		right: 6px;
		background: transparent;
		border: none;
		color: white;
		font-size: 20px;
		font-weight: bold;
		cursor: pointer;
		line-height: 1;
		}

		.error-message .close-btn:hover {
		color: #f1c0c0;
		}
        .error-icon {
            display: inline-block;
            margin-right: 8px;
            font-size: 16px;
        }
         /* Fehler-Popup Overlay */
        .submit-overlayCO {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            animation: fadeIn 0.3s ease;
        }

        .submit-overlayCO.show {
            display: flex;
        }
        /* Fehler-Popup Overlay */
        .error-overlayCO {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            animation: fadeIn 0.3s ease;
        }

        .error-overlayCO.show {
            display: flex;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* Fehler-Popup */
        .error-popupCO {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 450px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            overflow: hidden;
        }

        @keyframes slideUp {
            from {
                transform: translateY(100px) scale(0.9);
                opacity: 0;
            }
            to {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
        }

        /* Fehler Header */
        .error-headerCO {
            background: var(--vprot);
            padding: 30px;
            text-align: center;
            position: relative;
        }
        .warning-headerCO {
            background: linear-gradient(135deg, #FFC43A 0%, #FFC43A 100%);
            padding: 30px;
            text-align: center;
            position: relative;
        }
        .error-iconCO {
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            animation: shake 0.5s ease;
        }

        .error-iconCO i {
            font-size: 40px;
            color: #ff6b6b;
        }
        .warning-iconCO {
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            animation: shake 0.5s ease;
        }
        .warning-iconCO i {
            font-size: 40px;
            color: #FFC43A;
        }
        .error-headerCO h3 {
            color: white;
            font-size: 24px;
            margin: 0;
        }

        /* Fehler Body */
        .error-bodyCO {
            padding: 30px;
        }

        .error-messageCO {
            color: #666;
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 20px;
            text-align: center;
        }

        .error-listCO {
            background: #fff5f5;
            border-left: 4px solid var(--vprot);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            max-height:250px;
            overflow-y: auto;
        }
        .warning-listCO {
            background: #fffced;
            border-left: 4px solid #FFC43A;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            max-height:250px;
            overflow-y: auto;
            color:#000000;
        }
        .error-list-titleCO {
            font-weight: 600;
            color: var(--vprot);
            margin-bottom: 12px;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .warning-list-titleCO {
            font-weight: 600;
            color: #000000;
            margin-bottom: 12px;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .error-listCO ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .error-listCO li {
            padding: 6px 0;
            color: #666;
            font-size: 14px;
            padding-left: 6px;
        }

        .error-listCO li:before {
            content: "•";
            color: var(--vprot);
            font-weight: bold;
            font-size: 20px;
            line-height: 1;
            margin-right: 5px;
        }

        /* Fehler Footer */
        .error-footerCO {
            padding: 0 30px 30px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
            gap: 10px;
        }
        .error-footerCO .btn {
            width: 100%;
            justify-content: center;
            align-items: center;
            margin-top: 0;
            margin-bottom: 0;
        }
        .btn-warning{
            background: #FFC43A;
            border: 1px solid #FFC43A;
        }

.img-wrapper .initials {
   
    object-fit: cover;
}
.initials {
    width: 152px;
    height: 152px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}
.profile-pic img{
  height: 152px;
  width: 152px;
  border-radius: 50%;
}
.profile-pic{
  width: 100%;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 7px 8px 35px -6px #0000000f;
}

.img-wrapper{
  position: relative;
  display: inline-block;
}

.overlay_img{
  position: absolute;
  top: 0;
  left: 0;
  height: 152px;
  width: 152px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.601);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: 0.3s;
  cursor: pointer;
  font-size: 11px;
}

.img-wrapper:hover .overlay_img{
  opacity: 6;
}

.overlay_img i span{
  font-size: 11px;
  margin-bottom: 5px;
  color: #ffffff;
}
.over-pic img{
  height: 48px;
}
.p-name{
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  color: #000000;
  padding-top: 10px;
}
.p-mail{
  font-size: 12px;
  
  line-height: 150%;
  color: #919191;
}
.profile-data{
  border-radius: 10px;
  box-shadow: 7px 8px 35px -6px  #0000000f;
  padding: 40px 30px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  /* width: 100%; */
}
  .photo-container {
    --size: 120px; /* Standardgröße */
    --border: calc(var(--size) * 0.01); /* 4 % der Gesamtgröße → passt sich automatisch an */
    --font: calc(var(--size) * 0.4);    /* 40 % der Größe = Initialen-Textgröße */
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    overflow: hidden;
    background: #e9ecef;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-container.sm  { --size: 30px; }
.photo-container.md  { --size: 120px; }
.photo-container.lg  { --size: 200px; }
    .initials-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font);     /* skaliert automatisch mit --size */
    font-weight: bold;
    color: var(--vprot);
    background: #e9ecef;
}  
/* Konfetti-Layer: liegt ganz oben, blockiert keine Klicks */
  .confetti-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
  }

  .confetti {
    position: absolute;
    top: -10vh;
    width: var(--size, 8px);
    height: calc(var(--size, 8px) * 0.6);
    background: var(--color, #ff7a59);
    left: var(--x, 50%);
    transform: translateZ(0);
    border-radius: 1px;
    opacity: 0;
    animation: fall var(--dur, 3.5s) linear var(--delay, 0s) 1 both,
               sway var(--dur, 3.5s) ease-in-out var(--delay, 0s) 1 both;
    /* etwas 3D-Schimmer */
    box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 6px rgba(0,0,0,.08) inset;
  }

  /* Dreieck & Streifen-Varianten */
  .confetti.is-tri { clip-path: polygon(50% 0, 0 100%, 100% 100%); }
  .confetti.is-bar { height: calc(var(--size, 8px) * 2); border-radius: 2px; }

  @keyframes fall {
    0%   { transform: translate3d(0, -10vh, 0) rotateX(0) rotateZ(0); opacity: 0; }
    5%   { opacity: 1; }
    100% { transform: translate3d(var(--drift, 0px), 110vh, 0) rotateX(720deg) rotateZ(720deg); opacity: 0.98; }
  }

  @keyframes sway {
    0%   { margin-left: 0; }
    50%  { margin-left: calc(var(--sway, 24px) * -1); }
    100% { margin-left: var(--sway, 24px); }
  }

  /* Respektiert Nutzer, die Animationen reduzieren */
  @media (prefers-reduced-motion: reduce) {
    .confetti { animation: none; opacity: 0; }
  }
  .responsive-success-icon {
    max-width: 130px;
    width: 100%;
    height: auto;
    display: block; /* Optional: zentriert das Bild */
    margin: 0 auto; /* Optional: zentriert das Bild */
}
.FontSuccess
{
    font-weight: bolder;
    color: var(--vprot);
    text-align: center;
    font-size: clamp(32px, 2vw, 42px);
    font-family: 'Work Sans', sans-serif;
}
.FontSuccess2
{
    font-family: 'Work Sans', sans-serif; 
    font-size: 18px;
    line-height: 23px;
    color: var(--GreyDark);
    text-align:center;
}
.CircleRed
{
    width: 5vw;           /* 5% der Viewport-Breite, passt sich an */
    height: 5vw;          /* gleiche Höhe für Kreis */
    max-width: 30px;
    max-height: 30px;
    font-size:20px;
    background: var(--Red);
    border-radius: 20px;
    color: #ffffff;
    text-align: center;
    padding: 5px;
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center;     /* Vertikal zentrieren */
}
.CircleGrey
{
    width: 5vw;           /* 5% der Viewport-Breite, passt sich an */
    height: 5vw;          /* gleiche Höhe für Kreis */
    max-width: 30px;
    max-height: 30px;
    font-size:20px;
    color: var(--GreyDark);
    background: color-mix(in srgb, var(--accent-50) 60%, white);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    text-align: center;
    padding: 5px;
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center;     /* Vertikal zentrieren */
}
@media (max-width: 500px) {
  .CircleRed,
  .CircleGrey {
    font-size: 0;        /* Schriftgröße auf 0, Text wird unsichtbar */
  }
}
.bar{
width: 11vw;
max-width: 105px;
min-width: 30px;
height: 1.2vw;
max-height: 12px;
min-height: 6px;
border-radius: 999px;
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2), inset 0 4px 3px rgba(0, 0, 0, 0.4), inset 0 -3px 4px rgba(255, 255, 255, 0.08);
}
.bar2{
    width: 12vw;              /* Breite relativ zur Viewport-Breite */
    max-width: 145px;         /* Maximalgröße */
    min-width: 30px;          /* Mindesgröße */
    height: 1.2vw;            /* Höhe relativ skalieren */
    max-height: 12px;         /* Max-Höhe */
    min-height: 6px;          /* Min-Höhe */
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2), inset 0 4px 3px rgba(0, 0, 0, 0.4), inset 0 -3px 4px rgba(255, 255, 255, 0.08);
    border-radius: 999px;  /* runde Enden */
    overflow: hidden;
}
.bar__fill{
  width: var(--p, 0%);   /* Prozentwert hierher */
  height: 100%;
  background: var(--Red);   /* Rot der Füllung */
  border-radius: inherit;
  transition: width .4s ease; /* sanftes Füllen */
}
.bar__fill{ animation: fill .6s ease forwards; }
@keyframes fill{ from{width:0} to{width:var(--p,0%)} }
/* messages page css  */
.messages-container{
  backdrop-filter: blur(8px);
  border-radius: 9px;
  width: 100%;
}
.message{
  align-items: center;
  padding: 16px 16px 17px 16px;
  gap: 28px;
  border-radius: 16px;
  border-bottom: 0.5px solid #dfdfdf;
  transition: background-color 0.15s ease;
}
.message:hover{
  background-color: rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
  .message {
    gap: 12px;
    padding: 12px;
    flex-wrap: wrap;
  }
  .me-pic { display: none; }
  .me-detail { flex: 1; min-width: 0; }
  .d-para { display: none; }
  .me-icons { flex-direction: row; gap: 10px; align-items: center; }
  .status { margin-bottom: 2px; }
}

/* Message Modal */
.msg-modal-overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.msg-modal-overlay.active{
  display: flex;
}
.msg-modal{
  background: var(--bg, #fff);
  border-radius: 16px;
  padding: 32px;
  width: min(520px, 92vw);
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: msgModalIn 0.2s ease;
}
@keyframes msgModalIn{
  from{ opacity:0; transform:translateY(20px); }
  to  { opacity:1; transform:translateY(0);    }
}
.msg-modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
}
.msg-modal-close{
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 0;
}
.msg-modal-close:hover{ color: #333; }
.msg-modal-date{
  font-size: 13px;
  color: #888;
}
.msg-modal-body{
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
}
.unread{
   background-color: #26980013;
}
.me-pic img{
  height: 33px;
  border-radius: 50%;
}
.status{
  padding: 4px ;
  text-align: center;
  border-radius: 50px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 12px;
  
}
.me-detail{
  flex: 1;
  min-width: 0;
}
.complete{
  color: #259800;
  background: #f0feed;
  border: 0.5px solid #b6e6aa;
  padding: 3px 10px;
  display: inline-block;
}
.imp{
  color: #b91c1c;
  background: #fef2f2;
  border: 0.5px solid #fca5a5;
  padding: 3px 10px;
  display: inline-block;
}
.infomation{
  color: #3F78DC;
  background: #eff6ff;
  border: 0.5px solid #93c5fd;
  padding: 3px 10px;
  display: inline-block;
}
.user{
  text-decoration: underline;
}
.d-title{
  font-weight: 400;
  font-size: 16px;
  color: var(--titlegrey);
  margin-bottom: 6px;
}
.d-para{
  font-weight: 600;
  font-size: 14px;
  color: #505050;
}
.time{
  gap: 5px;
  justify-content: end;
  flex-wrap: nowrap;
  align-items: center;
}
.time p{
  font-weight: 600;
  font-size: 14px;
  color: #727272;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
.time img{
  text-align: right;
  height: 16px;
}
.me-icons{
  margin-right: 0;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.mail{
  text-align: right;
}
.mail img{
  width: 18px;
}
/* advertisement page  */
.adv-container{
  padding: clamp(20px, 5vw, 70px);
  background-color: #00000064;
  align-items: center;
}
.adv-content,.adv-img{
  width: 50%;
}
.sub,.usp p{
  font-size: clamp(14px, 1.8vw, 20px);
  color: #ffffff;
}
.adv-bold{
  font-weight: 600;
}
.adv-head{
  font-size: clamp(28px, 5vw, 64px);
  color: #ffffff;
  font-weight: 700;
  padding-bottom: 20px;
}
.adv-img img{
  width: 100%;
  object-fit: cover;
}
.adv-img{
  padding-left: 40px;
}
.usp{
  align-items: end;
  gap: 20px;
}
.usp img{
  height: 40px;
}
.usp-container{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.adv-btn{
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
  padding: 20px 50px;
  border-radius: 15px;
  border: 2px solid #CE2029;
  display: block;
  width: fit-content;
  margin-top: 50px;
}
@media (max-width: 1200px) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .adv-container{
  flex-direction: column;
  gap: 30px;
}
.adv-content,.adv-img{
  width: 100%;
}
.usp {
  align-items: flex-start;
}
.usp img {
  height: 28px;
  flex-shrink: 0;
}
.messages-container{
  width: 100%;
}
}

/* ===== HELP PANEL ===== */
.help-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.help-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}
.help-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.help-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.help-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.12);
}
.help-panel.active {
  transform: translateX(0);
}
.help-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.help-panel-header h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.help-panel-header h3 i {
  color: var(--vprot);
  font-size: 18px;
}
.help-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #888;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
.help-close-btn:hover {
  background: #f3f4f6;
  color: #1a1a1a;
}
.help-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.help-loading {
  text-align: center;
  color: #aaa;
  padding: 48px 0;
  font-size: 14px;
}
.help-loading i { margin-right: 8px; }
.help-empty {
  text-align: center;
  color: #bbb;
  padding: 60px 20px;
  font-size: 14px;
  line-height: 1.7;
}
.help-empty i {
  font-size: 36px;
  display: block;
  margin-bottom: 14px;
  color: #ddd;
}
.help-item {
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.help-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  background: #f9fafb;
  transition: background 0.2s;
  user-select: none;
  gap: 12px;
}
.help-item-header:hover {
  background: #f1f2f4;
}
.help-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  flex: 1;
}
.help-item-chevron {
  font-size: 12px;
  color: #aaa;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.help-item.open .help-item-chevron {
  transform: rotate(180deg);
}
.help-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.help-item.open .help-item-body {
  max-height: 600px;
}
.help-item-body-inner {
  padding: 14px 16px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.65;
  border-top: 1px solid #e5e7eb;
}

/* Dark mode — help panel */
[data-theme="dark"] .help-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .help-panel {
  background: #1a1a1a;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .help-panel-header {
  border-color: #2e2e2e;
}
[data-theme="dark"] .help-panel-header h3 {
  color: #e0e0e0;
}
[data-theme="dark"] .help-close-btn { color: #888; }
[data-theme="dark"] .help-close-btn:hover {
  background: #2a2a2a;
  color: #e0e0e0;
}
[data-theme="dark"] .help-item {
  border-color: #2e2e2e;
}
[data-theme="dark"] .help-item-header {
  background: #222222;
}
[data-theme="dark"] .help-item-header:hover {
  background: #2a2a2a;
}
[data-theme="dark"] .help-item-title { color: #e0e0e0; }
[data-theme="dark"] .help-item-chevron { color: #555; }
[data-theme="dark"] .help-item-body-inner {
  color: #a0a0a0;
  border-color: #2e2e2e;
}
[data-theme="dark"] .help-loading { color: #555; }
[data-theme="dark"] .help-empty { color: #555; }
[data-theme="dark"] .help-empty i { color: #333; }

/* ===== SEARCH PAGE ===== */
.MargTop30 { margin-top: 30px; }

.sortable {
  cursor: pointer;
  user-select: none;
}
.sortable:hover span { color: var(--vprot); }
.sort-icon { color: #ccc; font-size: 11px; margin-left: 5px; }
.sort-active { color: var(--vprot); }

.search-section-title {
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--titlegrey);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}
.search-section-title i { color: var(--vprot); }
.search-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 2px 9px;
  margin-left: 4px;
}
.search-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.search-badge-visum  { background: rgba(206,32,41,0.10); color: #ce2029; }
.search-badge-a1     { background: rgba(63,147,202,0.12); color: #2e7db8; }
.search-badge-eu     { background: rgba(86,190,53,0.12); color: #2f7a18; }
.search-badge-lega   { background: rgba(155,90,200,0.12); color: #7a2fa0; }
.search-badge-relo   { background: rgba(242,160,50,0.12); color: #b86a00; }

.search-no-results {
  font-family: "Work Sans", sans-serif;
  padding: 32px 20px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
}
.search-no-results i { margin-right: 8px; }
.search-empty-hint {
  text-align: center;
  color: #aaa;
  padding: 80px 20px;
  font-size: 14px;
}

/* dark mode */
[data-theme="dark"] .search-section-title {
  color: #a0a0a0;
  border-color: #2e2e2e;
}
[data-theme="dark"] .search-count {
  background: #2a2a2a;
  color: #888;
}
[data-theme="dark"] .search-no-results { color: #555; }
[data-theme="dark"] .search-empty-hint { color: #555; }

/* ===== NEWS MODAL ===== */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.news-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.news-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  width: min(680px, 94vw);
  max-height: 82vh;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}
.news-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.news-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.news-modal-meta { flex: 1; min-width: 0; }
.news-modal-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--vprot);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.news-modal-title {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 0;
}
.news-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #888;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
.news-modal-close:hover {
  background: #f3f4f6;
  color: #1a1a1a;
}
.news-modal-body {
  padding: 22px 28px 28px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.75;
  color: #4b5563;
}
.news-result-row:hover td { background: rgba(206,32,41,0.04); }

/* dark mode */
[data-theme="dark"] .news-modal {
  background: #1a1a1a;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}
[data-theme="dark"] .news-modal-header { border-color: #2e2e2e; }
[data-theme="dark"] .news-modal-title  { color: #e0e0e0; }
[data-theme="dark"] .news-modal-close  { color: #888; }
[data-theme="dark"] .news-modal-close:hover { background: #2a2a2a; color: #e0e0e0; }
[data-theme="dark"] .news-modal-body   { color: #a0a0a0; }
/* Immigration contact modal */
.adv-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.adv-modal-overlay.active { display: flex; }
.adv-modal {
    background: rgba(255,255,255,0.82);
    border-radius: 14px;
    padding: 36px 32px 28px;
    width: 420px;
    max-width: 92vw;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: advModalIn 0.2s ease;
    font-family: 'Work Sans', sans-serif;
}
@keyframes advModalIn {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.adv-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 16px;
    color: #888;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: auto;
    margin: 0;
}
.adv-modal-close:hover { color: #111; background: none; box-shadow: none; }
.adv-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
}
.adv-modal-sub {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 20px;
}
.adv-modal-form { display: flex; flex-direction: column; gap: 12px; }
.adv-modal-form > .adv-modal-input { width: 100%; box-sizing: border-box; }
.adv-modal-row { display: flex; gap: 12px; }
.adv-modal-input {
    flex: 1;
    padding: 10px 12px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: 'Work Sans', sans-serif !important;
    background: #f9fafb !important;
    color: #374151 !important;
    outline: none;
    box-shadow: none !important;
    height: auto;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.adv-modal-input:focus { border-color: #ce2029 !important; background: #fff !important; box-shadow: none !important; }
.adv-modal-btn {
    padding: 11px 0;
    background: #ce2029;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin: 0;
}
.adv-modal-btn:hover { background: #a8111c; }
[data-theme="dark"] .adv-modal { background: rgba(28,28,28,0.97); }
[data-theme="dark"] .adv-modal-title { color: #f0f0f0; }
[data-theme="dark"] .adv-modal-input { background: #2a2a2a; border-color: #444; color: #ddd; }
[data-theme="dark"] .adv-modal-input:focus { border-color: #ce2029; background: #333; }
