@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

@media screen and (max-width: 600px) {
  .wrapper {
    padding: 20px;
    margin: 10px;
  }
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(45deg, #ff9a00, #ff5f6d);
}

.wrapper {
  width: 360px;
  background: #fff5e1;
  border: 2px solid #ff9a00;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  color: #333;
}

.wrapper h1 {
  font-size: 32px;
  color: #ff5f6d;
  margin-bottom: 20px;
}

.wrapper .input-box {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.input-box input {
  width: 85%;
  height: 50px;
  padding: 10px 15px;
  background: #fff;
  border: 2px solid #ff9a00;
  border-radius: 25px;
  font-size: 16px;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
  transition: all 0.3s ease;
}

.input-box input::placeholder {
  color: #ff9a00;
}

.input-box input:focus {
  border-color: #ff5f6d;
}

.kontakt {
  margin-top: 15px;
}

.kontakt a {
  color: #ff5f6d;
  text-decoration: none;
  margin-left: auto;
  display: block;
  text-align: center;
}

.wrapper .btn {
  width: 100%;
  height: 45px;
  background: #ff9a00;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.wrapper .btn:hover {
  background: #ff5f6d;
}

.input-error {
    border: 2px solid #e74c3c; 
    transition: border 0.3s ease;
}

#errorMsg {
    margin-top: 15px;
}

.alert {
    padding: 10px;
    background-color: #f44336; 
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', sans-serif;
}

.alert i {
    font-size: 24px;
}


button.btn {
    background-color: #3f51b5; 
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

button.btn[disabled] {
    background-color: #aaa; 
    cursor: not-allowed;
}

