/* style.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin: 0 20px;
    box-sizing: border-box;
}

h2 {
    text-align: center;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="email"], input[type="password"], input[type="text"], input[type="tel"], input[type="date"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

/* Stilarter til bekræftelsesbeskeder */
.confirmation-message {
    background: #dff0d8; /* Lys grøn baggrund */
    border: 1px solid #d6e9c6; /* Mørkere grøn kant */
    color: #3c763d; /* Mørk grøn tekst */
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    text-align: center;
}

/* Stilarter til fejlmeddelelser */
.error-message {
    background: #f2dede; /* Lys rød baggrund */
    border: 1px solid #ebccd1; /* Mørkere rød kant */
    color: #a94442; /* Mørk rød tekst */
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    text-align: center;
}

/* Overordnet styling for success og error */
.success, .error {
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
}

/* Links til registrering og glemt password */
.register-link, .forgot-password-link {
    text-align: center;
    margin-top: 10px;
}

.register-link a, .forgot-password-link a {
    color: #4CAF50;
    text-decoration: none;
}

.register-link a:hover, .forgot-password-link a:hover {
    text-decoration: underline;
}
