* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #000000 0%, #1a0800 50%, #d95300 100%);
  background-attachment: fixed;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sub-title {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #ff8c00;
  font-weight: 700;
  text-transform: uppercase;
}

.main-title {
  font-size: 26px;
  font-weight: 800;
  color: #ff8c00;
  letter-spacing: 0.5px;
  text-align: center;
}

.description {
  font-size: 13px;
  color: #a0a0a0;
  margin-top: 2px;
}

/* Tabs */
.tab-container {
  display: flex;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.tab-btn {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #a0a0a0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background-color: #ff8c00;
  color: #1a0d00;
}

/* Account Card & Boxes */
.account-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-box {
  background-color: #0d0d0d;
  border: 1px solid #262626;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.box-header {
  margin-bottom: 6px;
}

.box-label {
  font-size: 11px;
  font-weight: 700;
  color: #ff8c00;
  letter-spacing: 0.8px;
}

.box-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.box-value {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
}

.currency-symbol {
  font-size: 18px;
  font-weight: 700;
  color: #ff8c00;
  padding-right: 4px;
}

/* IBAN Box Specifics */
.iban-box {
  display: flex;
  flex-direction: column;
}

.iban-content {
  width: 100%;
  overflow: hidden;
}

.iban-text {
  font-size: 13px !important;
  white-space: nowrap;
  letter-spacing: 0.5px;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.iban-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* Copy Buttons */
.copy-btn {
  background-color: #ff8c00;
  color: #2b1100;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.copy-btn:active {
  transform: scale(0.96);
  opacity: 0.9;
}

.copy-btn svg {
  stroke: #2b1100;
}

.instruction-text {
  font-size: 12px;
  color: #888888;
  text-align: center;
  margin-top: 6px;
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: #121212;
  border: 1px solid #333333;
  border-radius: 20px;
  padding: 24px 20px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.modal-icon {
  margin-bottom: 4px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.modal-message {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.4;
}

.modal-submessage {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal-btn {
  background-color: #ff8c00;
  color: #2b1100;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-btn:active {
  opacity: 0.9;
}

@media (max-width: 360px) {
  .iban-text {
    font-size: 11px !important;
  }
}
