@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap");

.iban-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  font-family: "Outfit", sans-serif;
  background: transparent;
}

.iban-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.iban-title {
  color: #1a2a4b;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.iban-input-group {
  position: relative;
  margin-bottom: 25px;
}

.iban-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
  border: 2px solid #edf2f7;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  color: #2d3748;
  background: #f8fafc;
  text-align: center;
  font-weight: 400;
}

.iban-input::placeholder {
  color: #a0aec0;
}

.iban-input:focus {
  border-color: #ff6b4a;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.1);
}

.iban-button {
  background: linear-gradient(135deg, #ff6b4a 0%, #ff4d20 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
}


.iban-button:active {
  transform: translateY(0);
}

.iban-result {
  margin-top: 35px;
  padding: 25px;
  background: #fdf2f0;
  border-radius: 16px;
  border: 1px dashed #ff6b4a;
  animation: fadeIn 0.5s ease;
  position: relative;
}

.iban-result-label {
  font-size: 14px;
  color: #718096;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.iban-result-value {
  font-size: 20px;
  font-weight: 600;
  color: #ff4d20;
  display: block;
  word-break: break-all;
  line-height: 1.4;
}

.iban-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #ff6b4a;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  transition: background 0.2s;
}

.iban-copy-btn:hover {
  background: rgba(255, 107, 74, 0.1);
}

.iban-error {
  margin-top: 20px;
  color: #e53e3e;
  font-size: 14px;
  background: #fff5f5;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #e53e3e;
  animation: shake 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
