/* ----------------------------------
  Global Basics
---------------------------------- */

:root {
  --bs-primary: #97918e;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  font-size: 16px;
  background-color: #f4f0e8;
  font-family: "Segoe UI", sans-serif;
  overscroll-behavior: none; /* Verhindert "Bounce" auf Mobile */
}

/* Responsive Schriftgrößen */
@media (max-width: 480px) {
  html {
    font-size: 14.5px;
  }
}
@media (max-width: 375px) {
  html {
    font-size: 13.5px;
  }
}

/* ----------------------------------
  Floating Icons (Header rechts)
---------------------------------- */
.floating-icons {
  position: fixed;
  top: 1rem;
  z-index: 1040;
  display: flex;
  gap: 1rem;
}
.floating-icons i {
  font-size: 1.4rem;
  color: #555;
  background: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------
  Bottom Navigation
---------------------------------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  padding: 0.6rem 0;
  z-index: 1030;
}
.bottom-nav a {
  color: #999;
  text-align: center;
  font-size: 0.8rem;
  text-decoration: none;
}
.bottom-nav a.active {
  color: #000;
  font-weight: bold;
}
.bottom-nav i {
  display: block;
  font-size: 1.4rem;
}

/* ----------------------------------
  Content Area
---------------------------------- */
.content-area {
  padding: 5rem 1rem 10rem;
  max-width: 1000px;
  margin: auto;
}
.fade-slide-enter {
  opacity: 0;
  transform: translateX(40px); /* deutlichere Bewegung */
}

.fade-slide-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}



/* ----------------------------------
  Cards (Profile, Question)
---------------------------------- */
.profile-card,
.question-card,
.profile-card-full {
  background-color: #fdfcf9;
  border-radius: 1.5rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin: 0 auto;
  max-width: 500px;

  overflow-y: auto;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Spezielle für volle Profile */
.profile-card-full {
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

/* Swipe Effekte */
.profile-card.swipe-like {
  border: 7px solid rgba(0, 200, 100, 0.4);
}
.profile-card.swipe-dislike {
  border: 7px solid rgba(255, 50, 50, 0.4);
}

/* ----------------------------------
  Swipe Indikator
---------------------------------- */
#swipe-indicator {
  z-index: 2;
  transition: opacity 0.2s ease;
}
#swipe-indicator .fa-heart {
  color: rgba(0, 200, 100, 0.7);
}
#swipe-indicator.dislike .fa-heart {
  content: "\f00d"; /* FontAwesome "times" */
  color: rgba(255, 50, 50, 0.7);
}

/* ----------------------------------
  Badges (z.B. Interests)
---------------------------------- */
.badge-custom {
  background-color: #f4f0e8;
  color: #6c757d;
  border: 1px solid transparent;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  line-height: 1.2;
  font-weight: 500;
  display: inline-block;
  margin: 0.25rem;
}

/* ----------------------------------
  Chat Scrollbar
---------------------------------- */
#chat-wrapper::-webkit-scrollbar {
  width: 6px;
}
#chat-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.1);
  border-radius: 3px;
}

/* ----------------------------------
  Matches Liste
---------------------------------- */
#matches-list {
  overflow-y: auto;
  max-height: calc(100vh - 22rem);
}

/* ----------------------------------
  Modal Fenster
---------------------------------- */
body.modal-open {
  padding-right: 0 !important;
  overflow: hidden;
}
.modal {
  backdrop-filter: blur(4px);
  background-color: rgba(244, 240, 232, 0.75);
}
.modal-dialog {
  margin: 0 auto;
  max-width: 500px;
}
.modal-content {
  background-color: #fbf8f2;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ----------------------------------
  Sonstiges
---------------------------------- */
#answerHint {
  transition: opacity 0.5s ease;
  font-style: italic;
}

.big-input {
  font-size: 1.1rem;
  padding: 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #ddd;
}

/* ----------------------------------
  myQuestions
---------------------------------- */
.my-question-card {
  width: 100%;
  max-width: 400px;
  min-height: 80px;
}

.my-question-filled {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.my-question-empty {
  border: 2px dashed #ccc;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  cursor: pointer;
}

.my-question-empty .inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
  font-weight: 300;
  font-size: 0.9rem;
}
/* =======================
   My Profile
   ======================= */
.color-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease;
}
.color-circle:hover {
  transform: scale(1.1);
  border-color: #999;
}

/* =======================
   Buttons – Designsystem
   ======================= */

   .btn-base {
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    min-width: 160px;
    max-width: 280px;
    width: 100%;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: all 0.2s ease-in-out;
  }
  
  .btn-primary {
    background-color: var(--bs-primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    min-width: 160px;
    max-width: 280px;
    width: 100%;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
  }
  
  .btn-secondary {
    background-color: transparent;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-secondary);
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    min-width: 160px;
    max-width: 280px;
    width: 100%;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
  }

  /* Danger Action */
  .btn-danger {
    border-radius: 999px;
      padding: 0.5rem 1.5rem;
      min-width: 160px;
      max-width: 280px;
      width: 100%;
      margin-bottom: 0.75rem;
      font-weight: 500;
      font-size: 1rem;
      text-align: center;
      transition: all 0.2s ease-in-out;
    background-color: transparent;
    border: 1px solid var(--bs-danger);
    color: var(--bs-danger);
  }
  .btn-flat.active {
    background-color: #e0e0e0; /* leicht grau */
    border-color: #bbb;
    color: #000;
  }
  /* Link Button (z. B. für Cancel etc.) */
  .btn-link-muted {
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    min-width: 160px;
    max-width: 280px;
    width: 100%;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: all 0.2s ease-in-out;
    background: none;
    border: none;
    color: #999;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.95rem;
  }
  
  .btn-sm {
    padding: 0.3rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn-block {
    width: 100%;
    max-width: none;
  }

  .btn-centered {
    display: flex;
    justify-content: center;
  }