/* === BASIS === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0;
  	background-image: url('/img/food_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
}



/* === CENTERING WRAPPER === */
.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

/* === LOGIN CONTAINER === */
.login-container {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
}

/* === FORM STYLING === */
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #388e3c;
    font-size: 1.5rem;
}

.login-form input {
    width: 100%;
    max-width: 300px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: border-color 0.2s ease-in-out;
}

.login-form input:focus {
    border-color: #388e3c;
    outline: none;
}

.login-form button {
    width: 100%;
    max-width: 300px;
    padding: 0.9rem;
    background-color: #388e3c;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.login-form button:hover {
    background-color: #2e7d32;
}

/* === LINKS & BESKEDER === */
.login-form a,
.login-form p {
    text-align: center;
    display: block;
    width: 100%;
    max-width: 300px;
}

.forgot-link {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #388e3c;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.register-link {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 0.95rem;
}

.register-link a {
    color: #388e3c;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
}

.error-msg {
    color: #c62828;
    background: #ffcdd2;
    padding: 0.5rem;
    border-radius: 0.4rem;
    text-align: center;
    margin-bottom: 1rem;
    max-width: 300px;
}

/* === BRUGERPOLITIK CHECKBOX === */
.terms-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #333;
    background: #f1f8e9;
    border: 1px solid #c5e1a5;
    padding: 1rem;
    border-radius: 0.5rem;
    max-width: 300px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.terms-wrapper input[type="checkbox"] {
    margin-top: 0.2rem;
    transform: scale(1.2);
    accent-color: #388e3c; /* moderne browser support */
    cursor: pointer;
  	width: auto;
}

.terms-wrapper a {
    color: #388e3c;
    font-weight: 500;
    text-decoration: underline;
  	display: inline;
}

.terms-wrapper a:hover {
    text-decoration: none;
}

