:root {
  --primary: #0a2e5c;
  --card: rgba(255, 255, 255, 0.92);
  --label: #777;
  --value: #111;
  --muted: #666;
  --copy: #9ca3af;
  --copy-hover: #374151;
  --success: #16a34a;
  --row-bg: #f3f4f6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-image: url("/images/background_bbva.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;

  padding: 24px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 60, 0.55);
  pointer-events: none;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.card {
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);

  width: 100%;
  max-width: 420px;
  text-align: center;
}

.logo {
  width: 120px;
  max-width: 100%;
  display: block;
  margin: 0 auto 10px auto;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.row {
  margin: 12px 0;
  text-align: left;
}

.label {
  font-size: 12px;
  color: var(--label);
}

.value-box {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  background: var(--row-bg);
  padding: 10px 12px;
  border-radius: 8px;
}

.value {
  font-size: 14px;
  color: var(--value);
  word-break: break-word;
  min-width: 0;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;

  font-size: 12px;
  color: var(--copy);
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: var(--copy-hover);
}

.copy-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  overflow: visible;
  fill: currentColor;
  flex-shrink: 0;
}

.copy-btn.copied {
  color: var(--success);
}

.security {
  margin-top: 15px;
  font-size: 12px;
  color: #555;
  text-align: center;
}

.not-found {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.not-found h1 {
  margin: 0 0 10px 0;
  color: var(--primary);
  font-size: 24px;
}

.not-found p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  body {
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  .card {
    max-width: 100%;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .logo {
    width: 110px;
  }

  .value-box {
    padding: 10px;
    gap: 10px;
  }

  .value {
    font-size: 13px;
  }

  .copy-btn {
    font-size: 12px;
  }

  .copy-btn svg {
    width: 18px;
    height: 18px;
  }
}