/* General page layout */
body {
    font-family: Arial, sans-serif;
    margin: 30px;
    background-color: #f9f9f9;
    color: #222;
}

/* Center forms and dashboard */
form {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Input fields */
input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Buttons */
button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #222;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

/* Submit button */
button[type="submit"] {
    width: 100%;
}

/* Flash messages */
.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: bold;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Password button (press and hold) */
#togglePassword {
    margin-left: 5px;
    background-color: transparent;
    color: #000;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

#togglePassword:hover {
    background-color: #eee;
}

/* Labels */
label {
    font-weight: bold;
}

/* Dashboard container */
.dashboard {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Links */
a {
    color: #222;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
