/*
Theme Name:     Twenty Twenty-Five Child
Theme URI:      https://wordpress.org/themes/twentytwentyfive/
Description:    Child Theme für Twenty Twenty-Five
Author:         Dein Name
Template:       twentytwentyfive
Version:        1.0
*/

@import url("../twentytwentyfive/style.css");

/* Zusätzlicher Infotext über dem Formular */
.password-info {
  max-width: 1200px;
  margin: 0 auto 0.8rem;
  padding: 0 1rem;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.6;
  text-align: left;
  color: #000;
}

/* Container für geschützte Bereiche (nur das Formular) */
.password-protected {
  padding: 1.5rem;
  max-width: 800px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
}


/* Button für Passwort senden */
.password-protected input[type="submit"] {
  background-color: #000;
  color: #fff;
  border: 1px solid transparent;
  padding: 0.4rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  height: 44px; /* Einheitliche Höhe */
  box-sizing: border-box;
  transition: background-color 0.5s ease, color 0.5s ease, border 0.3s ease;
}

/* Hover-Effekt */
.password-protected input[type="submit"]:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

/* Passwortfeld */
.password-protected input[type="password"] {
  font-size: 1rem;
  font-family: inherit;
  padding: 0.4rem 1rem;
  border: 1px solid #000;
  border-radius: 9px;
  box-sizing: border-box;
  outline: none;
  height: 44px; /* Gleiche Höhe wie Button */
  margin-right: 0.5rem;
  transition: border-color 0.2s ease;
}

/* Fokus-Effekt für das Feld */
.password-protected input[type="password"]:focus {
  border-color: #333;
}

@media (max-width: 600px) {
  .password-protected form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .password-protected label {
    margin-bottom: 0.5rem;
	   text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  }

  .password-protected input[type="password"] {
    margin-right: 0;
    margin-bottom: 0.8rem;
    width: 100%;
    max-width: 300px;
  }

  .password-protected input[type="submit"] {
    width: 100%;
    max-width: 300px;
  }
}
