/* Der Modal-Hintergrund */
.modal, .resultmodal {
    display: none; /* Das Modal ist standardmäßig ausgeblendet */
    position: fixed; /* Fixiert das Modal auf dem Bildschirm */
    z-index: 1; /* Zeigt das Modal über dem restlichen Inhalt an */
    left: 0;
    top: 0;
    width: 100%; /* Volle Breite */
    height: 100%; /* Volle Höhe */
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter schwarzer Hintergrund */
}

/* Modal-Inhalt */
.modal-content, .result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 15px;
    font-family: "Karla", sans-serif;
}

.result-content {
  display: none;
}


/* Schließen-Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

.google-review-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 600px; /* Begrenzung der maximalen Breite */
    margin: 0 auto; /* Zentriert den Container selbst */
    gap: 15px;
}

.google-review-input {
    width: calc(100% - 40px); /* Behält die volle Breite bei */
    max-width: 500px; /* Optional, um eine maximale Breite zu setzen */
    height: 150px; /* Höhe für mehrere Zeilen */
    padding: 12px 16px;
    border: 2px solid #0060df;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    resize: vertical; /* Der Benutzer kann die Höhe ändern */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.google-review-input:focus {
    border-color: #004bb5; /* Etwas dunkleres Blau beim Fokussieren */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Leichte Schattierung beim Fokus */
}

.google-review-btn {
    background-color: #0060df; /* Neues Blau passend zur Website-Farbpalette */
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Dezente Schattierung */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.submit-report-btn {
    background-color: #0060df;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.submit-report-btn:hover,
.google-review-btn:hover {
    background-color: #004bb5;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}

@keyframes glowing {
    0% {
      box-shadow: 0 0 5px deeppink, 0 0 15px deeppink, 0 0 20px deeppink, 0 0 25px deeppink;
    }
    50% {
      box-shadow: 0 0 20px deeppink, 0 0 30px deeppink, 0 0 40px deeppink, 0 0 50px deeppink;
    }
    100% {
      box-shadow: 0 0 5px deeppink, 0 0 15px deeppink, 0 0 20px deeppink, 0 0 25px deeppink;
    }
  }
  
  .submit-report-btn {
    transition: all 0.3s ease;
  }
  
  .submit-report-btn.loading {
    animation: glowing 1.5s infinite;
    cursor: not-allowed;
    background-color: #9ba9e9;
    color: #6564b9;
    transition: 0.5s;
  }

  .submit-report-btn:disabled,
  .submit-report-btn[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}