@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap");
body {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #10150e;
  background-image: url("../img/bg.webp");
  background-size: cover;
  background-attachment: fixed; /* This line ensures the background image is fixed */
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  color: white;
}

h1,
h2,
h3,
h4,
h5,
p {
  color: white;
}

h3 {
  margin: 5px 0px;
  font-size: 20px;
}

a {
  color: white;
  text-decoration: none;
  line-height: 20px;
  cursor: pointer;
}

input {

  color:black;
}

.tab-content a {
  color: white;
  text-decoration: underline;
  line-height: 20px;
  cursor: pointer;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.half {
  width: 50%;
  padding: 0 15px; /* Adjust as necessary for your design */
  box-sizing: border-box;
}

.full-width {
  width: 100%;
  padding: 0 15px; /* Adjust as necessary for your design */
  box-sizing: border-box;
}

.between {
  justify-content: space-between;
}

.header-container {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #0f150f;
  padding: 6px;
  justify-content: left;
}

.header-container img {
  max-width: 60px;
}

.wrapper {
  display: flex;
  flex-direction: row;
  height: 100vh;
}

.sidebar {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #6ba5254d;
  width: 210px; /* Adjust width of the sidebar */
  color: white;
  padding: 15px;
  box-sizing: border-box;
  height: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}

.menu_upper,
.menu_lower {
  display: flex;
  flex-direction: column;
}

.flash-message {
  padding: 1em;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #562e2e4d;
  color: white;
  margin: 4px;
  border-radius: 16px;
}

.success {
  background-color: #6ca525;
}

.content {
  margin-left: 200px; /* Same as sidebar width */
  width: calc(100% - 200px); /* Adjust content width */
  padding: 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.content-customer {
  width: 100%;
  padding: 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.content-innerli {
  display: flex;
  flex-direction: column;
  width: inherit;
}

.inner-container {
  border-radius: 16px;
  margin-top: 30px;
  padding: 2em 1em;
  text-align: center;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #6ba52527;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
  gap: 10px;
}

.td-wrapper {
  margin-bottom: 50px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}
.data-table th,
.data-table td {
  border-bottom: 1px solid #11111144;
  padding: 8px;
  text-align: left;
  color: white;
  vertical-align: baseline;
}
.data-table th {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: rgba(0, 0, 0, 0.623);
  vertical-align: top;
}
.data-table tr:nth-child(odd) {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #dcdfd92d;
}

.data-table tr:nth-child(even) {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #7fb33f33;
}

.download {
  padding: 10px;
  background-color: #6ca525;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  border-radius: 16px;
}

.update {
  padding: 4px 8px;
  background-color: #6ca525;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  border-radius: 16px;
  border: none;
  color: white;
}

.filterli {
  padding: 10px;
  background-color: #b85f23;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  border-radius: 16px;
}

#delete {
  padding: 4px;
  background-color: transparent;
}

#deleteuser {
  padding: 10px;
  background-color: #afafaf;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  border-radius: 16px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  padding-block: 12px;
  padding-inline: 12px;
  border-radius: 16px;
  border: 0px solid;
  margin-top: 8px;
  margin-bottom: 12px;
}

select {
  padding: 8px 20px; /* Some padding */
  border: 1px solid #ddd; /* Subtle border */
  border-radius: 16px; /* Rounded corners */
  background-color: white; /* White background color */
  font-size: 16px; /* Sufficient text size */
  -webkit-appearance: none; /* Remove default styles for Webkit browsers */
  -moz-appearance: none; /* Remove default styles for Mozilla browsers */
  appearance: none; /* Standard way to remove default styles */
  cursor: pointer;
}

select:after {
  content: "\25BC"; /* Unicode for downward arrow */
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 15px;
}

select:focus {
  outline: none; /* Remove the focus outline */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

input[type="text"],
input[type="password"]:focus {
  padding-block: 12px;
  padding-inline: 12px;
  border-radius: 16px;
  border: 0px solid;
  margin-top: 8px;
  margin-bottom: 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type="submit"] {
  background: #6ca525;
  border-radius: 16px;
  padding: 12px 30px;
  border: none;
  /* margin-top: 15px; */
  color: white;
  cursor: pointer;
}

input[type="file"] {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: rgba(136, 255, 152, 0.178);
  border-radius: 16px;
  padding: 25px;
  border: none;
}

input[type="file-upload-button"] {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #7c65e063;
  border-radius: 16px;
  padding: 25px;
  border: none;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.navlogo {
  margin-bottom: 25px;
  margin-top: 20px;
}

.version {
  font-size: 11px;
  font-weight: bold;
  background: radial-gradient(circle, rgb(5, 5, 5), rgb(36, 36, 36));
  padding: 4px 3px;
  border-radius: 8px;
  width: 50px;
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.search {
  align-self: start;
}

.rainbow-text {
  /* Create a linear gradient with the colors of the rainbow */
  background: linear-gradient(
    to right,
    rgb(123, 156, 216),
    rgb(62, 185, 62),
    rgb(154, 224, 114)
  );

  /* Makes the text transparent so we can see the gradient */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 5px;
}

.drop-zone {
  border: 2px dashed #007bff;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  color: #007bff;
  cursor: pointer;
  margin: 25px;
  min-height: 120px;
  justify-items: center;
  display:flex;
  justify-content: center;

align-items: center;
}

.drop-zone:hover {
  border-color: #f8f9fa;
  background-color: #dddddd1a;
}

.drop-zone.drag-over {
  background-color: #6ba5254f;
}

.userinfo {
  font-size: 12px;
  color: #ddd;
  border-bottom: 1px solid white;
  padding: 4px;
}



th {
  cursor: pointer;
}

input[type="date"] {
  background-color: #2b9c2128;
  padding: 3px;
  border: 1px solid #11460cde;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  color: gray;
  font-family: "Barlow", sans-serif;
}

::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.module-icon {
 
  height: 20px; 
  width: 20px;
  max-height: 100%;
  max-width: 100%;
}

@media (max-width: 1475px) {
  .module-icon {
    
    height: 18px; 
    width: 18px;
    max-height: 100%;
    max-width: 100%;
  }
}

.module-wrapper {
  display: inline-block; /* or 'inline' */
  vertical-align: middle;
 
  margin-right: 1px;
  margin-bottom: 1px;
  border: 1px solid;
  border-radius: 25px;
}

/* .expandable {
    cursor: pointer;
}

.module-table {
    backdrop-filter: blur(60px) saturate(100%);
    -webkit-backdrop-filter: blur(60px) saturate(100%);
    background-color: #ffffff77;
} */

.modal {
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  overflow: hidden;
  animation: fade-in 0.1s ease-in-out;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.modal-content {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #6ba5252d;
  margin: 15% auto;
  padding: 20px;
  border-radius: 9px;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Basic Reset for Table */
#modalTable {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#modalTable thead tr {
  background-color: #141f0d;
  color: #ffffff;
  text-align: left;
}

#modalTable th,
#modalTable td {
  padding: 12px 15px;
}

/* Zebra Striping for Rows */
#modalTable tbody tr:nth-of-type(even) {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #10150e93;
}

#modalTable tbody tr:nth-of-type(odd) {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #202b1cba;
}

td#email {
  cursor: pointer;
}

.thsubline {
  font-size: 10px;
  text-align: center;
}

.infobox {
  padding: 10px 25px;
  background-color: #e0f1b18e;
  border-radius: 9px;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  text-align: left;
}

.infobox p {
  color: #000;
}

/* Selfservice CSS */

#email-form-container {
  margin-bottom: 20px;
}

.card {
  background-color: transparent;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.card h3 {
  margin-top: 0;
  padding-bottom: 15px;
}

.card-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.stat {
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  background-color: #465638(154, 178, 148, 0.722);
  background-image: radial-gradient(
    circle,
    rgba(42, 104, 26, 0.722),
    rgba(80, 112, 72, 0.722)
  );
  border-radius: 4px;
  padding: 30px;
  margin: 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 160px;
  width: 160px;
}

.inner-stat {
  font-size: 22px;
  font-weight: bold;
  padding: 10px;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
}

.analytics-table th,
.analytics-table td {
  padding: 8px;
  text-align: left;
  background-color: #10150e63;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
}

.analytics-table th {
  background-color: #10150ecb;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
}

#analytics-container {
  /* other styles for the container */
  animation-delay: 2s;
  animation: ease-in;
}

.settings-container {
  display: flex;
  flex-direction: column;
}

.settings-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
  padding: 15px 10px;
  background-color: #10150e6a;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  border-radius: 16px;
  font-size: 12px;
}

.data {
  font-size: 13px;
  padding: 1px 0px;
}

#date-forms {
  display: none;
  margin: 10px 0px;
}

#edit-dates {
  font-size: 9px;
  background-color: #10150e81;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  color: white;
  padding: 4px;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.danger {
  border: 2px solid red;
}

#updateDatesForm {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.tab-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  align-items: center;
}

.logo-wrapper img {
  max-width: 120px;
  padding: 15px;
}

.tab {
  padding: 10px 20px;
  background-color: #10150e81;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.tab:hover {
  background-color: #10150e4b;
}

.tab:active:after {
  background-color: #203118;
}

.tab-content {
  display: none;
  border:none;
}
.tab-content.active {
  display: block;
  border:none;
}
.tab-btn.active {
  background-color: white;
  color: #6BA524;
}

#customer-register {
  display: flex;
  flex-direction: column;
  width: 180px;
  gap: 10px;
}

#customer-login {
  display: flex;
  flex-direction: column;
  width: 180px;
  gap: 10px;
}

#register {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#login {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 600px) {
  .desktop {
    display: none;
  }
  .data-table th,
  .data-table td {
    padding: 5px;
    font-size: 11px;
  }
}

@media (max-width: 800px) {
  .content-customer {
    padding: 5px;
  }
}

.detail_header {
  padding: 5px;
  background-color: #10150e81;
  backdrop-filter: blur(60px) saturate(100%);
  -webkit-backdrop-filter: blur(60px) saturate(100%);
  width: 100%;
  border-radius: 15px;
}

.stat {
  background-color: #000;
  padding: 5px;
}

.tab-nav {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.tab-nav button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px;
  transition: 0.3s;
}

.tab-nav button:hover {
  background-color: #ddd;
}

.tab-nav button.active {
  background-color: #ccc;
}

.tab-content {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.weekly-stats-table, .attendance-table, .anmeldezeiten-table {
  width: 100%;
  border-collapse: collapse;
}

.weekly-stats-table th, .attendance-table th, .anmeldezeiten-table th {
  background-color: #f2f2f2;
  text-align: left;
  padding: 8px;
}

.weekly-stats-table td, .attendance-table td, .anmeldezeiten-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.long-duration {
  color: yellow;
}

.irrelevant {
  text-decoration: line-through;
}

.spinner {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: 20px auto; /* Center the spinner */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}