/* ------------------------------
   GLOBAL
------------------------------ */
body {
  margin: 0;
  padding: 0;
  background: #f4f6fb;
  font-family: "Roboto", sans-serif;
  color: #1a1a1a;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

/* ------------------------------
   TITEL
------------------------------ */
h1 {
  text-align: center;
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 45px;
  color: #1e1e1e;
}

/* ------------------------------
   CARD AUSWAHL (Bug / Feedback / Idea)
------------------------------ */
.card-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.card {
  width: 260px;
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card .icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.card .title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card .desc {
  font-size: 14px;
  opacity: 0.7;
}

/* ------------------------------
   FORM
------------------------------ */
.form-container {
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  margin-top: 20px;
}

.hidden {
  display: none !important;
}

/* ------------------------------
   MATERIAL UI INPUTS (FLOATING LABEL)
------------------------------ */
input,
textarea,
select {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  background: #f8f9fe;
  border: 2px solid #dfe3f3;
  font-size: 15px;
  outline: none;
  resize: none;
  font-family: "Roboto", sans-serif;
  transition: border 0.25s ease, background 0.25s ease;
  margin-bottom: 32px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #3f51b5;
  background: #ffffff;
}

/* LABELS ÜBER INPUTS */
label {
  position: relative;
  font-size: 14px;
  margin-left: 4px;
  top: 4px;
  color: #3b3b3b;
  font-weight: 500;
  opacity: 0.9;
  display: block;
  margin-bottom: 6px;
}

/* ------------------------------
   BUTTON
------------------------------ */
button {
  width: 100%;
  padding: 14px;
  background: #3f51b5;
  color: #fff;
  font-size: 17px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  margin-top: 10px;
}

button:hover {
  background: #2c3aa1;
  transform: translateY(-2px);
}

/* ------------------------------
   DROPDOWNS
------------------------------ */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ------------------------------
   TEXTAREAS
------------------------------ */
textarea {
  height: auto;
  min-height: 80px;
}

/* ------------------------------
   ANIMATIONEN
------------------------------ */
.card {
  animation: fadeIn 0.6s ease forwards;
}

.form-container {
  animation: slideUp 0.55s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compat-warning {
  display: flex;
  flex-direction: column; /* NEU → alles untereinander für perfekten Center Look */
  align-items: center; /* Inhalt horizontal zentrieren */
  text-align: center; /* Text und Link zentriert */
  gap: 10px;
  padding: 18px 22px;
  border-radius: 14px;

  background: linear-gradient(
      135deg,
      rgba(255, 170, 0, 0.15),
      rgba(255, 140, 0, 0.1)
    ),
    #fff;

  border: 1px solid rgba(255, 150, 0, 0.45);
  box-shadow: 0 0 12px rgba(255, 170, 0, 0.25),
    inset 0 0 6px rgba(255, 155, 0, 0.2);

  color: #b45309;
  margin-bottom: 22px;
  animation: fadeIn 0.3s ease;
}

.cw-icon {
  font-size: 26px; /* Größer für Center-Design */
}

.cw-text {
  font-size: 15px;
  color: #92400e;
  line-height: 1.45;
  max-width: 480px; /* Für schönes Format */
}

.compat-warning a {
  color: #b45309;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(180, 83, 9, 0.5);
  transition: 0.2s ease;
}

.compat-warning a:hover {
  color: #7c2d12;
}
