/* Get API Key page — "Clean Studio" */

/* Progress steps */
.steps-container {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.step {
    flex: none;
    width: 110px;
    text-align: center;
}

.circle {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--pn-border);
    background: var(--pn-surface);
    color: var(--pn-muted);
    font-family: var(--pn-font-head);
    font-weight: 800;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.step.active .circle {
    border-color: var(--pn-teal);
    background: var(--pn-teal);
    color: #FFFFFF;
}

.step.completed .circle {
    border-color: var(--pn-mint);
    background: var(--pn-mint);
    color: var(--pn-midnight-deep);
}

.line {
    flex: 1 1 auto;
    height: 2px;
    margin-top: 21px;
    background: var(--pn-border);
}

.step span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pn-text);
}

/* Form card */
#send-code-box {
    max-width: 480px;
    margin: 0 auto;
    padding: 36px;
    background: var(--pn-surface);
    border: 1px solid var(--pn-border);
    border-radius: var(--pn-radius);
    box-shadow: var(--pn-shadow);
}

    #send-code-box h2 {
        margin: 0 0 12px;
        font-size: 28px;
        font-weight: 800;
        letter-spacing: -0.03em;
    }

    #send-code-box input {
        width: 100%;
        margin-top: 12px;
    }

    #send-code-box button {
        width: 100%;
        min-height: 48px;
        margin-top: 12px;
        background: var(--pn-teal);
        color: #FFFFFF;
        border: 0;
        border-radius: var(--pn-radius-sm);
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: background-color .15s ease;
    }

        #send-code-box button:hover {
            background: var(--pn-teal-dark);
        }

        #send-code-box button:disabled {
            background: #C9D5DE;
            color: var(--pn-muted);
            cursor: not-allowed;
        }

    #send-code-box br {
        display: none;
    }

    #send-code-box #code {
        margin-top: 28px;
    }

#send-result, #result {
    margin-top: 16px;
    color: var(--pn-text);
    overflow-wrap: anywhere;
}

    #send-result:not(:empty) {
        padding: 12px 16px;
        background: var(--pn-mint-tint);
        border-radius: var(--pn-radius-sm);
    }

@media (max-width: 520px) {
    #send-code-box { padding: 24px; }
    .step { width: 84px; }
}

/* Page title */
.pn-apikey > h1 {
    text-align: center;
}

.pn-apikey__sub {
    margin: 0 0 40px;
    text-align: center;
    color: var(--pn-muted);
    font-size: 18px;
}

/* Result (key shown after verification) */
#send-result code {
    display: inline-block;
    margin: 6px 0 4px;
    padding: 6px 10px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

#send-result p {
    margin: 8px 0 12px;
    font-size: 14px;
}

#send-result .pn-btn {
    width: auto;
}
