/* Comments Section */
.comments-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e5e5e5;
}

.comments-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Comment Form */
.comments-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.comments-form .form-field {
    margin-bottom: 1.5rem;
}

.comments-form label {
    display: none;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.comments-form input[type="text"],
.comments-form input[type="email"],
.comments-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.comments-form input[type="text"]:focus,
.comments-form input[type="email"]:focus,
.comments-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.comments-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comments-form .buttons {
    margin-top: 1.5rem;
}

.comments-form .button {
    padding: 0.75rem 2rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comments-form .button:hover {
    background: #0056b3;
}

.comments-form .button:active {
    transform: translateY(1px);
}

.comments-form .alert {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Comments List */
.comments-list {
    margin-top: 2rem;
}

.comments-list table {
    width: 100%;
    border-collapse: collapse;
}

.comments-list table tr {
    border-bottom: 1px solid #e5e5e5;
}

.comments-list table tr:last-child {
    border-bottom: none;
}

.comments-list table td {
    padding: 1.5rem 0;
}

.comment-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comment-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.75rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-author {
    font-weight: 500;
    color: #007bff;
}

.comment-date {
    color: #999;
}