body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #f0f0f0;
}

.banner img {
    width: 100%;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #fff;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input, textarea {
    padding: 10px;
    margin-bottom: 15px;
    background-color: #333;
    color: #f0f0f0;
    border: 1px solid #444;
    border-radius: 5px;
}

input[type="submit"] {
    background-color: #6cb2eb;
    color: #fff;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

/* Animation on form focus */
input:focus, textarea:focus {
    border-color: #6cb2eb;
    box-shadow: 0 0 5px #6cb2eb;
}

/* Dark mode toggle */
.toggle-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.toggle-container label {
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
}

.toggle-container input[type="checkbox"] {
    position: relative;
    width: 50px;
    height: 25px;
    appearance: none;
    background-color: #666;
    border-radius: 25px;
    outline: none;
    transition: background-color 0.3s ease;
}

.toggle-container input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    left: 2px;
    top: 2px;
    background-color: #fff;
    transition: left 0.3s ease;
}

.toggle-container input[type="checkbox"]:checked {
    background-color: #6cb2eb;
}

.toggle-container input[type="checkbox"]:checked::before {
    left: 27px;
}

/* Dark mode styles */
body.dark-mode {
    background-color: #121212;
    color: #f0f0f0;
}

body.dark-mode .banner img {
    filter: brightness(75%);
}

body.dark-mode .container {
    background-color: #1e1e1e;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

body.dark-mode h1 {
    color: #fff;
}

body.dark-mode form {
    border-color: #444;
}

body.dark-mode label {
    color: #f0f0f0;
}

body.dark-mode input, body.dark-mode textarea {
    background-color: #333;
    color: #f0f0f0;
    border: 1px solid #444;
}

body.dark-mode input[type="submit"] {
    background-color: #6cb2eb;
    color: #fff;
}

body.dark-mode input:focus, body.dark-mode textarea:focus {
    border-color: #6cb2eb;
    box-shadow: 0 0 5px #6cb2eb;
}
