﻿.reply-form {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

    .reply-form textarea {
  width: 100%;
        min-height: 80px;
        padding: 12px;
        border: 1px solid #ced4da;
    border-radius: 4px;
        margin-bottom: 10px;
  font-size: 14px;
        font-family: inherit;
        resize: vertical;
    }

        .reply-form textarea:focus {
     outline: none;
       border-color: #0b0198;
 box-shadow: 0 0 0 0.2rem rgba(11, 1, 152, 0.1);
        }

    .reply-form button.submit-reply {
        background-color: #0b0198;
      color: white;
        padding: 8px 20px;
     border: none;
        border-radius: 4px;
  cursor: pointer;
        font-size: 14px;
      font-weight: 500;
        transition: background-color 0.3s;
    }

    .reply-form button.submit-reply:hover {
  background-color: #08016b;
        }

  .reply-form button.submit-reply:active {
            transform: translateY(1px);
        }

/* Comments Section Styling */
.comments-area {
    margin-top: 40px;
}

.comment-box {
margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.comment {
    display: flex;
    gap: 15px;
  margin-bottom: 15px;
}

.user-thumb {
    flex-shrink: 0;
}

    .user-thumb img {
        width: 50px;
   height: 50px;
        border-radius: 50%;
object-fit: cover;
    }

.comment-info {
 flex: 1;
}

.user-name {
    font-weight: 600;
 font-size: 16px;
    margin-bottom: 5px;
    color: #202124;
}

    .user-name a {
        color: #202124;
        text-decoration: none;
    }

        .user-name a:hover {
          color: #0b0198;
   }

.comment-info .title {
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
}

.text-muted.small {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
}

.reply a.reply-link {
    color: #0b0198;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

    .reply a.reply-link:hover {
   text-decoration: underline;
    }

/* Sub Comments / Replies Styling */
.replies {
    margin-top: 20px;
    margin-left: 40px;
    padding-left: 20px;
    border-left: 2px solid #dee2e6;
}

.reply-box {
    margin-bottom: 15px;
}

.reply-comment {
    display: flex;
gap: 10px;
}

    .reply-comment .user-thumb {
        width: 40px;
        height: 40px;
    }

        .reply-comment .user-thumb img {
    width: 100%;
       height: 100%;
       border-radius: 50%;
   object-fit: cover;
 }

/* Comment Form Styling */
.comment-form {
 margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

    .comment-form h4 {
        margin-bottom: 20px;
        color: #202124;
    }

    .comment-form textarea {
   width: 100%;
      min-height: 120px;
        padding: 15px;
        border: 1px solid #ced4da;
        border-radius: 6px;
        font-size: 15px;
    font-family: inherit;
        resize: vertical;
    }

        .comment-form textarea:focus {
            outline: none;
            border-color: #0b0198;
    box-shadow: 0 0 0 0.2rem rgba(11, 1, 152, 0.1);
        }

    .comment-form .theme-btn {
margin-top: 15px;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .replies {
        margin-left: 20px;
        padding-left: 15px;
    }

 .comment {
        flex-direction: column;
        gap: 10px;
    }

 .reply-comment {
      flex-direction: column;
    }
}
