/* Container for the form (The "Card" look) */
.custom-form {
    max-width: 600px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow like image */
    border: 1px solid #f0f0f0;
    margin: 20px auto; /* Centers the form on the page */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Form Paragraphs (Spacing) */
.custom-form p {
    margin-bottom: 20px;
}

/* Labels */
.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

/* Text Inputs */
.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    background-color: #ffffff; /* Or slightly off-white #fcfcfc if preferred */
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box; /* Ensures padding doesn't break layout */
    transition: border-color 0.3s ease;
}

/* Input Focus State */
.custom-form input[type="text"]:focus,
.custom-form input[type="email"]:focus,
.custom-form input[type="password"]:focus {
    border-color: #2b4b75; /* Blue border on focus */
    outline: none;
}

/* Submit Button (The Dark Blue Button) */
.custom-form input[type="submit"] {
    background-color: #2b4b75; /* Dark Navy Blue from screenshot */
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.custom-form input[type="submit"]:hover {
    background-color: #1a3a5e; /* Slightly darker on hover */
}

/* Error and Success Messages */
.custom-form .error {
    color: #d9534f;
    background: #fdeded;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #d9534f;
}

.custom-form .success {
    color: #2b4b75;
    background: #eef4fa;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #2b4b75;
}

/* Links (The "Registrieren" / "Password forgot" red color) */
.custom-form a,
.login-links a {
    color: #e07a6f; /* Salmon/Red color from screenshot */
    text-decoration: none;
}

.custom-form a:hover {
    text-decoration: underline;
}

/* Optional: To replicate the layout where "Register" is on the right */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}