

body, input, button, textarea, select {
    font-family: 'Poppins', sans-serif;
}
/* Login & Register Styling */
.auth-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f8f8;
    padding: 20px;
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-box h2 {
    margin-bottom: 20px;
    color: #333;
}

.auth-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.auth-box input:focus {
    border-color: #ff7f50;
    box-shadow: 0 0 5px rgba(255, 127, 80, 0.4);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #ff7f50, #ffb347);
    color: white;
    font-size: 17px;
    cursor: pointer;
    background-size: 200% 100%;
    transition: 0.25s;
}

.auth-btn:hover {
    transform: scale(1.05);
    background-position: right;
}

.switch-text {
    margin-top: 15px;
}

.switch-text a {
    color: #ff7f50;
    text-decoration: none;
    font-weight: bold;
}

/* Terug pijltje */
.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(90deg, #ff7f50, #ffb347);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.15);
    transition: 0.25s ease;
}

.back-arrow:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.2);
}

/* Error message styling */
.error-message {
    color: #fff;
    background: #ff4d4d;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

.success-message {
    color: #fff;
    background: #4CAF50;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Shake animatie voor error */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.4s;
}

.forgot-password {
    margin-top: 8px;
}

.forgot-password a {
    color: #ff7f50;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

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

/* Password rules styling */
.password-rules {
    text-align: left;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.password-rules li.valid {
    color: green;
}

.password-rules li.invalid {
    color: red;
}
