
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 2rem;
    background: #fff;
}

.comment-form {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    max-width: 600px;
}

.comment-form h3 {
    margin-top: 0;
    color: #212529;
}

.comment-form p {
    color: #6c757d;
    margin-bottom: 1rem;
}

#comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #212529;
    font-weight: 500;
    font-size: 0.95rem;
}

#comment-form input,
#comment-form textarea {
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

#comment-form input:focus,
#comment-form textarea:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

#comment-form button {
    padding: 0.75rem 1.5rem;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

#comment-form button:hover {
    background: #0b5ed7;
}

#comment-form button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

#form-message {
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

#form-message.success-message {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

#form-message.error-message {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

#form-message:empty {
    display: none;
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .comment-form {
        padding: 1rem;
    }
    
    #comment-form button {
        width: 100%;
    }
}