/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2 груд. 2025 р., 23:58:27
    Author     : Andrii Kohut
*/

.copy-container {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 8px;
  background: #fff;
  font-family: sans-serif;
  position: relative;
}
.copy-text {
  margin-right: 8px;
}
.copy-button {
  position: relative;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.copy-button .icon-check {
  display: none;
}
.copy-button.copied .icon-copy {
  display: none;
}
.copy-button.copied .icon-check {
  display: block;
}
.copy-button svg {
  width: 16px;
  height: 16px;
  fill: #555;
  transition: fill .2s;
}
.copy-button:hover .tooltip {
  opacity: 1;
  visibility: visible;
}
.tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
  white-space: nowrap;
  pointer-events: none;
}
button.copy-button:hover, button.copy-button:focus {
    background-color: #e9e9e9;
}
button.copy-button {
    transition: all 0.4s ease;
}

