* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
/* Default Color */ :root {
  --text-color: #ffffff;
  --icon-color: #acacbe;
  --icon-hover-bg: #5b5e71;
  --placeholder-color: #cccccc;
  --outgoing-chat-bg: #343541;
  --incoming-chat-bg: #444654;
  --outgoing-chat-border: #343541;
  --incoming-chat-border: #444654;
  --switch-bg: #666;
  --switch-active: #4fc3f7;
  --switch-knob: #fff;
  --feature-bg: rgba(255, 255, 255, 0.04);
  --feature-border: rgba(255, 255, 255, 0.1);
  --feature-hover: rgba(79, 195, 247, 0.3);
  --heading-color: #fff;
}
/* Light Mode */
.light-mode {
  --text-color: #343541;
  --icon-color: #a9a9c;
  --icon-hover-bg: #f1f1f3;
  --placeholder-color: #9f9f9f;
  --outgoing-chat-bg: #ffffff;
  --incoming-chat-bg: #f7f7f8;
  --outgoing-chat-border: #ffffff;
  --incoming-chat-border: #d9d9e3;
  --switch-bg: #ccc;
  --switch-active: #0077cc;
  --switch-knob: #fff;
  --feature-bg: rgba(0, 0, 0, 0.03);
  --feature-border: rgba(0, 0, 0, 0.1);
  --feature-hover: rgba(0, 119, 204, 0.15);
  --heading-color: #000;
}
body {
  background: var(--outgoing-chat-bg);
}

body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 20010904//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3E%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' width='512.000000pt' height='512.000000pt' viewBox='0 0 512.000000 512.000000' preserveAspectRatio='xMidYMid meet'%3E%3Cg transform='translate(0.000000,512.000000) scale(0.100000,-0.100000)'%0Afill='%23000000' stroke='none'%3E%3Cpath d='M2330 5070 c-14 -4 -43 -8 -65 -9 -23 -1 -95 -13 -160 -27 -66 -14%0A-136 -30 -155 -34 -83 -17 -262 -76 -327 -105 -17 -8 -34 -15 -39 -15 -11 0%0A-193 -90 -236 -117 -88 -54 -150 -83 -163 -76 -7 5 -73 65 -147 135 -148 140%0A-165 155 -223 186 -96 52 -177 65 -195 33 -15 -29 -12 -312 5 -435 23 -164 67%0A-253 182 -377 82 -86 141 -130 255 -187 73 -37 73 -37 203 -37 l130 0 95 48%0Ac52 27 109 59 125 71 55 41 231 136 295 161 19 7 65 24 102 38 211 80 427 107%0A709 88 164 -11 294 -37 439 -89 96 -34 247 -107 329 -157 9 -5 34 -21 56 -34%0A81 -49 242 -188 325 -278 218 -241 391 -579 445 -872 9 -47 20 -105 25 -127 5%0A-23 12 -120 16 -215 6 -178 -4 -335 -29 -469 -36 -188 -29 -294 25 -374 41%0A-59 312 -336 330 -336 23 0 58 48 107 146 119 236 182 478 212 807 28 302 -25%0A752 -117 1002 -14 39 -33 93 -43 120 -62 173 -224 454 -351 610 -187 231 -331%0A363 -555 511 -155 102 -242 150 -355 199 -47 20 -98 42 -115 50 -42 19 -277%0A92 -355 111 -63 15 -124 25 -260 45 -86 13 -488 20 -520 9z'/%3E%3Cpath d='M466 3894 c-68 -89 -202 -375 -245 -524 -50 -174 -55 -194 -76 -330%0A-72 -469 -27 -917 129 -1297 14 -35 37 -90 50 -122 22 -54 57 -123 115 -225%0A207 -364 571 -709 993 -942 115 -63 339 -160 398 -171 19 -3 49 -12 67 -19 28%0A-12 101 -28 258 -55 252 -44 573 -44 830 0 166 28 400 101 550 170 22 11 51%0A24 65 30 14 6 45 23 70 37 213 122 228 124 359 35 94 -63 193 -156 331 -308%0A62 -69 80 -83 105 -83 62 0 60 -8 60 307 0 358 -9 413 -89 550 -36 61 -116%0A140 -197 194 -87 59 -233 99 -365 99 -121 0 -214 -36 -397 -154 -31 -20 -65%0A-39 -75 -43 -9 -3 -24 -12 -32 -18 -30 -25 -227 -104 -310 -125 -47 -12 -109%0A-28 -138 -37 -123 -34 -624 -34 -726 1 -26 9 -53 16 -61 16 -33 0 -220 66%0A-325 114 -128 59 -279 155 -387 244 -228 188 -416 447 -518 715 -20 50 -40%0A102 -45 115 -16 38 -59 213 -72 292 -6 41 -12 143 -11 225 0 198 15 310 64%0A490 27 99 38 158 45 255 5 65 3 86 -21 155 -29 87 -48 121 -111 205 -53 70%0A-228 250 -242 250 -6 0 -27 -21 -46 -46z'/%3E%3Cpath d='M2380 3759 c-265 -43 -470 -146 -672 -338 -324 -307 -441 -776 -298%0A-1199 141 -419 476 -721 925 -831 111 -28 314 -24 505 8 119 20 315 105 424%0A182 90 65 248 228 309 321 85 127 153 312 178 483 20 137 21 181 10 278 -39%0A315 -138 532 -335 735 -150 154 -349 273 -550 329 -142 39 -364 53 -496 32z%0Am315 -664 c200 -60 332 -195 391 -398 29 -98 30 -165 5 -255 -58 -211 -201%0A-352 -409 -406 -177 -45 -372 15 -510 158 -114 117 -159 231 -157 391 2 154%0A41 242 161 362 72 74 108 95 234 139 79 27 209 31 285 9z'/%3E%3C/g%3E%3C/svg%3E%0A");  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08; /* <- "transparent effect" */
  pointer-events: none;
  z-index: 0;
  filter: blur(0.3px) contrast(1.2); /* Optional: Glas-Effekt */
}

@media (max-width: 768px) {
  body::before {
    width: 150px;
    height: 150px;
    opacity: 0.05;
  }
}
/* ───── Menü Toggle Button ───── */
#menu-toggle {
  position: fixed;
  top: 0px;
  left: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  z-index: 999999999999999;
  user-select: none;
  padding: 0;
}
#menu-toggle:hover {
  background-color: transparent;
  color: var(--text-color);
  border-color: var(--text-color);
}
/* Hamburger icon */
#menu-toggle::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  box-shadow:
    0 6px 0 0 currentColor, 0 12px 0 0 currentColor;
}
.language-switcher {
  position: fixed;
  top: 15px;
  right: 10px;
  z-index: 9999;
}
#lang-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s ease;
}
#lang-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}
#lang-toggle img {
  width: 28px;
  height: auto;
  border-radius: 4px;
}
.lang-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 160px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.lang-option {
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.lang-option:hover, .lang-option:focus {
  background: #f0f0f0;
  outline: none;
}
.lang-option img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}
.hidden {
  display: none!important;
}
/* ───── Sidebar Layout ───── */

.pro-status-message {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 16px 20px;
  background: linear-gradient(135deg, var(--feature-bg), rgba(79, 195, 247, 0.1));
  border: 1px solid var(--switch-active);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(79, 195, 247, 0.15);
}

.pro-status-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(79, 195, 247, 0.05) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.pro-status-message .pro-icon {
  font-size: 18px;
  color: var(--switch-active);
  background: rgba(79, 195, 247, 0.2);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
}

.pro-status-message .pro-text {
  font-weight: 600;
  color: var(--switch-active);
  position: relative;
  z-index: 1;
}

.pro-status-message .pro-valid-until {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* Light Mode Anpassungen */
.light-mode .pro-status-message {
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.08), rgba(0, 119, 204, 0.15));
  border-color: var(--switch-active);
  box-shadow: 0 4px 12px rgba(0, 119, 204, 0.1);
}

.light-mode .pro-status-message::before {
  background: linear-gradient(45deg, transparent 30%, rgba(0, 119, 204, 0.08) 50%, transparent 70%);
}

.light-mode .pro-status-message .pro-icon {
  background: rgba(0, 119, 204, 0.15);
}


.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  width: 260px;
  height: 100%;
  background: var(--incoming-chat-bg);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 9999999999999999999999999;
  color: var(--text-color);
}
.sidebar.open {
  transform: translateX(0);
}
/* ───── Menü allgemein ───── */
.menu {
  padding: 20px;
}
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.menu li {
  margin: 10px 0;
}
/* ───── Menü-Links & Buttons ───── */
.menu-link, .back-button {
  display: block;
  background: none;
  border: none;
  font-size: 15px;
  padding: 10px 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: var(--text-color);
  border-radius: 8px;
  transition: background 0.2s ease;
}
.menu-link:hover, .menu-link.active, .back-button:hover {
  background-color: var(--icon-hover-bg);
  color: var(--text-color);
}
/* ───── Submenu ───── */
.submenu {
  display: none;
  padding: 20px;
  height: 100%;
  overflow-y: auto;
}
.submenu.active {
  display: block;
}
.submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.submenu li {
  margin: 10px 0;
}
.submenu ul li a {
  display: block;
  font-size: 15px;
  padding: 10px 12px;
  width: 100%;
  text-align: left;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.submenu ul li a:hover {
  background-color: var(--icon-hover-bg);
}
/* ───── New Chat Button ───── */
.new-chat-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  background-color: var(--icon-hover-bg);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease;
  font-size: 15px;
  text-decoration: none;
}
.new-chat-btn:hover {
  background-color: #38b6f0;
}

/*Code Check Settings*/
.settings-group {
  margin-top: 20px;
  padding: 16px;
  background-color: var(--incoming-chat-bg);
  border: 1px solid var(--feature-border);
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.settings-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

#pro-code-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--feature-border);
  border-radius: 8px;
  background-color: var(--outgoing-chat-bg);
  color: var(--text-color);
  font-size: 14px;
  margin-bottom: 12px;
  transition: border-color 0.3s ease;
}

#pro-code-input:focus {
  outline: none;
  border-color: var(--switch-active);
}

.settings-group button {
  padding: 8px 16px;
  background-color: var(--switch-active);
  color: var(--switch-knob);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
	    width: 100%;
}

.settings-group button:hover {
  background-color: #036fbf;
}

#code-status-msg {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}
.avatar-options {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.avatar-options img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s ease;
}

.avatar-options img:hover,
.avatar-options img.selected {
  border-color: #007BFF;
}

#avatar-selection img.avatar-option.active {
  border: 2px solid white !important;
	box-shadow: 0 0 25px 5px #48abe0;
}
.avatar-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s ease;
}

.avatar-option.active {
  border: 2px solid blue !important;
}


.sidebar-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  background: var(--incoming-chat-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-footer span {
  cursor: pointer;
  font-size: 22px;
  color: var(--text-color);
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.sidebar-footer span:hover {
  background-color: var(--icon-hover-bg);
}
/* Boxen-Grid */
.feature-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin: 0.5rem;
}
.feature-box {
  background: var(--feature-bg);
  border: 1px solid var(--feature-border);
  padding: 1.2rem 1rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.feature-box:hover {
  border-color: var(--switch-active);
  box-shadow: 0 0 10px var(--feature-hover);
}
.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.feature-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-color);
}
.feature-box p {
  color: var(--text-color);
}
/* Switch Style */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--switch-bg);
  border-radius: 34px;
  cursor: pointer;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: var(--switch-knob);
  border-radius: 50%;
  transition: 0.4s;
}
.switch input:checked + .slider {
  background-color: var(--switch-active);
}
.switch input:checked + .slider:before {
  transform: translateX(18px);
}
/*Feature Section*/
.gpt-feature-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 3rem 1rem;
}
.gpt-feature-heading {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 3rem;
  position: relative;
}
.gpt-feature-heading h2 {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 0.4rem;
}
.gpt-feature-heading h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  margin: 0.3rem auto 0;
  background: linear-gradient(90deg, var(--switch-active), var(--switch-bg));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.gpt-feature-heading h2:hover::after {
  width: 80%;
}

.gpt-feature-heading-webdevelopment {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 3rem;
  position: relative;
}
.gpt-feature-heading-webdevelopment h2 {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 0.4rem;
}
.gpt-feature-heading-webdevelopment h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  margin: 0.3rem auto 0;
  background: linear-gradient(90deg, var(--switch-active), var(--switch-bg));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.gpt-feature-heading-webdevelopment h2:hover::after {
  width: 80%;
}

.gpt-feature-heading-content {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 3rem;
  position: relative;
}
.gpt-feature-heading-content h2 {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 0.4rem;
}
.gpt-feature-heading-content h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  margin: 0.3rem auto 0;
  background: linear-gradient(90deg, var(--switch-active), var(--switch-bg));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.gpt-feature-heading-content h2:hover::after {
  width: 80%;
}

.gpt-feature-heading-seo {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 3rem;
  position: relative;
}
.gpt-feature-heading-seo h2 {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 0.4rem;
}
.gpt-feature-heading-seo h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  margin: 0.3rem auto 0;
  background: linear-gradient(90deg, var(--switch-active), var(--switch-bg));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.gpt-feature-heading-seo h2:hover::after {
  width: 80%;
}

.gpt-feature-box {
  background: var(--feature-bg);
  border: 1px solid var(--feature-border);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.gpt-feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.2);
  border-color: var(--switch-active);
}
.gpt-feature-icon {
  font-size: 2.4rem;
  color: var(--switch-active);
  margin-bottom: 1rem;
  display: inline-block;
}
.gpt-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}
.gpt-feature-desc {
  color: var(--text-color);
  font-size: 0.96rem;
  line-height: 1.4;
}
/*Developer Sektion*/
/* Developer Targets Section */
.developer-section-heading {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 0.4rem;
  text-align: center;
  margin: 0 auto;
}
.developer-section-heading::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  margin: 0.3rem auto 0;
  background: linear-gradient(90deg, var(--switch-active), var(--switch-bg));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.developer-section-heading:hover::after {
  width: 80%;
}
.developer-targets {
  background-color: var(--switch-bg-secondary);
  color: var(--text-color);
  padding: 3rem 1rem;
  border-top: 1px solid var(--switch-border);
  border-bottom: 1px solid var(--switch-border);
  text-align: center;
}
.developer-targets-inner {
  max-width: 800px;
  margin: 0 auto;
}
.developer-targets h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.developer-targets .subtitle {
  font-size: 1rem;
  color: var(--text-color-secondary, #aaa);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.developer-targets ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.developer-targets li {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.developer-targets.flex-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 80%;
  margin: 0 auto;
  padding: 3rem 1rem;
  color: var(--text-color);
}

.developer-targets.flex-layout .text-content {
  flex: 1 1 60%;
  padding-right: 2rem;
}

.developer-targets.flex-layout .url-section {
  flex: 1 1 35%;
}

.developer-targets.flex-layout ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.developer-targets.flex-layout li {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--text-color);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.developer-targets.flex-layout li strong {
  color: var(--switch-active);
}

@media (max-width: 768px) {
  .developer-targets.flex-layout {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  .developer-targets.flex-layout .text-content,
  .developer-targets.flex-layout .url-section {
    flex: unset;
    padding: 0;
    margin-bottom: 2rem;
  }
}
/*FAQ Sektion*/
.faq-section {
  max-width: 85%;
  margin: 0 auto 4rem;
  padding: 2rem;
  color: var(--text-color); /* Textfarbe anpassen */
  background: var(--feature-bg);
  border: 1px solid var(--feature-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.faq-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  color: var(--text-color);
}
.faq-item {
  border-bottom: 1px solid var(--switch-border);
  margin-bottom: 1rem;
}
.faq-icon {
  transition: transform 0.3s ease;
  display: inline-block;
  font-size: 1rem;
  margin-left: 0.5rem;
  color: var(--switch-active);
}
.faq-item input:checked + label .faq-icon {
  transform: rotate(90deg);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  transition: color 0.3s;
  color: var(--switch-text);
}
.faq-question:hover {
  color: var(--switch-active);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--switch-text-secondary);
  padding: 0 0.5rem;
}
.faq-item input:checked ~ .faq-answer {
  max-height: 200px;
  padding: 0.5rem 0.5rem 1rem;
}
/*Pricing Sektion*/
.pricing-section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-color);
  text-align: center;
}
.pricing-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.3rem;
}
.pricing-table {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  flex: 1 1 300px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}
.pricing-card.highlight {
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
  transform: translateY(-6px);
}
.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
}
.pricing-card h3 .material-symbols-rounded {
  font-size: 2rem;
}
.price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.pricing-card ul li {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.check-icon {
  color: #28a745; /* schön sattes grün */
  font-size: 1.3rem;
}
.dash-icon {
  color: #dc3545; /* kräftiges rot */
  font-size: 1.3rem;
}
/*Buttons simple Prices*/
/* BUTTON STYLES */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-block;
  text-align: center;
  user-select: none;
  font-size: 1rem;
  text-decoration: none;
}
.btn-primary {
  background-color: var(--switch-active);
  color: var(--switch-knob);
  border-color: var(--switch-active);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: transparent;
  color: var(--switch-active);
  border-color: var(--switch-active);
  outline: none;
}
.btn-secondary {
  background-color: transparent;
  color: var(--switch-active);
  border: 2px solid var(--switch-active);
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--switch-active);
  color: var(--switch-knob);
  outline: none;
}
/* RESPONSIVE BUTTON CONTAINER */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}
.site-footer {
  background-color: var(--switch-bg-secondary);
  color: var(--text-color);
  padding: 2rem 1rem;
  border-top: 1px solid var(--switch-border);
  text-align: center;
}
.footer-container {
  max-width: 960px;
  margin: auto;
  /* Kein flex hier mehr für container, damit nav nicht nebenher ist */
}
/* Nur footer-left mit Flexbox: Logo + Text nebeneinander, vertikal zentriert */
.footer-left {
  display: flex;
  align-items: center;
  justify-content: center; /* horizontal mittig */
  gap: 0.8rem;
  margin-bottom: 1rem; /* Abstand nach unten für Nav */
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
}
/* Logo-Größe */
.footer-logo {
  height: 40px;
  width: auto;
  position: relative;
  z-index: 1;
}
/* Overlay-Effekt für Logo im Dark Mode */
.light-mode .footer-logo {
  filter: none;
}
.site-footer:not(.light-mode) .footer-logo {
  filter: brightness(0.8) drop-shadow(0 0 4px rgba(0, 0, 0, 1.4));
}
/* Nav unter footer-left, zentriert */
.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0; /* schon Abstand durch footer-left margin */
}
.site-footer a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: var(--switch-active);
}



/*Sidebar Chatlist*/
.no-chats-msg {
  padding: 20px;
  text-align: center;
  color: var(--placeholder-color);
  font-size: 15px;
}

.chat-history-container {
  padding: 12px 16px;
  overflow-y: auto;
  max-height: calc(100vh - 160px); /* anpassbar */
}

.chat-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--feature-bg);
  border: 1px solid var(--feature-border);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 10px 12px;
  color: var(--text-color);
  transition: background-color 0.2s ease, border 0.2s ease;
}

.chat-list-item:hover {
  background-color: var(--feature-hover);
}

.chat-title-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  outline: none;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
	 overflow: hidden;
  white-space: nowrap;
}

.chat-title-text:focus {
  background-color: var(--icon-hover-bg);
}

.delete-chat-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
  border-radius: 6px;
  color: var(--icon-color);
  transition: background 0.2s ease, color 0.2s ease;
}

.delete-chat-btn:hover {
  background-color: var(--icon-hover-bg);
  color: var(--text-color);
}

.delete-chat-btn .material-symbols-rounded {
  font-size: 20px;
}

.chat-list-item.active {
  border: 2px solid var(--switch-active);
  background-color: var(--feature-hover);
}

/*AI Chat Sektion*/

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background-color: var(--incoming-chat-bg);
  border-bottom: 1px solid var(--feature-border);
  color: var(--text-color);
  z-index: 9999; /* ausreichend hoch, aber nicht extrem übertrieben */
  position: relative; /* notwendig für z-index bei nicht-fixed Elementen */

}

.chat-title h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading-color);
  margin: 0;
    padding: 4px 8px 4px 100px;
	border-radius: 6px;
  background: transparent;
  transition: background 0.2s ease;
  outline: none;
}

.chat-title h2:focus {
  background-color: var(--feature-hover);
}

.close-chat-btn {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
  color: var(--icon-color);
  transition: background 0.2s ease, color 0.2s ease;
}

.close-chat-btn:hover {
  background-color: var(--icon-hover-bg);
  color: var(--text-color);
}

#chat-more-btn{
	
	
	    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    border-radius: 6px;
    color: var(--icon-color);
    transition: background 0.2s ease, color 0.2s ease;
}

#chat-more-btn:hover{
	
	
	   background-color: var(--icon-hover-bg);
  color: var(--text-color);
}

/* Share Panel Container */
#chat-share-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--incoming-chat-bg);
  border: 1px solid var(--incoming-chat-border);
  border-radius: 20px;
  padding: 24px;
  width: 90%;
  max-width: 420px;
  z-index: 9999;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
	  display: none;

}

/* Header */
#chat-share-panel h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

/* Close Button */
#share-panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--icon-color);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s ease;
}
#share-panel-close:hover {
  color: var(--switch-active);
}

/* Input & Textarea */
#chat-share-panel input,
#chat-share-panel textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--outgoing-chat-bg);
  border: 1px solid var(--incoming-chat-border);
  color: var(--text-color);
  font-size: 14px;
  resize: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#chat-share-panel input::placeholder,
#chat-share-panel textarea::placeholder {
  color: var(--placeholder-color);
}
#chat-share-panel input:focus,
#chat-share-panel textarea:focus {
  border-color: var(--switch-active);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
  outline: none;
}

/* Share Buttons */
.share-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.share-option {
  background-color: var(--switch-active);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}
.share-option:hover {
  background-color: #29b6f6;
}

/* Share Status */
.share-status {
  font-size: 14px;
  font-weight: 500;
  color: var(--switch-active);
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  background: rgba(79, 195, 247, 0.1);
  text-align: center;
}
.share-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 400px;
  background: var(--incoming-chat-bg);
  color: var(--text-color);
  padding: 24px;
  border-radius: 16px;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 10000;
}

.share-panel.active {
  display: block!important;
}
.material-symbols-rounded {
  font-size: 1.6rem;
  vertical-align: middle;
}


.chat-container {
  max-height: 90vh;
  padding-bottom: 100px;
  overflow-y: auto;
	    /*margin-top: 62px;*/
}
.Default-Text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--text-color);
  height: 45vh;
  text-align: center;
  padding: 0 10px;
  /*   background-image: url( '/img/gptcode-logo.svg' );
	background-repeat:  no-repeat;*/
}
.Default-Text h1 {
  font-size: 3.3rem;
}
.Default-Text p {
  margin-top: 2px;
  font-size: 1.70rem;
}

/* ───── Chat Content Styling ───── */
/* Alle Überschriften in Chat-Nachrichten */
.chat-details h1 {
  color: var(--switch-active);
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--feature-border);
  position: relative;
}

.chat-details h1::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40%;
  height: 3px;
  background: var(--switch-active);
  border-radius: 2px;
}

.chat-details h2 {
  color: var(--switch-active);
  font-size: 1.6rem;
  font-weight: 650;
  margin: 1.8rem 0 0.9rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--feature-border);
  position: relative;
}

.chat-details h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 35%;
  height: 2px;
  background: var(--switch-active);
  border-radius: 1px;
}

/* H3 Überschriften in Chat-Nachrichten */
.chat-details h3 {
  color: var(--switch-active);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.8rem 0;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--feature-border);
  position: relative;
}

.chat-details h3::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30%;
  height: 2px;
  background: var(--switch-active);
  border-radius: 1px;
}

.chat-details h4 {
  color: var(--switch-active);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.2rem 0 0.6rem 0;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--feature-border);
  position: relative;
}

.chat-details h4::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 25%;
  height: 1px;
  background: var(--switch-active);
  border-radius: 1px;
}

.chat-details h5 {
  color: var(--switch-active);
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
}

.chat-details h6 {
  color: var(--switch-active);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.8rem 0 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Text-Formatierung */
.chat-details strong, .chat-details b {
  color: var(--switch-active);
  font-weight: 700;
}

.chat-details em, .chat-details i {
  color: var(--text-color);
  font-style: italic;
  background: var(--feature-bg);
  padding: 2px 4px;
  border-radius: 3px;
}

.chat-details u {
  color: var(--switch-active);
  text-decoration: underline;
  text-decoration-color: var(--switch-active);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.chat-details mark {
  background: var(--feature-hover);
  color: var(--text-color);
  padding: 2px 4px;
  border-radius: 3px;
  border: 1px solid var(--switch-active);
}

.chat-details del, .chat-details s {
  color: #ff6b6b;
  text-decoration: line-through;
  text-decoration-color: #ff6b6b;
  opacity: 0.8;
}

.chat-details ins {
  color: #51cf66;
  text-decoration: underline;
  text-decoration-color: #51cf66;
  background: rgba(81, 207, 102, 0.1);
  padding: 1px 3px;
  border-radius: 2px;
}

.chat-details small {
  font-size: 0.85rem;
  color: var(--icon-color);
}

.chat-details sub, .chat-details sup {
  font-size: 0.75rem;
  color: var(--switch-active);
}

/* Links */
.chat-details a {
  color: var(--switch-active);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding: 1px 2px;
  border-radius: 3px;
}

.chat-details a:hover {
  background: var(--feature-hover);
  border-bottom-color: var(--switch-active);
  text-decoration: none;
}

/* Blockquotes */
.chat-details blockquote {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  background: var(--feature-bg);
  border-left: 4px solid var(--switch-active);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-color);
  position: relative;
}

.chat-details blockquote::before {
  content: '"';
  font-size: 3rem;
  color: var(--switch-active);
  position: absolute;
  top: -0.5rem;
  left: 0.5rem;
  opacity: 0.3;
}

.chat-details blockquote p {
  margin: 0;
  padding-left: 0;
}

/* Tabellen */
.chat-details table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--feature-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--feature-border);
}

.chat-details th, .chat-details td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--feature-border);
}

.chat-details th {
  background: var(--switch-active);
  color: var(--switch-knob);
  font-weight: 600;
}

.chat-details tr:hover {
  background: var(--feature-hover);
}

.chat-details tr:last-child td {
  border-bottom: none;
}

/* Horizontale Linie */
.chat-details hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--switch-active), transparent);
  margin: 2rem 0;
  border-radius: 1px;
}

/* Ordered Lists (Nummerierte Listen) */
.chat-details ol {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  counter-reset: custom-counter;
}

.chat-details ol li {
  position: relative;
  padding: 0.6rem 0 0.6rem 3rem;
  margin-bottom: 0.6rem;
  color: var(--text-color);
  line-height: 1.5;
  border-left: 2px solid var(--feature-border);
  background: var(--feature-bg);
  border-radius: 0 8px 8px 0;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  counter-increment: custom-counter;
}

.chat-details ol li:hover {
  border-left-color: var(--switch-active);
  background: var(--feature-hover);
}

.chat-details ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0.8rem;
  top: 0.6rem;
  background: var(--switch-active);
  color: var(--switch-knob);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Definition Lists */
.chat-details dl {
  margin: 1rem 0;
}

.chat-details dt {
  color: var(--switch-active);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.chat-details dd {
  margin-left: 1.5rem;
  padding: 0.5rem 0;
  color: var(--text-color);
  border-left: 2px solid var(--feature-border);
  padding-left: 1rem;
}

/* Keyboard Keys */
.chat-details kbd {
  background: var(--feature-bg);
  border: 1px solid var(--feature-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--switch-active);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Abbreviations */
.chat-details abbr {
  color: var(--switch-active);
  text-decoration: underline dotted;
  cursor: help;
}

/* Listen in Chat-Nachrichten */
.chat-details ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.chat-details ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  line-height: 1.5;
  border-left: 2px solid var(--feature-border);
  background: var(--feature-bg);
  border-radius: 0 6px 6px 0;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.chat-details ul li:hover {
  border-left-color: var(--switch-active);
  background: var(--feature-hover);
}

.chat-details ul li::before {
  content: '▶';
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  color: var(--switch-active);
  font-size: 0.8rem;
}

/* Code-Blöcke verbessern */
.chat-details pre {
  max-width: 100%;
  overflow-x: auto;
  background-color: var(--incoming-chat-bg);
  border: 1px solid var(--feature-border);
  border-radius: 8px;
  padding: 16px;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 1rem 0;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-details pre:hover {
  border-color: var(--switch-active);
  box-shadow: 0 4px 12px rgba(79, 195, 247, 0.1);
}

.chat-details code {
  background-color: var(--feature-bg);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--switch-active);
  border: 1px solid var(--feature-border);
}

/* Copy-Button Styling */
.copy-code-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 8px;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  background: var(--feature-bg);
  color: var(--icon-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid var(--feature-border);
  opacity: 0.7;
}

.copy-code-btn:hover {
  background-color: var(--switch-active);
  color: var(--switch-knob);
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
}

.copy-code-btn:active {
  transform: scale(0.95);
}

/* Paragraphen in Chat-Details */
.chat-details p {
  white-space: pre-wrap;
  font-size: 1.05rem;
  padding: 0 5px 0 25px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.chat-details p:last-child {
  margin-bottom: 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .chat-details h1 {
    font-size: 1.6rem;
    margin: 1.5rem 0 0.8rem 0;
  }
  
  .chat-details h2 {
    font-size: 1.4rem;
    margin: 1.3rem 0 0.7rem 0;
  }
  
  .chat-details h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.6rem 0;
  }
  
  .chat-details h4 {
    font-size: 1rem;
    margin: 0.9rem 0 0.5rem 0;
  }
  
  .chat-details ul li {
    padding: 0.4rem 0 0.4rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .chat-details ol li {
    padding: 0.5rem 0 0.5rem 2.5rem;
    font-size: 0.95rem;
  }
  
  .chat-details table {
    font-size: 0.9rem;
  }
  
  .chat-details th, .chat-details td {
    padding: 0.6rem 0.8rem;
  }
  
  .chat-details pre {
    padding: 12px;
    font-size: 0.85rem;
  }
  
  .copy-code-btn {
    padding: 4px 6px;
    font-size: 1rem;
  }
}

.chat-container .chat {
  padding: 25px 10px;
  display: flex;
  justify-content: center;
  color: var(--text-color);
}
.chat-container .outgoing {
  background-color: var(--outgoing-chat-bg);
  border: 1px solid var(--outgoing-chat-border);
}
.chat-container .incoming {
  background-color: var(--incoming-chat-bg);
  border: 1px solid var(--incoming-chat-border);
}
.chat .chat-content-box {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.chat .chat-content-box span {
  color: var(--icon-color);
  font-size: 1.3rem;
  visibility: hidden;
}
.chat:hover .chat-content-box:not(:has(.loading-dots-animation)) span {
  visibility: visible;
}
.chat-container .chat-details {
  display: flex;
  align-items: center;
}
.chat-container .chat-details p {
  white-space: pre-wrap;
  font-size: 1.05rem;
  padding: 0 5px 0 25px;
}
p.error {
  color: rgb(255, 43, 43);
}
.chat-details pre {
  max-width: 100%;
  overflow-x: auto;
  background-color: var(--incoming-chat-bg);
  border: 1px solid var(--feature-border);
  border-radius: 6px;
  padding: 12px;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0.5em 0;
  box-sizing: border-box;
}
.chat-details code {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
}
.chat-details {
  max-width: 100%;
  word-wrap: break-word;
}
.chat-container .chat-details img {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  object-fit: cover;
  align-self: flex-start;
}
span.material-symbols-rounded {
  user-select: none;
  cursor: pointer;
}
.loading-dots-animation {
  display: inline-flex;
  padding-left: 25px;
}
.loading-dots-animation .loading-dot {
  background: var(--text-color);
  height: 7px;
  width: 7px;
  border-radius: 50%;
  margin: 0 3px;
  opacity: 0.7;
  animation: MakeLoadingAnimation 1.5s ease-in-out var(--delay) infinite;
}
@keyframes MakeLoadingAnimation {
  0%, 44% {
    transform: translate(0px);
  }
  22% {
    opacity: 0.4;
    transform: translateY(-6px);
  }
  44% {
    opacity: 0.2;
  }
}
.copy-code-btn:hover {
  background-color: var(--icon-hover-color);
}
.user-input-container {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--outgoing-chat-bg);
  border: 1px solid var(--incoming-chat-border);
  display: flex;
  justify-content: center;
  padding: 20px 10px;
	z-index: 2;
}
.user-input-container .user-input-content {
  display: flex;
  align-items: flex-start;
  max-width: 950px;
  width: 100%;
}
.user-input-container .user-input-textarea {
  display: flex;
  position: relative;
  width: 100%;
}
.user-input-textarea textarea {
  width: 100%;
  height: 55px;
  border: none;
  resize: none;
  font-size: 1rem;
  color: var(--text-color);
  background: var(--incoming-chat-bg);
  border-radius: 4px;
  outline: 1px solid var(--incoming-chat-bg);
  padding: 15px 45px 15px 20px;
  max-height: 55px;
  overflow-y: auto;
}
.user-input-textarea textarea::placeholder {
  color: var(--placeholder-color);
}
.user-input-textarea span {
  position: absolute;
  bottom: 0;
  right: 0;
  visibility: hidden;
}
.user-input-textarea textarea:valid ~ span {
  visibility: visible;
}
.user-input-content span {
  height: 55px;
  width: 55px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.typing-controls {
  display: flex;
}
.typing-controls span {
  margin-left: 7px;
  font-size: 1.4rem;
  border-radius: 4px;
  background: var(--incoming-chat-bg);
  border: var(--incoming-chat-bg);
}
:where(.chat-container, textarea)::-webkit-scrollbar {
  width: 6px;
}
:where(.chat-container, textarea)::-webkit-scrollbar-track {
  background: var(--incoming-chat-bg);
  border-radius: 25px;
}
:where(.chat-container, textarea)::-webkit-scrollbar-thumb {
  background: var(--icon-color);
  border-radius: 25px;
}
/*Mic Animation when recording*/
#voice-upload-btn.recording {
  color: #e74c3c; /* Rot als Aufnahme-Farbe */
  animation: pulse 1.2s infinite ease-in-out;
  cursor: pointer;
}
@keyframes pulse {
  0%, 100% {
    text-shadow: 0 0 5px #e74c3c;
  }
  50% {
    text-shadow: 0 0 15px #e74c3c;
  }
}


/*URL Button Active*/
#url-link-btn {
  cursor: pointer;
  color: var(--text-color);
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 8px;
  padding: 6px;
}

/* Active Style */
#url-link-btn.active {
  background-color: var(--feature-hover);
  color: var(--switch-active); /* schöner, kontrastreicher Farbton */
}

/*Modal Legals*/
/* Modal Background & Container */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--incoming-chat-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 1rem;
  overflow-y: auto;
  backdrop-filter: blur(5px);
	width: 100%;
}

.modal-content {
  /* background: var(--incoming-chat-bg); */
  color: var(--text-color);
 
  width: 100%;
  /* max-height: 80vh; */
  overflow-y: auto;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  /* box-shadow: 0 8px 24px rgba(0,0,0,0.2); */
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

/* Close Button */
#modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--icon-color);
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
}

#modal-close:hover {
  color: var(--switch-active);
}

/* Headings inside modal */
.modal-content h2 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Kontaktformular Styles */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
  color: var(--heading-color);
}

#contact-form input,
#contact-form textarea {
  background: var(--incoming-chat-bg);
  border: 1.5px solid var(--feature-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
  resize: vertical;
  min-height: 40px;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: var(--placeholder-color);
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--switch-active);
  background: var(--feature-bg);
}

/* Button */
#contact-form button {
  align-self: flex-start;
  background: var(--switch-active);
  border: none;
  color: var(--switch-knob);
  font-weight: 600;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form button:hover,
#contact-form button:focus {
  background: #0093d0;
  outline: none;
}

/* Antwort-Nachricht */
#contact-response {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--switch-active);
}

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    padding: 1.5rem 1.75rem;
  }

  #contact-form button {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}


/*PAyPal MOdal*/

#proModal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--incoming-chat-bg);
  border: 1px solid var(--feature-border);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  padding: 20px 30px;
  border-radius: 12px;
  /* width: 320px; */
  max-width: 90vw;
  color: var(--text-color);
  z-index: 10000;
  height: 95%;
}

#proModal.hidden {
  display: none;
}

#proModal .modal-content h2 {
  margin-bottom: 15px;
  color: var(--heading-color);
}

#proModal .modal-content label {
  display: block;
  margin: 12px 0 6px 0;
  font-weight: 600;
  color: var(--text-color);
}

#pro-email,
#pro-duration {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--feature-border);
  border-radius: 6px;
  background: var(--outgoing-chat-bg);
  color: var(--text-color);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

#pro-email:focus,
#pro-duration:focus {
  outline: none;
  border-color: var(--switch-active);
}

#paypal-button-container {
  margin-top: 20px;
}

#codeBox {
  margin-top: 20px;
  padding: 10px;
  background: var(--feature-bg);
  border-radius: 6px;
  border: 1px solid var(--feature-border);
  color: var(--text-color);
}

#codeText {
  font-family: monospace;
  word-break: break-all;
}

/* ───── Pro Status Indicator ───── */


#proModal .modal-content button {
 top: 10px;
    right: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background-color: var(--switch-active);
    color: var(--switch-knob);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* width: 100%; */
    position: absolute;
}

#proModal .modal-content button:hover {
  background-color: #036fbf;
}

/*Cookie Banner*/
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 400px;
  background: var(--incoming-chat-bg);
  color: var(--text-color);
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  z-index: 12000;
  user-select: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.cookie-consent.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-consent p {
  margin: 0;
  line-height: 1.3;
}
.cookie-consent a {
  color: var(--switch-active);
  text-decoration: underline;
}
.cookie-consent .buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-consent button {
  background: var(--switch-active);
  color: var(--switch-knob);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.cookie-consent button:hover {
  background-color: #0288d1;
}
.cookie-consent #reject-cookies {
  background: transparent;
  border: 1px solid var(--switch-active);
  color: var(--switch-active);
}
.cookie-consent #reject-cookies:hover {
  background-color: var(--switch-active);
  color: var(--switch-knob);
}