/* Comment Form */
.comment-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.wish-form .form-group {
  margin-bottom: 20px;
}

.wish-form .form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.wish-form .form-control:focus {
  outline: none;
  border-color: #0E65C0;
}

.wish-form textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  padding: 15px 40px;
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: #000000;
  color: #ffffff;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}

.form-message.success {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
  color: #ff5252;
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.3);
}

/* Comments List - CONTAINER DENGAN BORDER */
.comments-container {
  max-width: 700px;
  margin: 0 auto;
}

.comments-list-wrapper {
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  
  /* Custom scrollbar - WARNA NORMAL */
  scrollbar-width: thin;
  scrollbar-color: #999 #f0f0f0;
}

/* Custom scrollbar untuk Webkit */
.comments-list-wrapper::-webkit-scrollbar {
  width: 8px;
}

.comments-list-wrapper::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.comments-list-wrapper::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 10px;
}

.comments-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: #666;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.comment-item {
  display: flex;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid #e5e5e5;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-avatar {
  flex-shrink: 0;
}

.avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.avatar-image {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #424547;
  box-shadow: 0 2px 8px rgba(14, 101, 192, 0.2);
}

.comment-content {
  flex: 1;
  padding-top: 2px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.comment-author {
  font-size: 16px;
  font-weight: 700;
  color: #1D1D1B;
  margin: 0;
}

.comment-date {
  font-size: 13px;
  color: #999;
}

.comment-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Loading & Empty state */
.loading-state,
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .comments-list-wrapper {
    max-height: 450px;
    padding: 15px;
  }
  
  .comment-item {
    gap: 12px;
    padding: 20px 0;
  }

  .avatar-initial,
  .avatar-image {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .avatar-image {
    border: 2px solid #0E65C0;
  }

  .comment-header {
    gap: 8px;
  }

  .comment-author {
    font-size: 15px;
  }

  .comment-date {
    font-size: 12px;
  }

  .comment-text {
    font-size: 14px;
  }
}


/* Wikipedia Versions Images - Border */
#versions .wionp-thumb img {
  border: 2px solid #0E65C0;
}
