/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

body {
  margin: 0;
  background: #e6e1f5;
  font-family: 'Unbounded', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: white;
  font-weight: 400;
}
.center-container {
  align-items: center;
  justify-content: center;
  display: flex;
}
.container {
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 20px;
  width: 400px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.success-animation {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.checkmark {
  width: 80px;
  height: 80px;
  stroke: #a78bfa;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 0 6px #a78bfa);
}

.circle {
  stroke-dasharray: 188;
  stroke-dashoffset: 188;
  animation: drawCircle 1s ease-out forwards;
}

.check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.5s ease-out forwards;
  animation-delay: 1s;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 30px 0;
}

.qrImage {
  border-radius: 100px;
}

.dot-hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 15px 0;
}

.toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 20px;
}
.toggle-button {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  border: none;
  color: white;
  margin: 0;
  flex: 1;
  background: #444;
  transition: background 0.4s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 0;
  overflow: hidden;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
}
.toggle-button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
#cryptoSellAmount {
  padding-left: 30px; /* Adjust depending on the image size */
  background-image: url('../assets/receivecrypto.png'); /* Replace with your uploaded image path */
  background-repeat: no-repeat;
  font-family: 'Unbounded', Sans-Serif;
  font-weight: 600;
  background-position: 10px center; /* Adjust as needed */
  background-size: 20px 20px; /* Set the size of the image */
  box-shadow: inset 0 0 50px 1px #00000080;
}
#paypalAmount {
  width: auto;
  padding-left: 30px; /* Adjust depending on the image size */
  background-image: url('../assets/amountusd.png'); /* Replace with your uploaded image path */
  background-repeat: no-repeat;
  background-position: 10px center; /* Adjust as needed */
  background-size: 20px 20px; /* Set the size of the image */
  font-family: 'Unbounded', Sans-Serif;
  font-weight: 600;
  box-shadow: inset 0 0 50px 1px #00000080;
}

.custom-select {
  box-shadow: inset 0 0 50px 1px #00000080;
}

.toggle-button.buy.active::before {
  background: linear-gradient(to left, rgba(0, 196, 107, 0.9), rgba(0, 179, 94, 0.8), rgba(0, 179, 94, 0));
  opacity: 1;
}
.toggle-button.sell.active::before {
  background: linear-gradient(to right, rgba(230, 57, 70, 0.9), rgba(255, 79, 79, 0.8), rgba(255, 79, 79, 0));
  opacity: 1;
}
.toggle-button.buy.active {
  box-shadow: 0 0 25px rgba(0, 255, 140, 1);
  animation: pulseGreen 1.5s infinite;
}
.toggle-button.sell.active {
  box-shadow: 0 0 25px rgba(255, 50, 50, 1);
  animation: pulseRed 1.5s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 15px rgba(0, 255, 140, 0.7); }
  50% { box-shadow: 0 0 40px rgba(0, 255, 140, 1); }
  100% { box-shadow: 0 0 15px rgba(0, 255, 140, 0.7); }
}
@keyframes pulseRed {
  0% { box-shadow: 0 0 15px rgba(255, 50, 50, 0.7); }
  50% { box-shadow: 0 0 40px rgba(255, 50, 50, 1); }
  100% { box-shadow: 0 0 15px rgba(255, 50, 50, 0.7); }
}
.input, select {
  width: 90%;
  padding: 12px;
  margin-top: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  text-align: center;
  color: #ccc;
  background-color: #202020;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
}
::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 100;
}
#paypalAmount::placeholder {
  font-size: 14px;
}

.btn {
  margin-top: 25px;
  padding: 12px;
  width: 100%;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  background-color: #a78bfa;
  border: none;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
  transition: box-shadow 0.3s ease;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
}
.btn:hover {
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.9);
}
.info {
  color: #ccc;
  font-size: 14px;
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
}
img {
  width: 50px;
  height: 50px;
}
.purple-text {
  color: #a78bfa;
  font-size: 20px;
  margin-top: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  text-shadow: 0 0 03px #a78bfa;
}
.copy-btn {
  background-color: #a78bfa;
  border: none;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
  font-family: 'Montserrat', sans-serif;
}
.copy-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
}
.loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(#a78bfa 10%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), black calc(100% - 5px));
  animation: rotate 1s linear infinite;
  display: block;
  margin: 0 auto;
}

@keyframes rotate {
  100% {
  transform: rotate(360deg);
}
}
.copy-box p {
  margin: 0;
  color: white;
  word-break: break-word;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: auto;
  margin-bottom: 20px;
}
.back-arrow {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  cursor: pointer;
}
.dots {
  display: flex;
  gap: 10px;
}
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #333;
}
.dot.active {
  background-color: #a78bfa;
}
.dot2 {
  width: 13px;
  height: 13px;
  border-radius: 20%;
  background-color: #a78bfa;
}
.btn:disabled {
  background-color: #666 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

#termsContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  animation: fadeIn 0.6s ease-in;
}

#termsCheckbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #666666;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background-color: transparent;
}

#termsCheckbox:checked {
  background-color: #a78bfa;
  box-shadow: 0 0 8px #a78bfa88;
}

#termsCheckbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

#termsContainer label {
  color: white;
  font-size: 14px;
  user-select: none;
  font-family: 'Unbounded', sans-serif;
  text-shadow: 0 0 3px #a78bfa66;
}

#termsContainer label a {
  color: #a78bfa; /* crvena boja */
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 0 10px #a78bfa66;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Primena CSS samo na ekrane užine od 480px ili manje */
@media only screen and (max-width: 480px) {
  /* Ovde ide tvoj CSS koji važi samo na telefonima */
  .container {
    width: 84%;
  }
}
