/**
 * File: tokens.css
 * Version: 0.1.0
 * Project: BCFuel
 * Module: Public / API Token Styles
 * Description: Styluje panel tokenów aplikacyjnych i jednorazowy widok sekretu bez duplikowania bazowego app.css.
 *
 * Project dependencies:
 * - public_html/assets/css/app.css
 * - app/View/sections/api-tokens.php
 *
 * External dependencies:
 * - CSS3
 *
 * Updated: 2026-09-01
 * Direct access: public static asset
 */

.token-create-form {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.token-secret-card {
    margin-top: 22px;
    padding: 18px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: var(--paper);
}

.token-secret-card h3 {
    font-size: 1.35rem;
}

.token-secret-label {
    display: block;
    margin-top: 14px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.88rem;
    font-weight: 700;
}

.token-secret {
    width: 100%;
    margin-top: 7px;
    padding: 12px;
    border: 1px solid var(--ink);
    border-radius: 10px;
    background: var(--photo-black);
    color: var(--paper-light);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.86rem;
    line-height: 1.45;
    resize: vertical;
}

.token-secret-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.token-secret-actions .button {
    margin-top: 0;
}

.token-list-heading {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.token-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.token-row {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
}

.token-row__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.token-row__top strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 1.05rem;
}

.token-row__actions {
    margin-top: 12px;
}

@media (min-width: 720px) {
    .token-create-form {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
        align-items: end;
    }

    .token-create-form > .button {
        margin-top: 0;
        margin-bottom: 1.2em;
    }
}
