/* Layout Styles */
.main-header {
    padding-top: 1rem;
    padding-bottom: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-nav:focus {
    outline: none;
}

.header-nav h1 {
    margin: 0;
    outline: none;
}

.logout-form {
    margin: 0;
}

#logout-button {
    width: auto;
}

/* Token Generator Styles */
.error-message {
    background-color: var(--pico-del-color);
    margin-bottom: 1rem;
}

.error-message p {
    margin: 0;
}

.token-action-button {
    width: auto !important;
    display: inline-block;
    margin-bottom: 1rem;
}

#token-panel {
    border-bottom: none;
}

.token-label {
    margin-bottom: 0.25rem;
}

#token-output {
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid currentColor;
    border-radius: 0.5rem;
    background-color: var(--pico-code-background-color);
    color: var(--pico-code-color);
    cursor: pointer;
    transition: border-color 0.2s;
}

#token-output:hover,
#token-output:focus {
    border-color: var(--pico-primary);
    outline: none;
}

.token-expiry {
    margin-top: 0.5rem;
}
