/* FUCHS SDS Portal CSS Style sheet */

/* =============================================================================
   1. RESET & BASE GLOBALS
   ============================================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fcfcfc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #004A99;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #002d5e;
    text-decoration: underline;
}

code {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 13px;
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 3px;
}

/* =============================================================================
   2. SITE LAYOUT
   ============================================================================= */
.app-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.portal-brand-link {
    display: flex;
    align-items: center;
}

.portal-title {
    font-size: 18px;
    font-weight: bold;
    color: #004A99;
}

.console-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-right: 1px solid #ccc;
    padding-right: 15px;
}

.admin-nav {
    display: flex;
    gap: 15px;
}

.nav-link {
    font-weight: 500;
    color: #555;
    padding: 5px 10px;
    border-radius: 3px;
}

.nav-link:hover {
    color: #004A99;
    background-color: #f5f5f5;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.user-email {
    color: #666;
    font-weight: 500;
}

.btn-signout {
    color: #a94442;
    font-weight: 500;
    padding: 4px 8px;
    border: 1px solid #ebccd1;
    border-radius: 3px;
    background-color: #fdf2f2;
}

.btn-signout:hover {
    background-color: #f2dede;
    text-decoration: none;
    color: #843534;
}

.fuchs-logo {
    height: 110px;
    width: auto;
    display: block;
}

.main-content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1024px;
    margin: 20px auto;
    padding: 0 15px;
}

.app-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 15px 20px;
    text-align: center;
    color: #666;
    font-size: 13px;
    margin-top: auto;
}

.footer-container {
    max-width: 1024px;
    margin: 0 auto;
}

/* =============================================================================
   3. PUBLIC SEARCH PORTAL
   ============================================================================= */
.public-portal-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portal-main-width {
    width: 100%;
}

/* Collapsible card styling */
.border-card {
    border: 1px solid #c8c8c8;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.search-card {
    margin-bottom: 20px;
}

.card-title-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #c8c8c8;
    background: linear-gradient(to bottom, #f7f7f7, #dedede);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.card-title-bar:hover {
    background: linear-gradient(to bottom, #f2f2f2, #d6d6d6);
}

.card-title-text {
    font-size: 17px;
    color: #333;
    font-weight: 500;
}

.card-title-chevron {
    font-size: 11px;
    color: #555;
    transition: transform 0.15s ease;
}

.card-title-chevron.collapsed {
    transform: rotate(-90deg);
}

.card-body {
    padding: 20px 16px;
    background-color: #ffffff;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 10px 35px 10px 12px;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group input:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.06), 0 0 6px rgba(102,175,233,0.5);
}

.input-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
}

.input-clear-btn:hover {
    color: #555;
}

.card-footer {
    padding: 12px 16px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

.btn-primary {
    font-family: inherit;
    font-size: 14px;
    padding: 6px 16px;
    color: #333;
    background: linear-gradient(to bottom, #ffffff, #e6e6e6);
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.1s ease;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #ebebeb, #dbdbdb);
}

.btn-primary:active {
    background: #dbdbdb;
}

/* Results styles */
.portal-results-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.no-results {
    padding: 24px;
    text-align: center;
    background-color: #f7f7f7;
    color: #666;
    border-radius: 3px;
}

.results-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pagination-wrapper {
    display: flex;
    justify-content: flex-end;
}

.pagination-bar {
    display: inline-block;
}

.pagination-group {
    display: flex;
    border-radius: 3px;
    overflow: hidden;
}

.page-link, .page-current, .page-dots {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    margin-left: -1px;
    background-color: #ffffff;
}

.page-link {
    color: #1a6cb3;
}

.page-link:hover {
    background-color: #eee;
    color: #12507f;
    text-decoration: none;
}

.page-current {
    background-color: #f0f0f0;
    color: #333;
    cursor: default;
}

.page-dots {
    color: #999;
    cursor: default;
}

.materials-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.material-container {
    width: 100%;
}

.material-row {
    width: 100%;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-radius 0.15s ease;
    user-select: none;
}

.material-row:hover {
    background-color: #fcfce3; /* Pale yellow */
}

.material-container.expanded .material-row {
    background-color: #f7f7f7;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.material-name-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
    flex: 1;
}

.material-row-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-size-badge {
    font-size: 12px;
    color: #777;
    background-color: #e8e8e8;
    padding: 2px 6px;
    border-radius: 3px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a6cb3;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 3px;
}

.btn-download:hover {
    color: #12507f;
    text-decoration: underline;
    background-color: rgba(26, 108, 179, 0.05);
}

.download-icon {
    width: 16px;
    height: 16px;
}

/* Detail panel sub-table */
.material-detail-panel {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 12px 16px;
    overflow-x: auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(180px, 49%) minmax(150px, 29%) minmax(110px, 22%);
    row-gap: 10px;
    font-size: 14px;
    min-w: 520px;
}

.detail-header {
    font-weight: bold;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.detail-cell {
    color: #555;
    padding-right: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =============================================================================
   4. ALERTS & NOTIFICATIONS
   ============================================================================= */
.alert {
    padding: 12px 16px;
    border-radius: 3px;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-danger {
    background-color: #fdf2f2;
    border: 1px solid #e0b4b4;
    color: #a94442;
}

.alert-success {
    background-color: #f2f7f2;
    border: 1px solid #b4e0b4;
    color: #3c763d;
}

.alert-pink {
    background-color: #fff0f5;
    border: 1px solid #ffb6c1;
    color: #c71585;
}

.alert-close {
    border: none;
    background: none;
    font-size: 14px;
    color: inherit;
    cursor: pointer;
    font-weight: bold;
    padding-left: 10px;
    opacity: 0.7;
}

.alert-close:hover {
    opacity: 1;
}

/* =============================================================================
   5. LOGIN & RETRIEVE PASSWORD PANELS
   ============================================================================= */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(80vh - 120px);
}

.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 4px;
}

.login-card.border-orange {
    border-color: #D24D22; /* Rust/Orange */
}

.login-logo-container {
    text-align: center;
    padding: 24px 20px 10px 20px;
}

.login-logo {
    height: 48px;
    width: auto;
    margin-bottom: 12px;
}

.login-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.forgot-title {
    font-size: 18px;
    font-weight: 600;
    color: #D24D22; /* Rust/Orange */
    margin-bottom: 6px;
}

.forgot-subtitle {
    font-size: 13px;
    color: #666;
}

.login-form {
    padding: 20px;
}

.form-group-no-label {
    margin-bottom: 15px;
}

.form-group-no-label .form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #ffffff;
}

.form-group-no-label .form-control:focus {
    border-color: #66afe9;
    outline: none;
}

.form-group-no-label .form-control.bg-disabled {
    background-color: #eeeeee;
    color: #555;
    cursor: not-allowed;
    border-color: #ddd;
}

.form-group-no-label.has-icon {
    position: relative;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}

.envelope-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #999;
    pointer-events: none;
}

.form-control.pl-icon {
    padding-left: 36px !important;
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.form-actions-row.justify-center {
    justify-content: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label {
    font-size: 13px;
    color: #555;
}

.btn-login-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: linear-gradient(to bottom, #ffffff, #e6e6e6);
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

.btn-login-submit:hover {
    background: linear-gradient(to bottom, #ebebeb, #dbdbdb);
}

.btn-orange-submit {
    padding: 8px 24px;
    font-size: 14px;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(to bottom, #f26c3f, #d24d22);
    border: 1px solid #c83d16;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
}

.btn-orange-submit:hover {
    background: linear-gradient(to bottom, #e35a2c, #b33c16);
}

.key-icon {
    width: 14px;
    height: 14px;
    color: #555;
}

.login-forgot-password-bar {
    background-color: #004A99;
    padding: 10px;
    text-align: center;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.login-forgot-password-bar.bar-orange {
    background-color: #D24D22;
}

.forgot-password-link {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.forgot-password-link:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.letter-spacing-lg {
    letter-spacing: 4px;
}

.font-mono {
    font-family: SFMono-Regular, Consolas, monospace !important;
}

/* =============================================================================
   6. ADMIN LAYOUT & CONSOLE CONSTRUCTS
   ============================================================================= */
.admin-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-container.small-container {
    max-width: 520px;
    margin: 0 auto;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.page-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.btn-secondary {
    font-family: inherit;
    font-size: 14px;
    padding: 6px 12px;
    color: #555;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
}

/* Search filter card */
.search-filter-card {
    padding: 15px;
}

.filter-form {
    width: 100%;
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group.flex-fill {
    flex: 1;
}

.filter-group label {
    font-size: 12px;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
}

.filter-group select, .filter-group input {
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.input-clear-link {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    padding: 2px;
}

.input-clear-link:hover {
    color: #333;
    text-decoration: none;
}

.filter-actions {
    display: flex;
    align-items: flex-end;
}

/* Admin lists table */
.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px; /* Compact 14px / 13px */
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eeeeee;
    vertical-align: middle;
}

.admin-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #555;
    border-bottom: 2px solid #ddd;
}

.admin-table tbody tr:hover {
    background-color: #fafafa;
}

.table-material-name {
    font-weight: 500;
    color: #333;
}

.synonym-hint {
    font-size: 11px;
    color: #888;
    margin-left: 5px;
}

.text-right {
    text-align: right;
}

.actions-cell {
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.inline-action-form {
    display: inline-block;
    margin: 0;
}

.btn-table {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid #ccc;
    background-color: #ffffff;
    color: #333;
}

.btn-table:hover {
    text-decoration: none;
    background-color: #eee;
}

.btn-table-edit {
    color: #004A99;
    border-color: #66afe9;
    background-color: rgba(102, 175, 233, 0.05);
}

.btn-table-edit:hover {
    background-color: rgba(102, 175, 233, 0.15);
    color: #002d5e;
}

.btn-table-publish {
    color: #3c763d;
    border-color: #b4e0b4;
    background-color: rgba(180, 224, 180, 0.05);
}

.btn-table-publish:hover {
    background-color: rgba(180, 224, 180, 0.2);
    color: #274e28;
}

.btn-table-archive {
    color: #666;
    border-color: #ccc;
    background-color: #fafafa;
}

.btn-table-archive:hover {
    background-color: #eee;
}

.btn-table-delete {
    color: #a94442;
    border-color: #e0b4b4;
    background-color: rgba(224, 180, 180, 0.05);
}

.btn-table-delete:hover {
    background-color: rgba(224, 180, 180, 0.2);
    color: #843534;
}

/* Status pills */
.pill {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 10px;
    text-transform: uppercase;
}

.pill-published {
    background-color: #dff0d8;
    color: #3c763d;
}

.pill-draft {
    background-color: #fcf8e3;
    color: #8a6d3b;
}

.pill-archived {
    background-color: #f5f5f5;
    color: #777777;
    border: 1px solid #ddd;
}

.pill-role-super {
    background-color: #d9edf7;
    color: #31708f;
}

.pill-role-admin {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
}

.pill-active {
    background-color: #dff0d8;
    color: #3c763d;
}

.pill-disabled {
    background-color: #f2dede;
    color: #a94442;
}

/* =============================================================================
   7. MATERIAL EDITOR FORM
   ============================================================================= */
.form-card {
    padding: 20px;
}

.material-editor-form, .admin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    color: #444;
}

.form-group label.required::after {
    content: " *";
    color: #a94442;
}

.form-group .form-control {
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
}

.form-group .form-control:focus {
    border-color: #66afe9;
    outline: none;
}

.form-file-control {
    padding: 6px 0;
}

.file-current-info {
    font-size: 12px;
    color: #666;
}

/* Synonyms Repeatable Table in Form */
.synonyms-section-card {
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fafafa;
    padding: 15px;
}

.section-subtitle {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 6px;
}

.synonyms-input-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.synonyms-input-table th {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    text-align: left;
    padding-bottom: 6px;
}

.synonyms-input-table td {
    padding: 5px 0;
}

.synonyms-input-table th:first-child, .synonyms-input-table td:first-child {
    padding-right: 15px;
}

.synonyms-input-table th.width-action, .synonyms-input-table td.text-center {
    width: 80px;
    text-align: center;
}

.synonym-row td {
    vertical-align: middle;
}

.synonyms-action-row {
    display: flex;
    justify-content: flex-start;
}

.form-submit-row {
    display: flex;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.btn-save {
    background: #004A99 !important;
    color: #ffffff !important;
    border-color: #003366 !important;
    font-weight: 500;
}

.btn-save:hover {
    background: #003366 !important;
}

/* =============================================================================
   8. USERS MANAGEMENT PANEL (SUPER ADMIN GRID)
   ============================================================================= */
.users-layout-grid {
    display: grid;
    grid-template-columns: minmax(400px, 2fr) minmax(285px, 1fr);
    gap: 20px;
}

@media (max-width: 820px) {
    .users-layout-grid {
        grid-template-columns: 1fr;
    }
}

.card-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.users-list-card, .grant-access-card {
    padding: 20px;
}

.row-highlight-self {
    background-color: rgba(26, 108, 179, 0.03);
}

.self-tag {
    font-size: 11px;
    font-style: italic;
    color: #666;
}

.grant-user-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-action-row {
    display: flex;
    gap: 10px;
}

.input-action-row input {
    flex: 1;
}

.form-input-help {
    font-size: 11px;
    color: #777;
    margin-top: -3px;
}

.flex-fill {
    flex: 1;
}

/* =============================================================================
   9. UTILITIES
   ============================================================================= */
.no-records {
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    color: #666;
}

.width-action {
    width: 80px;
}

/* -----------------------------------------------------------------------------
   Recovery codes
   Shown once, so the panel is deliberately loud: the warning has to be read
   before the page is navigated away from, because there is no second chance.
-------------------------------------------------------------------------------*/
.recovery-panel {
    margin-top: 18px;
    padding: 16px 18px;
    background: #fffdf5;
    border: 1px solid #e6d9a8;
    border-left: 4px solid #d4a017;
    border-radius: 3px;
}

.recovery-panel-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.recovery-panel-warning {
    margin: 0 0 14px;
    font-size: 13px;
    color: #7a5c00;
}

.recovery-code-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 6px 18px;
    margin: 0 0 14px;
    padding-left: 26px;
}

.recovery-code-list li {
    font-size: 13px;
    color: #666;
}

.recovery-code-list code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    letter-spacing: .04em;
    color: #222;
    -webkit-user-select: all;
    user-select: all;
}

.recovery-panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.recovery-panel-feedback {
    font-size: 13px;
    color: #1e7e34;
}

.recovery-panel-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #8a7a4a;
}

/* Credential handover block on the users console */
.handover-card {
    margin-bottom: 20px;
    padding: 18px 20px;
}

.handover-credential {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
}

.handover-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #777;
}

.handover-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    color: #222;
    -webkit-user-select: all;
    user-select: all;
}

/* Marks the account that cannot be removed */
.permanent-tag {
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    color: #6b4d00;
    background: #fdf3d7;
    border: 1px solid #e6d9a8;
    border-radius: 2px;
}

.pill-warning {
    color: #7a5c00;
    background: #fdf3d7;
    border: 1px solid #e6d9a8;
}

.codes-left {
    font-size: 13px;
    color: #777;
}

.recovery-code-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.login-intro {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}

.form-hint {
    font-size: 12px;
    color: #888;
}

/* Warning banner — used where something still needs doing rather than
   something having gone wrong, so it reads softer than .alert-danger. */
.alert-warning {
    color: #7a5c00;
    background: #fdf3d7;
    border: 1px solid #e6d9a8;
}

/* Reset-a-password card — sits beside "Grant Console Access" in the same column. */
.reset-password-card {
    margin-top: 20px;
    padding: 18px 20px;
}

/* Placeholder in the actions column for a row this user may not act on, so the
   column does not look broken where buttons are deliberately absent. */
.actions-locked {
    display: inline-block;
    padding: 0 6px;
    color: #bbb;
    cursor: default;
}
