* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-drag: none; /* Verhindert das Ziehen von Objekten */
    -webkit-user-drag: none; /* Für Webkit-Browser */
    caret-color: transparent; /* Verhindert die Anzeige des Caret-Zeichen-Cursors */
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: #f0f0f0; /* Angenehmerer Hintergrund */
}

header {
    background-color: #444;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .menu {
    display: flex;
    gap: 15px;
}

header .menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

header .settings {
    cursor: pointer;
    background-color: #555;
    padding: 5px 10px;
    border-radius: 5px;
}

main {
    display: flex;
    flex: 1;
    position: relative;
}

.main-pattern {
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    background-image: linear-gradient(
        90deg,
        transparent 50px,
        #ffb4b8 50px,
        #ffb4b8 52px,
        transparent 52px
      ),
      linear-gradient(#e1e1e1 0.1em, transparent 0.1em);
    background-size: 100% 30px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Ensure it stays behind other elements */
}

.left {
  width: 400px; /* Set the frame width */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Add padding inside the frame */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Add a shadow for the frame */
  position: relative; /* Ensure the `.left` container is the reference for absolute positioning */
    --bg: linear-gradient(
        45deg,
        rgb(0, 0, 0) 25%,
        transparent 25%,
        transparent 75%,
        rgb(0, 0, 0) 75%,
        rgb(0, 0, 0)
      ),
      linear-gradient(
        45deg,
        rgb(0, 0, 0) 25%,
        white 25%,
        rgb(255, 255, 255) 75%,
        rgb(0, 0, 0) 75%,
        rgb(0, 0, 0)
      );
    --bgsize: 60px 60px;
    --bgposition: 0 0, 30px 30px;
    background-color: white;
    background-image: var(--bg);
    background-size: var(--bgsize);
    background-position: var(--bgposition);
    position: relative;
    perspective: 1000px;
    overflow: hidden;
    box-shadow: inset 0px 0px 500px rgb(15, 15, 15);
}

.left::before {
    content: "";
    width: 100%;
    height: 150%;
    box-shadow: 0px -100px 500px black, inset 0px 100px 500px rgb(15, 15, 15);
    position: absolute;
    top: 55%;
    background-image: var(--bg);
    background-size: var(--bgsize);
    background-position: var(--bgposition);
    transform-origin: top;
    transform: rotateX(80deg);
}

.left .click-object {
    width: 180px; /* Vergrößert um 20% */
    height: 180px; /* Vergrößert um 20% */
    background-color: transparent; /* Remove background color */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 0; /* Remove padding */
    transition: transform 0.1s ease; /* Add a slight animation on click */
    z-index: 10; /* Sicherstellen, dass das Click-Objekt immer im Vordergrund ist */
    user-select: none; /* Verhindert das Markieren des Click-Objekts */
    -webkit-user-select: none; /* Für Webkit-Browser */
    -ms-user-select: none; /* Für Internet Explorer */
}

.left .click-object img {
    width: 100%; /* Make the image fill the click object */
    height: 100%; /* Keep the circular shape */
    object-fit: cover; /* Ensure the image scales properly */
}

.left .click-object:active {
    transform: scale(0.95); /* Slightly shrink on click */
}

.right {
    width: 300px;
    background-color: #ddd;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 150px; /* Adjusted to make space for the smaller bar */
}

.right-small {
    width: 150px; /* Half the size of the .right bar */
    background-color: #bbb;
    padding: 10px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

.heitel-bar {
    background-color: #555;
    color: white;
    text-align: left;
    padding-left: 20px;
    padding-right: 0%;
    padding-top: 10px;
    padding-bottom: 15px;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 50px; /* Set a fixed height for the horizontal bar */
    width: 550px;
}

.heitel-bar .heitels {
    font-size: 16px;
    background-color: burlywood;
    width: fit-content;
    padding: 4px;
    padding-right: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Added shadow */
}

.heitels {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between the icon and the value */
}

.heitel-icon {
    width: 20px; /* Adjust size as needed */
    height: 20px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

.shop-item {
    background-color: #2c2c2c;
    color: #ffffff;
    border: 1px solid #747474;
    padding: 5px;
    padding-left: 6px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Add smooth transition */
    user-select: none; /* Prevent text selection */
    -webkit-user-select: none; /* For Safari */
    -ms-user-select: none; /* For Internet Explorer */
    display: flex;
    align-items: center; /* Align icon and text vertically */
    gap: 10px; /* Add spacing between the icon and text */
    position: relative; /* Required for tooltip positioning */
}

.tooltip {
  visibility: hidden;
  background-color: rgba(51, 51, 51, 0.651); /* 50% transparent background */
  color: #fff;
  text-align: left; /* Align text for better readability */
  line-height: 1.5; /* Add spacing between lines */
  font-size: 14px; /* Adjust font size for better readability */
  padding: 6px;
  text-wrap: normal;
  width: 300px; /* Set a fixed width for the tooltip */
  border-radius: 5px;
  position: absolute;
  top: 0%;
  right: 20%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 5px; /* Add spacing between rows */
}

.tooltip .itemDescription {
  font-size: 13px; /* Adjust font size for better readability */
  color: #fff; /* White text color for better contrast */
  text-align: left; /* Align text for better readability */
  line-height: 1.2; /* Reduce line spacing */
}

.tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.tooltip-icon {
    width: 21px; /* Small icon size */
    height: 21px;
}

.shop-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.shop-item-info{
    flex-direction: row;
}

.shop-item h4 {
    margin-bottom: 5px;
}

.shop-item button:hover {
    background-color: #0056b3;
}

.shop-item:hover {
    transform: scale(1.005);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.shop-item-icon-frame {
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensure the icon fits within the frame */
}

.shop-item-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.shop-item#item2 .shop-item-icon {
    background-color: #ddd; /* Light blue for Cisco Router */
    height: 40px;
    width: 40px;
}

.itemcount{
    background-color: rgb(212, 185, 65);
    color: black;
    padding-bottom: 0px;
    padding-top: 2px;
    padding-left: 4px;
    padding-right: 5px;
    border-radius: 5px;
    font-size: 15px;
}

.iteminfo-container {
    display: flex;
    gap: 10px; /* Add space between icon and text */
    align-items: center;
}

#floatingTextContainer {
    position: fixed; /* Use fixed positioning to ensure it stays in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevent interaction with the floating text */
    z-index: 9999; /* Ensure it is above all other elements */
}

.floating-text {
    position: absolute;
    font-size: 18px; /* Größere Schrift für bessere Sichtbarkeit */
    font-weight: bold;
    color: #ffcc00; /* Helleres Gelb */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    animation: fallAndFade 1.2s ease-out forwards; /* Längere Animation */
}

@keyframes fallAndFade {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(80px); /* Längerer Fall */
    }
}

.dev-menu {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #f4f4f4;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dev-menu h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #333;
}

.dev-menu input,
.dev-menu button {
    display: block;
    margin: 5px 0;
    padding: 5px;
    font-size: 14px;
}

.dev-menu img {
    display: block;
    margin-top: 10px;
}

#autoClickerSymbols {
    position: absolute;
    width: 190px; /* Vergrößert um 20%, passend zum Click-Objekt */
    height: 190px; /* Vergrößert um 20%, passend zum Click-Objekt */
    top: 48%; /* Zentriert relativ zum Click-Objekt */
    left: 47.5%; /* Zentriert relativ zum Click-Objekt */
    transform: translate(-50%, -50%); /* Center the container exactly over the click object */
    pointer-events: none; /* Prevent interaction with the symbols */
    z-index: 15; /* Sicherstellen, dass die Auto-Clicker-Symbole über dem Click-Objekt sind */
}

.auto-clicker-symbol {
    position: absolute;
    width: 30px; /* Vergrößert proportional */
    height: 42px; /* Vergrößert proportional */
    transform-origin: center center; /* Ensure proper rotation */
    animation: none; /* Disable self-rotation */
}

@keyframes rotateSymbol {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.settings-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 10001;
    width: 300px;
    padding: 20px;
}

.settings-popup-content {
    position: relative;
}

.settings-popup h2 {
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5555;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.close-popup:hover {
    background: #ff0000;
}

.settings-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    border-bottom: 2px solid #007BFF;
    font-weight: bold;
}

.tab-button:hover {
    background-color: #f0f0f0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.settings-popup label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

/* From Uiverse.io by xerith_8140 */ 
/* Notification container */

.notification-container {
    /* Position bottom right */
    position: fixed;
    bottom: 2%;
    right: 2%;
    z-index: 1000;
    max-width: 80%;
    
    --content-color: black;
    --background-color: #f3f3f3;
    --font-size-content: 0.75em;
    --icon-size: 1em;
  
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    list-style-type: none;
    font-family: sans-serif;
    color: var(--content-color);
  }
  
  /* Notification Item */
  
  .notification-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 1em;
    overflow: hidden;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: rgba(111, 111, 111, 0.2) 0px 8px 24px;
    background-color: var(--background-color);
    transition: all 250ms ease;
  
    /* Background Pattern */
  
    --grid-color: rgba(225, 225, 225, 0.7);
    background-image: linear-gradient(
        0deg,
        transparent 23%,
        var(--grid-color) 24%,
        var(--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var(--grid-color) 74%,
        var(--grid-color) 75%,
        transparent 76%,
        transparent
      ),
      linear-gradient(
        90deg,
        transparent 23%,
        var(--grid-color) 24%,
        var(--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var(--grid-color) 74%,
        var(--grid-color) 75%,
        transparent 76%,
        transparent
      );
    background-size: 55px 55px;
  }
  
  .notification-item svg {
    transition: 250ms ease;
  }
  
  .notification-item:hover {
    transform: scale(1.01);
  }
  
  .notification-item:active {
    transform: scale(1.05);
  }
  
  .notification-item .notification-close:hover {
    background-color: rgba(204, 204, 204, 0.45);
  }
  
  .notification-item .notification-close:hover svg {
    color: rgb(0, 0, 0);
  }
  
  .notification-item .notification-close:active svg {
    transform: scale(1.1);
  }
  
  /* Notification Icons */
  
  .notification-item .notification-close {
    padding: 2px;
    border-radius: 5px;
    transition: all 250ms;
  }
  
  .notification-container svg {
    width: var(--icon-size);
    height: var(--icon-size);
    color: var(--content-color);
  }
  
  .notification-icon {
    display: flex;
    align-items: center;
  }
  
  /* Success */
  
  .success {
    color: #047857;
    background-color: #7dffbc;
    --grid-color: rgba(16, 185, 129, 0.25);
    background-image: linear-gradient(
        0deg,
        transparent 23%,
        var(--grid-color) 24%,
        var(--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var(--grid-color) 74%,
        var(--grid-color) 75%,
        transparent 76%,
        transparent
      ),
      linear-gradient(
        90deg,
        transparent 23%,
        var(--grid-color) 24%,
        var(--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var(--grid-color) 74%,
        var(--grid-color) 75%,
        transparent 76%,
        transparent
      );
  }
  
  .success svg {
    color: #047857;
  }
  
  .success .notification-progress-bar {
    background-color: #047857;
  }
  
  .success:hover {
    background-color: #5bffaa;
  }
  
  /* Info */
  
  .info {
    color: #1e3a8a;
    background-color: #7eb8ff;
    --grid-color: rgba(59, 131, 246, 0.25);
    background-image: linear-gradient(
        0deg,
        transparent 23%,
        var (--grid-color) 24%,
        var (--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var (--grid-color) 74%,
        var (--grid-color) 75%,
        transparent 76%,
        transparent
      ),
      linear-gradient(
        90deg,
        transparent 23%,
        var (--grid-color) 24%,
        var (--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var (--grid-color) 74%,
        var (--grid-color) 75%,
        transparent 76%,
        transparent
      );
  }
  
  .info svg {
    color: #1e3a8a;
  }
  
  .info .notification-progress-bar {
    background-color: #1e3a8a;
  }
  
  .info:hover {
    background-color: #5ba5ff;
  }
  
  /* Warning */
  
  .warning {
    color: #78350f;
    background-color: #ffe57e;
    --grid-color: rgba(245, 159, 11, 0.25);
    background-image: linear-gradient(
        0deg,
        transparent 23%,
        var (--grid-color) 24%,
        var (--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var (--grid-color) 74%,
        var (--grid-color) 75%,
        transparent 76%,
        transparent
      ),
      linear-gradient(
        90deg,
        transparent 23%,
        var (--grid-color) 24%,
        var (--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var (--grid-color) 74%,
        var (--grid-color) 75%,
        transparent 76%,
        transparent
      );
  }
  
  .warning svg {
    color: #78350f;
  }
  
  .warning .notification-progress-bar {
    background-color: #78350f;
  }
  
  .warning:hover {
    background-color: #ffde59;
  }
  
  /* Error */
  
  .error {
    color: #7f1d1d;
    background-color: #ff7e7e;
    --grid-color: rgba(239, 68, 68, 0.25);
    background-image: linear-gradient(
        0deg,
        transparent 23%,
        var (--grid-color) 24%,
        var (--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var (--grid-color) 74%,
        var (--grid-color) 75%,
        transparent 76%,
        transparent
      ),
      linear-gradient(
        90deg,
        transparent 23%,
        var (--grid-color) 24%,
        var (--grid-color) 25%,
        transparent 26%,
        transparent 73%,
        var (--grid-color) 74%,
        var (--grid-color) 75%,
        transparent 76%,
        transparent
      );
  }
  
  .error svg {
    color: #7f1d1d;
  }
  
  .error .notification-progress-bar {
    background-color: #7f1d1d;
  }
  
  .error:hover {
    background-color: #ff5f5f;
  }
  
  /* Notification content */
  
  .notification-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5em;
  }
  
  .notification-text {
    font-size: var (--font-size-content);
    user-select: none;
  }
  
  .notification-close {
    cursor: pointer;
  }
  
  /* Notification progress bar */
  
  .notification-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var (--content-color);
    width: 100%;
    transform: translateX(100%);
    animation: progressBar 5s linear forwards;
  }
  
  /* progressBar Animation */
  
  @keyframes progressBar {
    0% {
      transform: translateX(0);
    }
  
    100% {
      transform: translateX(-100%);
    }
  }

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.logo {
    height: 50px;
    width: auto;
}

.login-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.register-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.form {
    --input-focus: #2d8cf0;
    --font-color: #323232;
    --font-color-sub: #666;
    --bg-color: beige;
    --main-color: black;
    padding: 20px;
    background: lightblue;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
}

.title {
    color: var(--font-color);
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 25px;
}

.title span {
    color: var(--font-color-sub);
    font-weight: 600;
    font-size: 17px;
}

.input {
    width: 250px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    background-color: var(--bg-color);
    box-shadow: 4px 4px var(--main-color);
    font-size: 15px;
    font-weight: 600;
    color: var(--font-color);
    padding: 5px 10px;
    outline: none;
}

.input::placeholder {
    color: var(--font-color-sub);
    opacity: 0.8;
}

.input:focus {
    border: 2px solid var(--input-focus);
}

.login-with {
    display: flex;
    gap: 20px;
}

.button-log {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid var(--main-color);
    background-color: var(--bg-color);
    box-shadow: 4px 4px var(--main-color);
    color: var(--font-color);
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon {
    width: 24px;
    height: 24px;
    fill: var(--main-color);
}

.button-log:active, .button-confirm:active {
    box-shadow: 0px 0px var(--main-color);
    transform: translate(3px, 3px);
}

.button-confirm {
    margin: 50px auto 0 auto;
    width: 120px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    background-color: var(--bg-color);
    box-shadow: 4px 4px var(--main-color);
    font-size: 17px;
    font-weight: 600;
    color: var(--font-color);
    cursor: pointer;
}

.button {
    --font-color: #323232;
    --bg-color: #fff;
    --main-color: #323232;
    width: 120px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    background-color: var(--bg-color);
    box-shadow: 4px 4px var(--main-color);
    font-size: 17px;
    font-weight: 600;
    color: var(--font-color);
    cursor: pointer;
}

.button:active {
    box-shadow: 0px 0px var(--main-color);
    transform: translate(3px, 3px);
}

.auth-buttons {
    display: flex;
    gap: 10px; /* Space between the buttons */
}

.profile-container {
    position: relative;
    display: inline-block;
}

.profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #323232;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.profile-popup {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    border: 2px solid #323232;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    width: 200px;
    padding: 10px;
}

.profile-popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-popup li {
    margin: 10px 0;
}

.profile-popup button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.profile-popup button:hover {
    background-color: #f0f0f0;
}

.profile-management-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ADD8E6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    z-index: 10001;
    width: 600px;
    padding: 30px;
    animation: popup-appear 0.3s ease-out;
}

@keyframes popup-appear {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.profile-management-content {
    position: relative;
    color: white;
    font-family: 'Arial', sans-serif;
}

.profile-management-popup h2 {
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.profile-tabs .tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.profile-tabs .tab-button.active {
    border-bottom: 3px solid #ffcc00;
    font-weight: bold;
    transform: scale(1.1);
}

.profile-tabs .tab-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.profile-section {
    margin-bottom: 20px;
}

.profile-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #fff;
}

.profile-section input[type="text"],
.profile-section input[type="email"],
.profile-section input[type="password"] {
    width: 100%;
    height: 45px;
    border-radius: 10px;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    outline: none;
}

.profile-section input[type="text"]:focus,
.profile-section input[type="email"]:focus,
.profile-section input[type="password"]:focus {
    border: 2px solid #ffcc00;
}

.profile-picture-preview {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.profile-picture-preview:hover::after {
    content: "Klicken, um zu ändern";
    position: absolute;
    bottom: -20px;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

.profile-picture-preview img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffcc00;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-picture-preview img:hover {
    transform: scale(1.1);
}

.button-confirm {
    display: block;
    margin: 20px auto 0;
    width: 150px;
    height: 45px;
    border-radius: 10px;
    border: none;
    background: #ffcc00;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-confirm:hover {
    background-color: #ffdd33;
    transform: scale(1.05);
}

.crop-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 10001;
    width: 400px;
    padding: 20px;
}

.crop-modal-content {
    position: relative;
    text-align: center;
}

.crop-modal h2 {
    margin-bottom: 15px;
    font-size: 20px;
}

#cropContainer {
    width: 100%;
    height: 300px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 10px;
}

#cropContainer img {
    max-width: 100%;
    max-height: 100%;
}

.input__container {
    position: relative;
    background: #f0f0f0;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    border: 4px solid #000;
    max-width: 350px;
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-10deg);
    perspective: 1000px;
    box-shadow: 10px 10px 0 #000;
}

.input__container:hover {
    transform: rotateX(5deg) rotateY(1deg) scale(1.05);
    box-shadow: 25px 25px 0 -5px #e9b50b, 25px 25px 0 0 #000;
}

.shadow__input {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: -1;
    transform: translateZ(-50px);
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.4) 0%, rgba(255, 107, 107, 0.1) 100%);
    filter: blur(20px);
}

.input__button__shadow {
    cursor: pointer;
    border: 3px solid #000;
    background: #e9b50b;
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transform: translateZ(20px);
    position: relative;
    z-index: 3;
    font-weight: bold;
    text-transform: uppercase;
}

.input__button__shadow:hover {
    background: #e9b50b;
    transform: translateZ(10px) translateX(-5px) translateY(-5px);
    box-shadow: 5px 5px 0 0 #000;
}

.input__button__shadow svg {
    fill: #000;
    width: 25px;
    height: 25px;
}

.input__search {
    width: 100%;
    outline: none;
    border: 3px solid #000;
    padding: 15px;
    font-size: 18px;
    background: #fff;
    color: #000;
    transform: translateZ(10px);
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 3;
    font-family: "Roboto", Arial, sans-serif;
    letter-spacing: -0.5px;
}

.input__search::placeholder {
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
}

.input__search:hover,
.input__search:focus {
    background: #f0f0f0;
    transform: translateZ(20px) translateX(-5px) translateY(-5px);
    box-shadow: 5px 5px 0 0 #000;
}

.input__container::before {
    content: "USERNAME";
    position: absolute;
    top: -15px;
    left: 20px;
    background: #e9b50b;
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 14px;
    transform: translateZ(50px);
    z-index: 4;
    border: 2px solid #000;
}