/* Custom Comment Form Styles */
.custom-comment-section {
    font-family: 'Poppins', sans-serif;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.comment-title {
    color: #055F6A;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 30px;
}

.custom-comment-form-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.comment-form-group {
    display: flex;
    flex-direction: column;
}

.comment-form-group label {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
}

.comment-form-group .required {
    color: #e74c3c;
}

.comment-form-group input[type="text"],
.comment-form-group input[type="email"],
.comment-form-group input[type="url"],
.comment-form-group textarea {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}

.comment-form-group input:focus,
.comment-form-group textarea:focus {
    border-color: #055F6A;
}

.comment-form-group input::placeholder,
.comment-form-group textarea::placeholder {
    color: #ccc;
}

.comment-form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.comment-submit-btn {
    background-color: #055F6A !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 48px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 8px;
}

.comment-submit-btn:hover {
    background-color: #044a52 !important;
}

/* Comments List Styles */
.comments-list {
    margin-top: 60px;
}

.comments-title {
    color: #055F6A;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.comment-list .comment-author {
    font-weight: 600;
    color: #055F6A;
    margin-bottom: 8px;
}

.comment-list .comment-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.comment-list .comment-content p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.comment-list .reply {
    margin-top: 12px;
}

.comment-list .reply a {
    color: #055F6A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.comment-list .reply a:hover {
    text-decoration: underline;
}

.comment-list .children {
    margin-left: 40px;
    margin-top: 20px;
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 20px 0;
}

.comment-navigation a {
    color: #055F6A;
    text-decoration: none;
    font-weight: 500;
}

.comment-navigation a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comment-form-row {
        grid-template-columns: 1fr;
    }

    .custom-comment-form-container {
        padding: 24px;
    }
    
    .comment-list .children {
        margin-left: 20px;
    }
}

/* Form Errors */
.comment-form .error {
    border-color: #e74c3c !important;
}

.comment-form .error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
}