﻿.comment-section {
    border-radius: 15px;
    padding: 20px;
}

.comment-card {
    background: #f6f6f6;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.2s;
    position: relative;
}

    .comment-card:hover {
        transform: translateY(-2px);
    }

.comment-text {
    color: #495057;
    line-height: 1.6;
}

.timestamp {
    font-size: 0.85rem;
    color: #6c757d;
}

.reply-indicator {
    position: absolute;
    right: -20px;
    top: 20px;
    width: 20px;
    height: calc(100% - 40px);
    border-right: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
    border-radius: 0 0px 12px 0px;
}

.reply-to {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

    .reply-to a {
        color: #0d6efd;
        text-decoration: none;
    }

        .reply-to a:hover {
            text-decoration: underline;
        }


.commentForm i,
.replyForm i {
    color: var(--theme-color);
}

.commentForm .form-control,
.commentForm .custom-file-label,
.replyForm .form-control,
.replyForm .custom-file-label {
    border-radius: 30px;
}





.send-button {
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    background-color: var(--theme-color);
    color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: all 0.2s ease;
}
    .send-button:hover {
        transform: translateY(-3px);
    }
    /* Modal Specific Styling */
    #replyCommentModal .modal-content {
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

#replyCommentModal .form-control,
#replyCommentModal .custom-file-label {
    border-radius: 30px;
    border: 1px solid #e9ecef;
}

#replyCommentModal .modal-header {
    border-bottom: 1px solid #e9ecef;
}

#replyCommentModal .modal-footer {
    border-top: 1px solid #e9ecef;
}

#replyCommentModal .imgCaptcha {
    height: 38px;
    margin-left: 10px;
    border-radius: 4px;
}

#replyCommentModal .alert {
    border-radius: 20px;
    padding: 8px 15px;
}

#replyCommentModal .custom-file-label::after {
    border-radius: 0 30px 30px 0;
    background-color: var(--theme-color);
    color: white;
    border-left: none;
}