/* ===== SHS Strukturholding Saar – Design System ===== */

:root {
    --primary:       #1e3a5f;
    --primary-dark:  #152c47;
    --primary-light: #2a5080;
    --accent:        #c8a84b;
    --accent-light:  #e8c96d;
    --bg:            #f4f5f7;
    --bg-white:      #ffffff;
    --border:        #d8dde6;
    --text:          #1a1a2e;
    --text-secondary:#5a6478;
    --success:       #1e7a34;
    --success-light: #e8f5ed;
    --warning:       #b45309;
    --warning-light: #fef3e2;
    --danger:        #b91c1c;
    --danger-light:  #fde8e8;
    --info-light:    #e8f0fb;

    --radius:        6px;
    --radius-lg:     10px;
    --shadow:        0 1px 4px rgba(0,0,0,0.10);
    --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

/* ===== Internal Layout ===== */

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.app-header {
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.20);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-brand { display: flex; align-items: center; }
.brand-logos {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
}
/* SHS Logo auf dunklem Header: weiß rendern */
.header-logo {
    height: 32px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
/* SCN Logo: Originalfarben (gelb/rot sichtbar auf Navy) */
.header-logo-scn {
    height: 35px;
    width: auto;
    display: block;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
}
.nav-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav-link:hover { background: rgba(255,255,255,0.10); color: #fff; }
.nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
.nav-logout { color: rgba(255,255,255,0.55); }
.nav-logout:hover { background: rgba(184,28,28,0.25); color: #ffbbbb; }

/* Main */
.app-main {
    flex: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

/* Footer */
.app-footer { display: none; }
.footer-companies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0.4rem;
    color: rgba(255,255,255,0.40);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-legal { color: rgba(255,255,255,0.40); }

/* ===== Page Header ===== */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.page-subtitle {
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-size: 0.9rem;
}
.page-header-actions { display: flex; gap: 0.75rem; align-items: center; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); background: var(--info-light); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { opacity: 0.9; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.btn-xs { padding: 0.25rem 0.6rem; font-size: 0.78rem; }
.btn-link-copy { background: var(--info-light); color: var(--primary); border: 1px solid var(--border); }
.btn-link-copy:hover { background: var(--primary); color: #fff; }
.btn-link-copy.copied { background: var(--success-light); color: var(--success); border-color: var(--success); }
.inline-form { display: inline; }

/* ===== KPI Grid ===== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}
@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .kpi-grid { grid-template-columns: 1fr; } }

.kpi-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
    text-decoration: none;
    color: inherit;
}
.kpi-link {
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.15s;
}
.kpi-link:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.kpi-total   { border-color: var(--primary); }
.kpi-sent    { border-color: #2563eb; }
.kpi-responded { border-color: var(--success); }
.kpi-action  { border-color: var(--warning); }
.kpi-action-highlight { background: var(--warning-light); animation: pulse-warning 2s infinite; }

@keyframes pulse-warning {
    0%, 100% { border-color: var(--warning); }
    50%       { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 168, 75, 0.2); }
}

.kpi-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.kpi-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.kpi-number { font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.kpi-label  { font-size: 0.82rem; color: var(--text-secondary); margin-top: 2px; }

/* Progress */
.progress-section { background: var(--bg-white); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.75rem; box-shadow: var(--shadow); }
.progress-header { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.progress-pct { font-weight: 600; color: var(--primary); }
.progress-bar { height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--success), #4ade80); border-radius: 5px; transition: width 0.6s ease; }
.progress-legend { display: flex; gap: 1.5rem; margin-top: 0.5rem; font-size: 0.78rem; }
.legend-item::before { content: '●'; margin-right: 0.3rem; }
.legend-confirmed::before { color: var(--success); }
.legend-revised::before { color: var(--warning); }
.legend-sent::before { color: #2563eb; }

/* ===== Tables ===== */
.table-card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    background: var(--primary);
    color: rgba(255,255,255,0.90);
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--bg); }
.data-table tbody tr.row-highlight { background: #fffbea; animation: highlight-fade 3s ease forwards; }
@keyframes highlight-fade { 0%,30% { background: #fef9c3; } 100% { background: transparent; } }

.vendor-nr { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 0.82rem; }
.date-cell { color: var(--text-secondary); font-size: 0.82rem; white-space: nowrap; }
.link-cell { min-width: 140px; }
.actions-cell { white-space: nowrap; display: flex; gap: 0.35rem; align-items: center; padding: 0.5rem 1rem; }
.change-indicator { color: var(--warning); font-size: 0.6rem; margin-left: 0.3rem; }
.vendor-name-cell { font-weight: 500; }

/* Filter bar */
/* Search + Filter */
.search-filter-row { margin-bottom: 0.75rem; }
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 420px;
}
.search-icon {
    position: absolute;
    left: 0.75rem;
    width: 16px; height: 16px;
    color: var(--text-secondary);
    pointer-events: none;
}
.search-input {
    width: 100%;
    padding: 0.5rem 2.25rem 0.5rem 2.25rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text);
    background: var(--bg-white);
    outline: none;
    transition: border-color 0.15s;
}
.search-input:focus { border-color: var(--primary); }
.search-clear {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 0.2rem 0.3rem;
    line-height: 1;
}
.search-clear:hover { color: var(--danger); }

.filter-bar { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge-secondary { background: #e5e7eb; color: #6b7280; }
.badge-primary   { background: #dbeafe; color: #1d4ed8; }
.badge-success   { background: var(--success-light); color: var(--success); }
.badge-warning   { background: var(--warning-light); color: var(--warning); }
.badge-dark      { background: #374151; color: #f3f4f6; }

/* ===== Alerts ===== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-error   { background: var(--danger-light);  color: var(--danger);  border: 1px solid #fca5a5; }
.alert-success { background: var(--success-light); color: var(--success); border: 1px solid #86efac; }
.alert-warning { background: var(--warning-light); color: var(--warning); border: 1px solid #fcd34d; }

/* ===== Section Header ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.75rem 0 1rem;
}
.section-title { font-size: 1.1rem; font-weight: 600; color: var(--primary); }

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}
.empty-state svg { width: 3rem; height: 3rem; margin: 0 auto 1rem; opacity: 0.4; display: block; }
.empty-state p { margin-bottom: 1.5rem; }

/* ===== Forms ===== */
.form-card, .info-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}
.info-card { background: var(--info-light); border: 1px solid #bfdbfe; }
.info-card h3 { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 0.75rem; }
.info-card ul { padding-left: 1.25rem; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.8; }
.info-card code { background: #dbeafe; padding: 1px 5px; border-radius: 3px; font-size: 0.8rem; }

.form-group { margin-bottom: 1.25rem; }
.form-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 0.875rem; color: var(--text); margin-bottom: 0.4rem; }
.form-hint { font-weight: 400; color: var(--text-secondary); font-size: 0.78rem; }
.form-input, .form-textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-white);
    transition: border-color 0.15s;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08);
}
.form-textarea { resize: vertical; }
.form-actions { display: flex; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    background: var(--bg);
}
.file-upload-area:hover { border-color: var(--primary); background: var(--info-light); }
.file-input {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}
.file-upload-content { pointer-events: none; }
.file-upload-content svg { width: 2rem; height: 2rem; stroke: var(--text-secondary); margin: 0 auto 0.75rem; display: block; }
.file-upload-text { color: var(--text-secondary); margin-bottom: 0.35rem; }
.file-upload-btn { color: var(--primary); font-weight: 600; text-decoration: underline; }
.file-selected { color: var(--success); font-weight: 600; }

/* ===== Login Layout ===== */
.login-layout { background: var(--primary-dark); display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-wrapper { width: 100%; max-width: 400px; padding: 1.5rem; }
.login-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.login-header { text-align: center; margin-bottom: 2rem; }
.login-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.login-logo-img { height: 48px; width: auto; display: block; }
.login-logo-scn { height: 53px; width: auto; display: block; }
.login-subtitle { color: var(--text-secondary); font-size: 0.875rem; }
.login-form .form-input { padding: 0.75rem 1rem; font-size: 1rem; }

/* ===== Review Layout ===== */
.review-layout { background: var(--bg); }
.review-header {
    display: block;
    width: 100%;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.20);
}
.review-header-inner {
    display: flex;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}
.review-header-title {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.review-wrapper { max-width: 760px; margin: 0 auto; min-height: calc(100vh - 64px); display: flex; flex-direction: column; }

.review-main { flex: 1; padding: 2rem; }

.review-intro {
    display: flex;
    gap: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}
.review-intro-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--info-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.review-intro-icon svg { width: 24px; height: 24px; stroke: var(--primary); }
.review-intro-eyebrow { font-size: 0.78rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.review-intro h2 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.review-intro p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0.4rem; }
.review-vendor-ref { font-size: 0.82rem; color: var(--text-secondary); }

.review-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}
.review-card-responded { text-align: center; padding: 3rem; }
.review-responded-icon {
    width: 64px; height: 64px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
}
.review-responded-icon svg { width: 32px; height: 32px; stroke: var(--success); }

/* Data groups in review */
.data-group { margin-bottom: 1.5rem; }
.data-group:last-of-type { margin-bottom: 0; }
.data-group-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.4rem;
    margin-bottom: 0.85rem;
    display: inline-block;
}
.data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (max-width: 600px) { .data-grid { grid-template-columns: 1fr; } }
.data-item { display: flex; flex-direction: column; gap: 2px; }
.data-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); font-weight: 600; }
.data-value { font-size: 0.9rem; color: var(--text); font-weight: 500; }

/* Review action buttons */
.review-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.btn-review {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    min-width: 200px;
}
.btn-review svg { width: 20px; height: 20px; }
.btn-confirm   { background: var(--success); color: #fff; }
.btn-confirm:hover { background: #15612a; box-shadow: 0 4px 12px rgba(30,122,52,0.3); transform: translateY(-1px); }
.btn-revise    { background: var(--danger); color: #fff; border: none; }
.btn-revise:hover { background: #991b1b; box-shadow: 0 4px 12px rgba(185,28,28,0.3); transform: translateY(-1px); }
.btn-submit-changes { background: var(--primary); color: #fff; }
.btn-submit-changes:hover { background: var(--primary-light); }
.btn-cancel    { background: var(--bg); color: var(--text-secondary); border: 1.5px solid var(--border); }
.btn-cancel:hover { border-color: var(--text-secondary); }

/* Edit mode */
.edit-mode-header { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.edit-mode-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.edit-mode-header p { color: var(--text-secondary); font-size: 0.875rem; margin-top: 0.25rem; }
.edit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
@media (max-width: 600px) { .edit-grid { grid-template-columns: 1fr; } }

/* Review footer */
.review-footer { display: block; width: 100%; background: var(--primary-dark); padding: 1.25rem 2rem; text-align: center; }
.footer-companies-review { color: rgba(255,255,255,0.40); font-size: 0.72rem; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.footer-legal-review { color: rgba(255,255,255,0.35); font-size: 0.72rem; }

/* Done card */
.done-card { text-align: center; padding: 3rem 2rem; }
.done-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}
.done-icon-success { background: var(--success-light); }
.done-icon-success svg { width: 36px; height: 36px; stroke: var(--success); }
.done-icon-info { background: var(--info-light); }
.done-icon-info svg { width: 36px; height: 36px; stroke: var(--primary); }
.done-icon-neutral { background: var(--bg); }
.done-icon-neutral svg { width: 36px; height: 36px; stroke: var(--text-secondary); }
.done-card h2 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.done-card p { color: var(--text-secondary); margin-bottom: 0.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.done-contact { margin-top: 1.5rem; font-size: 0.82rem; color: var(--text-secondary); font-style: italic; }
.responded-detail { font-size: 0.9rem; }

/* ===== Import Page ===== */
.csv-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.csv-status svg { width: 15px; height: 15px; flex-shrink: 0; }
.csv-status-ok    { background: var(--success-light); color: var(--success); }
.csv-status-error { background: var(--danger-light);  color: var(--danger); }
.csv-path { font-family: monospace; font-size: 0.78rem; opacity: 0.8; margin-left: 0.25rem; }
.form-input-lg { font-size: 1.1rem; padding: 0.75rem 1rem; }

/* ===== Import Options ===== */
.import-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
@media (max-width: 700px) { .import-options { grid-template-columns: 1fr; } }

.import-option-card { margin-bottom: 0; }

.import-option-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.import-option-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: var(--info-light);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
}
.import-option-icon svg { width: 20px; height: 20px; color: var(--primary); }
.import-option-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.2rem; }
.import-option-desc { font-size: 0.82rem; color: var(--text-secondary); }
.import-bulk-hint { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-outline-mail {
    background: none;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.25rem 0.6rem; border-radius: var(--radius); font-size: 0.78rem;
    cursor: pointer; white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.btn-outline-mail svg { width: 13px; height: 13px; }
.btn-outline-mail:hover { background: var(--accent); color: #fff; }
.alert-success { background: var(--success-light); color: var(--success); border: 1px solid #a7d7b4; }

/* ===== Import Preview ===== */
tr.row-imported { opacity: 0.55; }
.iban-preview { font-family: monospace; font-size: 0.82rem; color: var(--text-secondary); }
.imported-label { font-size: 0.82rem; color: var(--text-secondary); }
.preview-footer { margin-top: 1.5rem; }

/* ===== Detail Page ===== */
.link-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--info-light);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.link-banner-text { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.link-code { font-family: monospace; font-size: 0.82rem; background: #dbeafe; padding: 2px 8px; border-radius: 4px; word-break: break-all; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-group { background: var(--bg-white); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow); }
.detail-fields { display: flex; flex-direction: column; gap: 0.75rem; }
.detail-field { display: flex; flex-direction: column; gap: 2px; }
.detail-field.field-changed { background: var(--warning-light); padding: 0.5rem; border-radius: var(--radius); margin: -0.25rem; }
.detail-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); font-weight: 600; }
.detail-values { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.detail-value { font-size: 0.875rem; color: var(--text); font-weight: 500; }
.detail-value-old { font-size: 0.875rem; color: var(--danger); text-decoration: line-through; }
.detail-value-new { font-size: 0.875rem; color: var(--success); font-weight: 600; }
.detail-arrow { color: var(--text-secondary); font-size: 0.75rem; }

.notes-card { background: var(--warning-light); border: 1px solid #fcd34d; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.notes-card h3 { font-size: 0.875rem; font-weight: 700; color: var(--warning); margin-bottom: 0.5rem; }
.notes-card p { font-size: 0.875rem; color: var(--text); }

.detail-actions { display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.timestamps { display: flex; gap: 1.5rem; font-size: 0.78rem; color: var(--text-secondary); flex-wrap: wrap; padding: 1rem; background: var(--bg-white); border-radius: var(--radius); }
