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

.header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.header p {
    font-size: 1.2rem;
}

.main-content {
    max-width: 960px;
    margin: 20px auto;
    padding: 0 20px;
}

.list-section {
    margin-bottom: 20px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 20px;
    background-color: #e9e9e9;
    border-radius: 8px;
}

.list-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.expand-toggle {
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #4CAF50;
    display: flex;
    align-items: center;
}

.arrow {
    margin-left: 5px;
    transition: transform 0.3s ease-in-out;
}

.arrow.expanded {
    transform: rotate(-180deg);
}

.list-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.list-entry {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.list-entry:last-child {
    border-bottom: none;
}

.list-entry h3 {
    color: #c0392b;
    margin-top: 0;
    margin-bottom: 5px;
}

.list-entry p {
    margin: 5px 0;
}

.form-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section.hidden {
    display: none;
}

.form-title {
    margin-top: 0;
    color: #333;
}

#submission-form {
    display: flex;
    flex-direction: column;
}

#submission-form label {
    margin-top: 10px;
    font-weight: bold;
}

#submission-form input, #submission-form textarea {
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

#submission-form button {
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1.1rem;
}

#submission-form button:hover {
    background-color: #45a049;
}

.form-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

#status-message {
    margin-top: 15px;
    font-weight: bold;
}

.success {
    color: #28a745;
}

.error {
    color: #dc3545;
}

.footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: white;
    margin-top: 20px;
}