* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-form, .dashboard {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

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

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #3498db;
    outline: none;
}

small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 12px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.form-links, .dashboard-links {
    margin-top: 20px;
    text-align: center;
}

.form-links a, .dashboard-links a {
    display: block;
    margin: 5px 0;
    color: #3498db;
    text-decoration: none;
}

.form-links a:hover, .dashboard-links a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: #ffecec;
    color: #e74c3c;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-message {
    background-color: #e7f7ed;
    color: #27ae60;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 480px) {
    .login-form, .dashboard {
        padding: 20px;
    }
}