body {
    background-color: #222;
    font-family: Arial, sans-serif;
    color: #fff;
}

.box {
    width: 400px;
    margin: 60px auto;
    padding: 25px;
    background-color: #333;
    border-radius: 8px;
}

h2 {
    margin-bottom: 20px;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 8px;
}

input[type="email"] {
    width: 100%;
    height: 28px;
    padding: 10px;
    border: none;
    background-color: #f7f3d4; /* gleiche Farbe wie im Login */
    color: #333;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

input[type="email"]:focus {
    outline: none;
    background-color: #fff8c6; /* leicht heller beim Fokus */
}

.error {
    background-color: #b33;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.success {
    color: #b3ffd9;
    font-weight: bold;
    background: #003f1a;
    border-left: 5px solid #00b359;
    width: 100%;              /* volle Breite nutzen */
    max-width: 400px;         /* oder 520px, je nach Geschmack */
    margin: 20 auto;           /* zentriert */
    padding: 15px 20px;       /* mehr Innenabstand → schönerer Textfluss */
    box-sizing: border-box;   /* verhindert Überlauf */
    text-align: center;
    border-radius: 4px;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Buttons gleich groß, gleich hoch */
.btn,
.btn.cancel {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    height: 35px;
    line-height: 45px;
    padding: 0;
    box-sizing: border-box;

    border: none;
    cursor: pointer;
    text-decoration: none;

    font-size: 16px;
    font-weight: bold;

    appearance: none;
    -webkit-appearance: none;
}

/* Farben */
.btn {
    background-color: #3498db;
    color: #fff;
}

.btn.cancel {
    background-color: #555;
    color: #fff;
}

/* Hover */
.btn:hover {
    background-color: #2c82c9;
}

.btn.cancel:hover {
    background-color: #444;
}

.reset-info {
    margin-top: 20px;
    font-size: 13px;
    color: #ccc;
    line-height: 1.2;
}

.pw-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.pw-wrapper input {
    width: 100%;
    height: 28px;
    padding-right: 40px; /* Platz für das Auge */
	box-sizing: border-box;
}

.pw-wrapper input[type="password"],
.pw-wrapper input[type="text"] {
    border-radius: 0;      /* keine Rundung */
	background-color: #f7f3d4;   /* gleiche Farbe wie Login */
}

.toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    user-select: none;
    pointer-events: auto;
    z-index: 10;
}
