/* Portal - Custom Styles (Pico CSS supplement) */

/* Brand */
.brand {
    text-decoration: none;
}

/* Auth form centering */
.auth-form {
    max-width: 480px;
    margin: 0 auto;
}

/* New key result box */
.new-key-box {
    border-left: 4px solid var(--pico-primary);
}

.new-key-box pre {
    word-break: break-all;
    white-space: pre-wrap;
    user-select: all;
}

/* Small button */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

/* Alert */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--pico-border-radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-success {
    background: var(--pico-ins-color);
    color: #fff;
}

.alert-error {
    background: var(--pico-del-color);
    color: #fff;
}

/* Code blocks */
pre code {
    font-size: 0.9rem;
}

/* Grid cards equal height */
.grid > article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
