/* General body styling */
body {
    background-color: #1a1a1a;
    color: #f8f9fa;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding: 20px;
}

/* Container for content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #2c2c2c;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Headings */
h1 {
    color: #007bff;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

input[type="text"],
input[type="password"],
input[type="date"],
textarea,
select {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border-color: #007bff;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Navigation styling */
nav {
    background-color: #222;
    padding: 10px 0;
    margin-bottom: 20px;
    border-radius: 4px;
}

nav a {
    color: #f8f9fa;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* List styling for authors and quotes */
ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 10px;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li:last-child {
    border-bottom: none;
}

/* Radio buttons */
input[type="radio"] {
    margin: 0 10px;
}

/* Error messages */
.error {
    color: #dc3545;
    font-weight: 500;
    margin-top: 10px;
}

/* Responsive design */
@media (max-width: 576px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.5rem;
    }

    input[type="text"],
    input[type="password"],
    input[type="date"],
    textarea,
    select,
    button {
        font-size: 14px;
    }
}