.lab-quick-comment-fab-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
}

.lab-quick-comment-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  width: 44px;
  height: 44px;
  padding: 0 12px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
  overflow: hidden;
  transition: width 0.22s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lab-quick-comment-fab:hover,
.lab-quick-comment-fab:focus-visible {
  width: 134px;
}

.lab-quick-comment-fab__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.lab-quick-comment-fab__label {
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}

.lab-quick-comment-fab:hover .lab-quick-comment-fab__label,
.lab-quick-comment-fab:focus-visible .lab-quick-comment-fab__label {
  opacity: 1;
  transform: translateX(0);
}

.lab-quick-comment-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
}

.lab-quick-comment-fab:active {
  transform: translateY(0);
}

.quick-comment-modal .modal-content {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.quick-comment-modal .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.quick-comment-help {
  font-size: 13px;
  color: #64748b;
}

.quick-comment-textarea {
  min-height: 140px;
  resize: vertical;
}

.quick-comment-modal .modal-footer {
  padding: 20px 24px;
  gap: 12px;
}

.quick-comment-modal .modal-footer .button {
  margin: 0;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quick-comment-modal .modal-footer .button[data-bs-dismiss="modal"] {
  color: #ffffff;
}

.quick-comment-modal .modal-footer .button[data-bs-dismiss="modal"]:hover,
.quick-comment-modal .modal-footer .button[data-bs-dismiss="modal"]:focus-visible {
  color: #111111;
}

.quick-comment-status {
  min-height: 20px;
  font-size: 13px;
}

.quick-comment-status.is-error {
  color: #dc2626;
}

.quick-comment-status.is-success {
  color: #059669;
}

@media (max-width: 768px) {
  .lab-quick-comment-fab-wrap {
    right: 14px;
    bottom: 14px;
  }

  .lab-quick-comment-fab {
    font-size: 14px;
    padding: 10px 15px;
  }

  .quick-comment-modal .modal-footer {
    padding: 14px 16px;
    gap: 8px;
  }

  .quick-comment-modal .modal-footer .button {
    flex: 1;
    padding: 10px 12px;
  }
}
