:root {
    --nord0: #2e3440;
    --nord1: #3b4252;
    --nord2: #434c5e;
    --nord3: #4c566a;
    --nord4: #d8dee9;
    --nord5: #e5e9f0;
    --nord6: #eceff4;
    --nord-accent: #88c0d0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--nord0), var(--nord1));
    color: var(--nord5);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.container {
    background: rgba(59, 66, 82, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 600px;
    width: 90%;
}

h1 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: var(--nord6);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

button {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    background: var(--nord-accent);
    color: var(--nord0);
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
}

/*button:hover {
    background: #81a1c1;
    transform: scale(1.05);
}*/

.info-box {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(67, 76, 94, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(216, 222, 233, 0.2);
    text-align: center;
}

.info-box label {
    font-size: 1.2rem;
    color: var(--nord6);
    display: block;
    margin-bottom: 0.5rem;
}

.info-box span {
    word-break: break-word;
    font-size: 1rem;
    color: var(--nord4);
    display: block;
    margin-bottom: 1rem;
}

.qr-code {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

@media print {
    body {
        background: none;
        color: #000;
    }
    .container {
        background: none;
        box-shadow: none;
        padding: 1rem;
    }
    h1 {
        color: #000;
        text-shadow: none;
        font-size: 35px !important;
    }
    button {
        display: none;
    }
    .info-box {
        background: none;
        border: none;
    }
    .info-box label {
        color: #000;
        font-size: 25px !important;
    }
    .info-box span {
        color: #000;
        font-size: 25px !important;
    }
    #public, #publicAddress, #pubKey {
        color: #008000 !important;
    }
    #secret, #privateKey, #privKey {
        color: #FF0000 !important;
    }

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  .container {
    padding: 1rem;
    border-radius: 10px;
  }

  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  button {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }

  .qr-code {
    width: 80px !important;
    height: 80px !important;
  }

  .info-box {
    padding: 0.5rem;
  }

  .info-box span {
    font-size: 0.85rem;
  }
}
