html, body {
    color: rgb(7, 199, 242);
    background-color: black;
    overflow-x: hidden;
}

body {
    font-family: "Lucida Console", "Courier New", monospace;
}

/* Main container */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Step cards */
.step-card {
    border-left: 4px solid #444;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 4px 4px 0;
}

.step-server {
    border-left-color: #ff9900;
}

.step-user {
    border-left-color: rgb(7, 199, 242);
}

/* Badges */
.badge-server, .badge-user {
    font-family: "Lucida Console", "Courier New", monospace;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 8px;
}

.badge-server {
    background-color: #ff9900;
    color: #000;
}

.badge-user {
    background-color: rgb(7, 199, 242);
    color: #000;
}

/* Output fields — labeled code blocks with click-to-copy */
.output-field {
    margin: 10px 0;
}

.output-label {
    font-size: 0.85em;
    font-weight: 700;
    color: rgb(7, 199, 242);
    margin-bottom: 4px;
}

.output-value {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 3px;
    padding: 10px 12px;
    font-size: 0.8em;
    color: rgb(210, 95, 13);
    font-weight: 700;
    word-break: break-all;
    white-space: pre-wrap;
    cursor: pointer;
    position: relative;
    min-height: 20px;
    transition: border-color 0.2s;
}

.output-value:hover {
    border-color: #555;
}

.output-value:empty {
    display: none;
}

.output-value.copied {
    border-color: rgb(0, 226, 38);
}

.output-value.copied::after {
    content: "copied";
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.75em;
    color: rgb(0, 226, 38);
    font-weight: 400;
}

/* Buttons */
.button {
    background: transparent;
    color: rgb(7, 199, 242);
    border: 2px solid rgb(7, 199, 242);
    padding: 8px 16px;
    font-family: "Lucida Console", "Courier New", monospace;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin: 4px 0;
}

.button:hover {
    background: rgb(7, 199, 242);
    color: #000;
}

/* Input fields */
input[type="text"], input:not([type]), input[class*="w-"] {
    background: #111;
    color: rgb(7, 199, 242);
    border: 1px solid rgb(7, 199, 242);
    padding: 6px 10px;
    font-family: "Lucida Console", "Courier New", monospace;
    font-size: 0.9em;
}

input::placeholder {
    color: #555;
}

/* Nostr JSON display */
.nostr-json {
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 12px;
    font-size: 0.8em;
    white-space: pre-wrap;
    word-break: break-all;
    color: rgb(0, 226, 38);
    max-height: 300px;
    overflow-y: auto;
}

/* Cards (proof section) */
.card {
    background-color: #0a0a0a;
    border: 1px solid #333;
}

.card-body {
    color: rgb(7, 199, 242);
}

/* Typography */
h1 {
    font-size: 2em;
    color: rgb(0, 226, 38);
    text-decoration-color: black;
}

h2 {
    font-size: 1.5em;
    color: #ff9900;
    text-decoration-color: black;
}

p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding: 5px;
}

a {
    text-decoration-color: rgb(4, 245, 185);
    color: #c2ebee;
}

small {
    color: rgb(0, 226, 38);
}

/* Addresses (lightning invoice) */
.addresses {
    padding-top: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: rgb(255, 0, 166);
    font-weight: 600;
    font-size: 1em;
}

/* Responsive */
@media (max-width: 600px) {
    .main-container {
        padding: 10px 8px;
    }
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.2em;
    }
    .step-card {
        padding: 12px 14px;
    }
}
