/* Main comment box container */
.my-comment-box-container {
    margin:0px; 
	padding: 18px 10px 5px 10px; 
	border-radius:8px; 
	font-family: Arial, sans-serif;
	margin-bottom: -10px;
}

/* Comment count header */
.comment-count-header {
    margin-bottom:20px; 
	font-weight:bold; 
	font-size: 18px;
	margin-left:3px;
	font-family: 'Mukta';
}

/* Form labels */
.comment-label {
	display:block;
    font-family:'Mukta';
	font-size:17px;
	margin-left: 3px;
}

/* Input fields */
.comment-input {
    width: 100% !important;
	padding: 10px !important;
	margin-top: 5px !important;
	border-radius: 5px !important;
	border: 1px solid #ccc !important;
	font-size: 14px !important;
	height: 40px!important;
	color: #444;
}



.comment-textarea {
    width: 100% !important;
    padding: 6px 15px 5px 12px;
    margin-top: 5px !important;
    border-radius: 5px !important;
    border: 1px solid #ccc !important;
    font-size: 14px !important;
    min-height: 80px !important;
    color: #444;
    line-height: 1.5;
	height:80px;
}

/* Error messages */
.error-message {
    color: red;
    display: none;
    font-size: 13px;
    margin-top: 5px;
    margin-left: 3px;
}

/* Submit button */
.submit-comment-button {
    margin-top: 10px;
    font-family: Mukta, sans-serif;
    color: rgb(255, 255, 255);
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    width: auto;
    text-align: left;
    border-style: none;
    border-color: initial;
    border-image: initial;
    padding: 8px 10px 6px 10px;
    border-radius: 3px;
    background: rgb(191, 30, 46);
	margin-bottom: 10px;
}

/* Comments list */
.comments-list {
    margin-top: 10px;
}

/* Load more button */
.load-more-button {
    display: none;
    margin-top: 10px;
    padding: 6px;
    width: 100%;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
	font-family: 'Mukta';
}

/* Individual comments */
.custom-comment {
    position: relative;
    display: flex;
    gap: 8px;
    background: #fefefe;
    padding: 10px 10px 0px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.5;
}








/* Reply styling */
.reply-avatar-wrapper {
    margin-left: -10px;
}

/* Comment content */
.comment-content-wrapper {
    flex-grow: 1;
    margin-right: -10px;
	margin-left:5px;
}

.custom-comment strong {
    font-size: 17px;
    color: #385899;
    text-transform: capitalize;
	font-family:'Mukta';
}

.comment-text {
    margin-top: 2px;
    padding-right: 10px;
    font-size: 16px;
	color: #3c3c3c;
	font-family: 'Mukta';
}

.comment-time {
    color: #666;
    white-space: nowrap;
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 10px;
	flex-wrap: wrap;
}


.reply-button {
    color: #385899;
    font-weight: normal;
}

.reply-button:hover {
    text-decoration: underline;
}

/* Delete button */
.delete-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    color: red;
    cursor: pointer;
    font-size: 14px;
}

.delete-btn:hover {
    text-decoration: underline;
}

.required {
    color: red;
}


@media screen and (max-width: 700px) {
  
	.custom-comment {padding: 10px 10px 0px 7px;}
	
	.letter-avatar {
        width: 28px !important;
        height: 28px !important;
		font-size: 14px !important;
    }
	
	.reply-avatar-icon .letter-avatar {
    width: 25px!important; 
	height: 25px!important;
	font-size: 13px!important;	
	}
	
	.comment-content-wrapper {
	margin-left:0px!important;
}
	
.actions-links {
	margin-left: -3px!important;}	
	

.comment-timeago {font-size:13px;}	
	

.like-button, .edit-btn, .reply-button {
    text-decoration: none;
    font-size: 13px;
    transition: opacity 0.2s;
}

}


.comment-timeago {font-size:13.5px;}

.cancel-edit-btn:hover {
    background: red !important;
	color:white!important;
}


.save-edit-btn:hover {
    background: #0f2d6b !important;
}






/* एभाटार र नामलाई माथिबाट मिलाउन */
.comment-avatar-wrapper, .reply-avatar-wrapper {
    display: flex;
    align-items: flex-start; 
    padding-top: 5px;       
    flex-shrink: 0;
}

/* मुख्य एभाटारको डिजाइन */
.letter-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Mukta', Arial, sans-serif;
    text-transform: uppercase;
    user-select: none;
    line-height: 1;
	margin-top:-2px;
}

.reply-avatar-icon .letter-avatar {
    width: 28px; 
    height: 28px;
    font-size: 14px;
    /* ब्याकग्राउन्ड स्थिर राख्न यो अनिवार्य छ */
    box-sizing: border-box !important; 
    padding-top: 2px; 
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}







/* Custom Delete Modal Styles */
.comment-delete-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* हल्का कालो ओभरले */
    align-items: center;
    justify-content: center;
}

.delete-modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-family: 'Mukta', sans-serif;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.delete-modal-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.delete-modal-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Mukta';
    font-size: 15px;
    transition: 0.2s;
}

.btn-cancel {
    background: #f0f2f5;
    color: #333;
}

.btn-confirm-delete {
    background: #e74c3c;
    color: #fff;
}

.modal-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}












/* Facebook Style Like Count Span */
/* फेसबुक स्टाइलको नीलो गोलो लाइक आइकन */
.like-count-span::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    background-color: #1877f2; /* फेसबुक ब्लु */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M2 20h2c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1H2v11zm19.83-7.12c.11-.25.17-.52.17-.8V11c0-1.1-.9-2-2-2h-5.5l.92-4.41c.02-.15.03-.3.03-.45 0-.61-.25-1.16-.64-1.57L13.41 1 6.7 7.71c-.44.45-.7 1.06-.7 1.74V18c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.29-7.9c.11-.25.17-.52.17-.8v-.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 9px;
    background-position: center;
    border-radius: 50%;
    margin-right: 4px;
    flex-shrink: 0;
	
}

/* लाइक काउन्टको मुख्य बट्टा */
.like-count-span {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e1e3e8;
    padding: 2px 8px 2px 4px;
    border-radius: 15px;
    font-size: 13px;
    color: #385899;
    margin-right: 8px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    cursor: default;
    line-height: 1;
	font-family:'Mukta';
	margin-top: -2px;
}

/* Actions Links Wrapper */
.actions-links {
    display: inline-flex;
    align-items: center;
}

.like-button, .edit-btn, .reply-button {
    text-decoration: none;
    font-size: 13.5px;
    transition: opacity 0.2s;
}

.custom-comment .like-button:hover {
    text-decoration: underline !important;
}

.custom-comment .edit-btn:hover  {
    text-decoration: underline !important;
}

.custom-comment .reply-button:hover  {
    text-decoration: underline !important;
}