body {
    font-family: Arial, sans-serif;
    background: #edf1f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.register-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    width: 300px;
}

h2 {
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #1e355b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #2e4d7a;
}

body.dark-mode .register-container {
    background-color: #222;
    color: #ddd;
}

body.dark-mode input {
    background-color: #333;
    color: #e0e0e0;
    border-color: #444;
}

body.dark-mode button {
    background-color: #3a5f8a;
}

body.dark-mode button:hover {
    background-color: #4a6f9a;
}

.errorlist {
    color: red;
    font-size: 12px;
}