/* footer {
  background: #535353;
} */

body, html {
  height: 100%;
}

.bg-container {
  position: relative;
  width: 100%;
  padding-bottom: 1rem; /* Abstand zum Footer */
}

.bg-container::before {
  content: "";
  background-image: url('/static/images/Timeclock.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
  z-index: -1;
}

/* Feste Positionierung für den Footer - kompaktere Version */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 0;
  height: auto;
  min-height: 40px;
}

/* Neue spezifischere Card Styles */
.card {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,.125);
}

.card .card-header {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(0,0,0,.125);
}

.card .card-body.transparent-card {
  background-color: rgba(255, 255, 255, 0.7) !important;
}

/* Optional: Hover-Effekt für bessere Lesbarkeit */
.card .card-body.transparent-card:hover {
  background-color: rgba(255, 255, 255, 0.8) !important;
  transition: background-color 0.3s ease;
}

/* Height for devices larger than 576px */
@media (min-width: 992px) {
  #intro {
    margin-top: -58.59px;
  }
}

.input_cus, .textarea_cus{
  background-color:rgb(255, 20, 20, 0.5);
  color: #FFF;
}

.input_red, .textarea_red{
  background-color:rgba(255, 20, 20, 0.5);
  color: #FFF;
}

.input_green, .textarea_green{
  background-color:rgba(0, 255, 0, 0.411);
  color: #000000;
}

form i {
  margin-left: -30px;
  cursor: pointer;
}

.inner-addon { 
  position: relative; 
}

/* style icon */
.inner-addon .glyphicon {
position: absolute;
padding: 8px;

}

/* align icon */
.left-addon .glyphicon  { left:  0px;}
.right-addon .glyphicon { right: 0px;}

/* add padding  */
.left-addon input  { padding-left:  30px; }
.right-addon input { padding-right: 30px; }

.explanation-box {
  position: relative;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  background-color: #f9f9f9;
  margin-bottom: 1rem;
}

.fade-text {
  display: none;
  margin-top: 1rem;
}

.read-more-btn {
  display: block;
  margin-top: 1rem;
  background: none;
  border: none;
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.read-more-btn:hover {
  text-decoration: none;
}

.sigPad {
  position: relative;
}

.sigWrapper {
  position: relative;
}

.pad {
  cursor: crosshair;
}

.navbar-brand-icon {
  width: 50px;
}

/* Anpassung für Icons im Footer */
.footer-icon {
  margin: 0 5px;
  color: #6c757d;
  transition: color 0.2s;
  font-size: 1rem;
  text-decoration: none;
}

.footer-icon:hover {
  color: #3f51b5;
}

/* Zusätzlicher Abstand am Ende der Seite, erhöht damit kein Inhalt verdeckt wird */
body {
  padding-bottom: 50px;
}

/* Anpassung für die Review-Seite, mehr Abstand für Button */
#pdf-container, 
.modal-body,
.card-body {
  margin-bottom: 50px;
}