/*
 * TravTools · © MUNLabs
 * Superuser-Bereich
 * Superuser-Seiten, Backups, SMTP, Mail-Templates, Menüs, Logos und Logs.
 */



/* Phase 4 · Superuser Header-Migration */
.tt-header-standalone.tt-hide-content-head,
.tt-log-header.tt-hide-content-head{
  display:none!important;
}


/* ===== MIGRIERT AUS superuser_accountverwaltung.css ===== */

/* * TravTools - Superuser Accountverwaltung (V11 Fixed) */

.tt-ac-wrap { 
    max-width: 1200px; 
    margin: 0; 
    color: var(--text, var(--tt-text-soft)); 
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 5px; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; }
.tt-subtitle { color: var(--muted, var(--tt-muted)); font-size: 14px; }

/* CARD & SEARCH */
.tt-card {
    background: var(--panel, var(--tt-surface-solid));
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tt-log-controls {
    padding: 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
}
.tt-log-stats { font-size: 13px; color: var(--tt-muted); font-weight: 600; }
.tt-highlight { color: var(--brandGold, #f2c14a); }

/* SEARCH INPUT */
.tt-search-wrapper { position: relative; display: flex; align-items: center; gap: 10px; }
.tt-search-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 8px;
    padding: 8px 12px 8px 35px;
    color: #fff;
    font-size: 13px;
    width: 250px;
    outline: none;
    transition: 0.3s;
}
.tt-search-input:focus { border-color: var(--brandGold, #f2c14a); }
.tt-search-icon { position: absolute; left: 12px; color: var(--tt-faint); font-size: 14px; }

/* TABLE STYLING */
.tt-table-responsive { width: 100%; overflow-x: auto; }
.tt-log-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }

.tt-log-table th {
    background: rgba(0,0,0,0.2);
    color: var(--tt-muted);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
    white-space: nowrap;
}

.tt-log-table td {
    padding: 12px 20px; /* Etwas weniger Padding für kompaktere Höhe */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--tt-text-soft);
    vertical-align: middle;
}
.tt-log-table tr:hover td { background: rgba(255,255,255,0.02); }

/* SPALTEN DEFINITION (Angepasst für neue Spalte) */
.col-avatar { width: 60px; text-align: center; }
.col-user { width: 220px; font-weight: 700; color: #fff; }
.col-badge { width: 100px; text-align: center; } /* NEU */
.col-level { width: 120px; text-align: center; }
.col-status { width: 100px; text-align: center; }
.col-date { width: 150px; font-family: monospace; color: var(--tt-muted); text-align: right; }
.col-action { width: 60px; text-align: right; }

/* USER INFO */
.tt-user-wrap { display: flex; flex-direction: column; line-height: 1.3; }
.tt-user-sub { font-size: 11px; color: var(--tt-faint-2); font-weight: 400; }

/* AVATAR (Clean, ohne Badge) */
.tt-avatar-circle {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 950;
    color: var(--brandGold, #f2c14a);
    border: 1px solid var(--line, var(--tt-line-solid));
}

/* BADGES & LABELS FIX */
.tt-badge-display {
    display: flex; justify-content: center; align-items: center;
    min-height: 24px;
}

.tt-level-badge {
    display: inline-block; 
    padding: 4px 10px; 
    border-radius: 6px;
    font-size: 10px; 
    font-weight: 800; 
    text-transform: uppercase;
    border: 1px solid transparent; 
    min-width: 80px; 
    text-align: center;
}
/* Spezifische Farben für Ränge */
.lvl-guest { background: rgba(255,255,255,0.05); color: var(--tt-muted); border-color: rgba(255,255,255,0.1); }
.lvl-reg { background: rgba(33, 150, 243, 0.1); color: #2196f3; border-color: rgba(33, 150, 243, 0.2); }
.lvl-vip { background: rgba(156, 39, 176, 0.1); color: var(--tt-purple); border-color: rgba(156, 39, 176, 0.2); }
.lvl-admin { background: rgba(212,175,55,0.15); color: var(--brandGold, #f2c14a); border-color: rgba(212,175,55,0.2); }

/* STATUS PILLS */
.tt-status-pill {
    display: inline-block; padding: 4px 8px; border-radius: 4px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.st-active { color: var(--tt-green); background: rgba(61,220,132, 0.1); border: 1px solid rgba(61,220,132, 0.2); }
.st-locked { color: var(--tt-red); background: rgba(255,92,92, 0.1); border: 1px solid rgba(255,92,92, 0.2); }

/* DETAILS AREA */
.tt-details-row { display: none; background: rgba(0,0,0,0.2) !important; }
.tt-details-row.is-open { display: table-row; }
.tt-details-content { padding: 25px !important; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* EDIT GRID */
.tt-edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
@media (max-width: 900px) { .tt-edit-grid { grid-template-columns: 1fr; } }

.tt-form-section { display: flex; flex-direction: column; gap: 15px; }
.tt-form-group { display: flex; flex-direction: column; gap: 6px; }
.tt-form-group label { font-size: 11px; font-weight: 800; color: var(--tt-muted); text-transform: uppercase; }

.tt-inp-field {
    width: 100%; background: rgba(0,0,0,0.25); border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 8px; padding: 10px 12px; color: #fff; font-size: 13px; outline: none; transition: 0.2s;
}
.tt-inp-field:focus { border-color: var(--brandGold, #f2c14a); }

/* LOGS SECTION */
.tt-logs-section { display: flex; flex-direction: column; gap: 20px; }
.tt-log-box { flex: 1; }
.tt-box-title { font-size: 11px; font-weight: 800; color: var(--brandGold, #f2c14a); text-transform: uppercase; margin-bottom: 8px; display: block; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 5px; }

.tt-mini-list { display: flex; flex-direction: column; gap: 4px; }
.tt-mini-item { 
    background: rgba(0,0,0,0.2); padding: 6px 10px; border-radius: 4px; 
    font-size: 11px; display: flex; justify-content: space-between; 
    border-left: 2px solid var(--line, var(--tt-line-solid)); 
}
.tt-mi-date { color: var(--tt-faint); font-family: monospace; }
.tt-mi-text { color: var(--tt-text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.tt-mini-empty { font-style: italic; color: var(--tt-faint-2); font-size: 11px; padding: 5px; }

/* FOOTER ACTIONS */
.tt-form-footer { 
    display: flex; gap: 10px; margin-top: 20px; 
    padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); 
}
.tt-btn-save { flex: 2; background: linear-gradient(135deg, var(--brandGold, #f2c14a), var(--tt-gold-2)); color: var(--tt-bg-0); border: none; border-radius: 8px; font-weight: 800; height: 38px; cursor: pointer; text-transform: uppercase; }
.tt-btn-lock { flex: 1; background: rgba(0,0,0,0.25); border: 1px solid var(--line, var(--tt-line-solid)); color: #fff; border-radius: 8px; font-weight: 800; cursor: pointer; }
.tt-btn-del  { flex: 1; background: rgba(255,92,92, 0.1); color: var(--tt-red); border: 1px solid var(--tt-red); border-radius: 8px; font-weight: 800; cursor: pointer; }

/* TOGGLE BTN */
.tt-btn-icon {
    background: transparent; border: 1px solid var(--line, var(--tt-line-solid));
    color: var(--tt-muted); width: 28px; height: 28px; border-radius: 6px;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.tt-btn-icon:hover { background: rgba(255,255,255,0.05); color: #fff; }
.tt-btn-icon.active { background: var(--brandGold, #f2c14a); color: var(--tt-bg-0); border-color: var(--brandGold, #f2c14a); transform: rotate(180deg); }

/* PAGINATION */
.tt-pagination { display: flex; justify-content: center; gap: 5px; padding: 20px; border-top: 1px solid var(--line, var(--tt-line-solid)); }
.tt-page-btn { min-width: 32px; height: 32px; border-radius: 6px; background: rgba(255,255,255,0.03); border: 1px solid var(--line, var(--tt-line-solid)); color: var(--tt-muted); cursor: pointer; font-weight: 700; font-size: 12px; }
.tt-page-btn.active { background: var(--brandGold, #f2c14a); color: var(--tt-bg-0); border-color: var(--brandGold, #f2c14a); }

/* ALERTS */
.tt-status-alert { background: rgba(61,220,132, 0.1); color: var(--tt-green); padding: 15px; border-radius: 12px; margin-bottom: 25px; border: 1px solid rgba(61,220,132, 0.2); font-size: 14px; font-weight: 600; text-align: center; }

/* fix6 targeted rescue */
.tt-ac-wrap{width:100%!important;max-width:none!important;padding:0!important;}
.tt-card{width:100%!important;}
.tt-log-controls{display:grid!important;grid-template-columns:auto minmax(280px,1fr)!important;gap:16px!important;align-items:center!important;padding:16px 18px!important;}
.tt-search-wrapper{width:100%!important;min-width:0!important;}
.tt-search-input{width:100%!important;padding-left:36px!important;}
.tt-table-responsive{width:100%!important;overflow-x:auto!important;}
.tt-log-table{table-layout:fixed!important;}
.tt-log-table .col-user{width:34%!important;}
.tt-log-table .col-badge{width:9%!important;}
.tt-log-table .col-level{width:12%!important;}
.tt-log-table .col-status{width:10%!important;}
.tt-log-table .col-date{width:13%!important;}
.tt-log-table .col-action{width:54px!important;}
.tt-badge-display,.tt-level-badge,.tt-status-pill{justify-content:center!important;}
.tt-btn-icon{width:32px!important;height:32px!important;}


/* ===== MIGRIERT AUS superuser_backend.css ===== */

/* Backend */


/* ===== MIGRIERT AUS superuser_backup.css ===== */

/* * TravTools - Superuser Backup & Restore V6 */

.tt-ac-wrap { 
    max-width: 1100px; 
    margin: 0; 
    color: var(--tt-text-soft); 
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 5px; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; }
.tt-subtitle { color: var(--muted, var(--tt-muted)); font-size: 14px; }

/* GRID */
.tt-admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 20px;
}
@media (max-width: 900px) { .tt-admin-grid { grid-template-columns: 1fr; } }

/* CARDS */
.tt-card {
    background: var(--panel, var(--tt-surface-solid));
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tt-card-header {
    background: rgba(255,255,255,0.03);
    padding: 15px 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
}
.tt-card-header h3 {
    margin: 0; font-size: 16px; color: var(--brandGold, #f2c14a);
    display: flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase;
}
.tt-card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }

/* ACTION AREA */
.tt-backup-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    text-align: center;
    flex: 1;
}

.tt-backup-icon {
    font-size: 50px;
    color: var(--brandGold, #f2c14a);
    margin-bottom: 15px;
    opacity: 0.8;
}

.tt-backup-desc {
    color: var(--tt-muted);
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 13px;
    min-height: 40px;
}

/* BUTTONS */
.tt-download-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, var(--brandGold, #f2c14a), var(--tt-gold-2));
    color: var(--tt-bg-0); border: none; border-radius: 10px; padding: 12px 20px;
    font-size: 14px; font-weight: 800; text-transform: uppercase; cursor: pointer;
    width: 100%; transition: transform 0.2s;
}
.tt-download-btn:hover { transform:none; box-shadow: 0 5px 15px rgba(242, 193, 74, 0.15); }

/* RESTORE / DANGER ZONE */
.tt-restore-card { border-color: rgba(255,92,92, 0.3); }
.tt-restore-card .tt-card-header h3 { color: var(--tt-red); }
.tt-restore-icon { color: var(--tt-red); }

.tt-danger-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: rgba(255,92,92, 0.1); color: var(--tt-red); border: 1px solid rgba(255,92,92, 0.4);
    border-radius: 10px; padding: 12px 20px; font-size: 14px; font-weight: 800; 
    text-transform: uppercase; cursor: pointer; width: 100%; transition: 0.2s;
    margin-top: 15px;
}
.tt-danger-btn:hover { background: rgba(255,92,92, 0.2); border-color: var(--tt-red); }

/* FILE INPUT */
.tt-file-input-wrapper {
    position: relative; width: 100%; height: 80px;
    border: 2px dashed var(--line, var(--tt-line-solid)); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    color: var(--tt-faint); transition: 0.3s; background: rgba(0,0,0,0.2); cursor: pointer;
    margin-bottom: 15px;
}
.tt-file-input-wrapper:hover { border-color: var(--tt-red); color: var(--tt-red); background: rgba(255,92,92, 0.05); }
.tt-file-input-wrapper input[type="file"] { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* PASSWORD INPUT (NEU) */
.tt-pass-input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 10px;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    outline: none;
    text-align: center;
    transition: 0.3s;
    margin-bottom: 10px;
}
.tt-pass-input:focus {
    border-color: var(--tt-red);
    box-shadow: 0 0 10px rgba(255,92,92, 0.2);
}
.tt-pass-input::placeholder { color: var(--tt-faint); font-style: italic; }

/* INFO LIST */
.tt-info-list { margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; width: 100%; }
.tt-info-item { display: flex; justify-content: space-between; padding-bottom: 8px; font-size: 12px; }
.tt-lbl { color: var(--tt-faint); }
.tt-val { color: var(--tt-text-soft); font-family: monospace; }
.gold { color: var(--brandGold, #f2c14a); }

/* ALERTS */
.tt-alert { padding: 15px; border-radius: 12px; margin-bottom: 25px; font-weight: 600; text-align: center; border: 1px solid transparent; }
.tt-alert-success { background: rgba(61,220,132, 0.1); border-color: rgba(61,220,132, 0.2); color: var(--tt-green); }
.tt-alert-error { background: rgba(255,92,92, 0.15); border-color: var(--tt-red); color: var(--tt-red); }


/* ===== MIGRIERT AUS superuser_ereignis_log.css ===== */

/* * TravTools - Superuser Ereignis Log (V5) */

.tt-ac-wrap { 
    max-width: 1100px; 
    margin: 0; 
    color: var(--tt-text-soft); 
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 5px; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; }
.tt-subtitle { color: var(--muted, var(--tt-muted)); font-size: 14px; }

/* TABLE CARD */
.tt-card {
    background: var(--panel, var(--tt-surface-solid));
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* HEADER FILTER AREA */
.tt-log-controls {
    padding: 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
}
.tt-log-stats {
    font-size: 13px;
    color: var(--tt-muted);
    font-weight: 600;
}
.tt-highlight { color: var(--brandGold, #f2c14a); }

/* DATA TABLE STYLE */
.tt-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.tt-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.tt-log-table th {
    background: rgba(0,0,0,0.2);
    color: var(--tt-muted);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
    white-space: nowrap;
}

.tt-log-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--tt-text-soft);
    vertical-align: top;
}

.tt-log-table tr:last-child td { border-bottom: none; }
.tt-log-table tr:hover td { background: rgba(255,255,255,0.02); }

/* SPALTEN STYLES */
.col-ts { width: 150px; font-family: monospace; color: var(--tt-faint); }
.col-user { width: 200px; font-weight: 700; color: #fff; }
.col-ip { width: 120px; font-family: monospace; color: var(--tt-faint); font-size: 12px; }
.col-type { width: 120px; }
.col-details { color: var(--tt-muted); line-height: 1.4; }

/* BADGES FÜR TYPEN */
.tt-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid transparent;
}
.badge-login { background: rgba(76, 175, 80, 0.15); color: #4caf50; border-color: rgba(76, 175, 80, 0.2); }
.badge-error { background: rgba(255,92,92, 0.15); color: var(--tt-red); border-color: rgba(255,92,92, 0.2); }
.badge-warning { background: rgba(255, 152, 0, 0.15); color: #ff9800; border-color: rgba(255, 152, 0, 0.2); }
.badge-info { background: rgba(33, 150, 243, 0.15); color: #2196f3; border-color: rgba(33, 150, 243, 0.2); }
.badge-admin { background: rgba(242, 193, 74, 0.15); color: var(--brandGold, #f2c14a); border-color: rgba(242, 193, 74, 0.2); }

/* USER LINK */
.tt-user-link {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
}
.tt-user-sub { font-size: 11px; color: var(--tt-faint-2); font-weight: 400; margin-top: 2px; }

/* PAGINATION */
.tt-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 20px;
    border-top: 1px solid var(--line, var(--tt-line-solid));
}

.tt-page-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line, var(--tt-line-solid));
    color: var(--tt-muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: 0.2s;
}
.tt-page-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.tt-page-btn.active {
    background: var(--brandGold, #f2c14a);
    color: var(--tt-bg-0);
    border-color: var(--brandGold, #f2c14a);
}
.tt-page-btn.disabled { opacity: 0.3; cursor: default; pointer-events: none; }

/* SEARCH BAR */
.tt-search-form { display: flex; gap: 10px; }
.tt-search-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    font-size: 13px;
    width: 250px;
    outline: none;
}
.tt-search-input:focus { border-color: var(--brandGold, #f2c14a); }
.tt-search-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line, var(--tt-line-solid));
    color: var(--tt-text-soft);
    border-radius: 8px;
    padding: 0 15px;
    cursor: pointer;
    font-weight: 700;
}
.tt-search-btn:hover { background: rgba(255,255,255,0.1); }

/* EMPTY STATE */
.tt-empty-state { text-align: center; padding: 50px; color: var(--tt-faint); font-style: italic; }

/* fix6 ereignis log alignment */
.tt-log-container,.tt-wrap,.tt-card{width:100%!important;max-width:none!important;}
.tt-log-controls{display:grid!important;grid-template-columns:auto minmax(260px,1fr) auto!important;gap:14px!important;align-items:center!important;}
.tt-search-wrapper,.tt-search-input{width:100%!important;}
.tt-log-table{table-layout:fixed!important;}


/* ===== MIGRIERT AUS superuser_ki.css ===== */

/* KI-Steuerung */


/* ===== MIGRIERT AUS superuser_klicker_lizenzen.css ===== */

/* Klicker-Lizenzen */


/* ===== MIGRIERT AUS superuser_logo.css ===== */

/* * TravTools - Superuser Logo Verwaltung 
 * Style: Dark/Gold (Final V5)
 */

.tt-ac-wrap { 
    max-width: 1100px; 
    margin: 0; 
    color: var(--tt-text-soft); 
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 5px; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; }
.tt-subtitle { color: var(--muted, var(--tt-muted)); font-size: 14px; }

/* GRID LAYOUT */
.tt-admin-grid {
    display: grid;
    grid-template-columns: 400px 1fr; /* Links Upload, Rechts Preview */
    gap: 30px;
    align-items: start;
    margin-top: 20px;
}
@media (max-width: 900px) { .tt-admin-grid { grid-template-columns: 1fr; } }

/* CARDS */
.tt-card {
    background: var(--panel, var(--tt-surface-solid));
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 16px;
    overflow: hidden;
}

.tt-card-header {
    background: rgba(255,255,255,0.03);
    padding: 15px 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
}
.tt-card-header h3 {
    margin: 0; font-size: 16px; color: var(--brandGold, #f2c14a);
    display: flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase;
}
.tt-card-body { padding: 20px; }

/* INPUTS & FORM */
.tt-form-group { margin-bottom: 20px; }
.tt-form-group label {
    display: block; font-size: 11px; text-transform: uppercase; font-weight: 800; color: var(--muted, var(--tt-muted)); margin-bottom: 8px;
}

/* Custom File Input Styling */
.tt-file-input-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed var(--line, var(--tt-line-solid));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--tt-muted);
    transition: 0.3s;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
}
.tt-file-input-wrapper:hover {
    border-color: var(--brandGold, #f2c14a);
    color: var(--brandGold, #f2c14a);
    background: rgba(242, 193, 74, 0.05);
}
.tt-file-input-wrapper input[type="file"] {
    position: absolute;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}
.tt-upload-icon { font-size: 24px; margin-bottom: 10px; }
.tt-upload-text { font-size: 13px; font-weight: 600; }

/* BUTTONS */
.tt-save-btn {
    width: 100%; background: linear-gradient(135deg, var(--brandGold, #f2c14a), var(--tt-gold-2));
    color: var(--tt-bg-0); border: none; border-radius: 10px; font-weight: 800; height: 45px; cursor: pointer; text-transform: uppercase;
    font-size: 14px; margin-top: 10px;
}
.tt-save-btn:active { transform: scale(0.98); }

/* PREVIEW AREA (Rechts) */
.tt-logo-container {
    text-align: center;
    padding: 20px;
    background: var(--tt-bg-2); /* Dunkler Hintergrund für Kontrast */
    border-radius: 10px;
    border: 1px solid var(--line, var(--tt-line-solid));
}

/* Schachbrett-Muster für Transparenz-Check */
.tt-transparency-grid {
    display: inline-block;
    background-color: var(--tt-text);
    background-image: linear-gradient(45deg, var(--tt-text-soft) 25%, transparent 25%, transparent 75%, var(--tt-text-soft) 75%, var(--tt-text-soft)), 
                      linear-gradient(45deg, var(--tt-text-soft) 25%, transparent 25%, transparent 75%, var(--tt-text-soft) 75%, var(--tt-text-soft));
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #fff;
    max-width: 100%;
}

.tt-logo-img {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 200px; /* Begrenzung der Höhe */
}

/* History Liste */
.tt-history-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tt-hist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--line, var(--tt-line-solid));
    font-size: 13px;
}
.tt-hist-name { font-family: monospace; color: var(--brandGold, #f2c14a); }
.tt-hist-date { color: var(--tt-faint); font-size: 11px; }

/* MESSAGES */
.tt-alert { padding: 15px; border-radius: 12px; margin-bottom: 25px; font-weight: 600; text-align: center; border: 1px solid transparent; }
.tt-alert-success { background: rgba(61,220,132, 0.1); border-color: rgba(61,220,132, 0.2); color: var(--tt-green); }
.tt-alert-error { background: rgba(255,92,92, 0.15); border-color: var(--tt-red); color: var(--tt-red); }


/* ===== MIGRIERT AUS superuser_mail_templates.css ===== */

/* travtools/css/superuser_mail_templates.css */
.tt-log-container { max-width: 1500px; margin: 0; }
.tt-grid-main { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; }

.tt-section-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 25px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.tt-section-card.compact { padding: 12px 20px; }

/* FIX: Dropdowns - Dunkler Hintergrund, Goldene Schrift */
.tt-select { flex: 1; background: #0b1220; border: 1px solid var(--line); color: var(--brandGold); padding: 10px; border-radius: 12px; font-weight: 700; outline: none; cursor: pointer; }
.tt-select option { background: #0b1220; color: #fff; padding: 10px; }

.tt-tpl-nav { display: flex; gap: 10px; }
.tt-box-label { display: block; font-size: 11px; text-transform: uppercase; font-weight: 800; color: var(--brandGold); margin-bottom: 12px; }
.tt-flex-row { display: flex; gap: 10px; margin-bottom: 15px; }
.tt-input { flex: 1; background: rgba(0,0,0,0.2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: #fff; outline: none; }
.tt-save-btn { background: var(--brandGold); color: #000; font-weight: 900; border: none; padding: 0 25px; border-radius: 12px; cursor: pointer; transition: 0.2s; }
.tt-save-btn:hover { filter: brightness(1.1); }

.tt-tabs { display: flex; gap: 5px; margin-bottom: 10px; }
.tt-tab { background: var(--panel2); border: 1px solid var(--line); color: var(--muted); padding: 8px 15px; border-radius: 8px; font-weight: 700; cursor: pointer; border: 0; }
.tt-tab.active { background: var(--brandGold); color: #000; }

.tt-textarea { width: 100%; height: 400px; background: #04060b; border: 1px solid var(--line); border-radius: 14px; padding: 15px; color: #94a3b8; font-family: monospace; outline: none; line-height: 1.5; }

/* Empfängerliste - Exakte Ausrichtung */
.tt-list-header { display: flex; justify-content: space-between; margin-bottom: 15px; align-items: center; }
.tt-input-small { background: rgba(0,0,0,0.2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: #fff; font-size: 12px; width: 220px; outline: none; }
.tt-mini-btn { background: var(--panel2); border: 1px solid var(--line); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 10px; cursor: pointer; font-weight: 800; }

.tt-table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.tt-table th { background: rgba(0,0,0,0.3); color: var(--brandGold); padding: 12px; text-align: left; font-size: 10px; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.tt-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tt-table tr:last-child td { border-bottom: none; }

.center { text-align: center !important; }

.tt-user-info { display: flex; flex-direction: column; gap: 2px; }
.tt-user-name { color: #fff; font-weight: 700; }
.tt-user-mail { color: var(--muted); font-size: 11px; }

.tt-tag-ok { color: #22c55e; font-weight: 900; font-size: 10px; letter-spacing: 0.5px; }
.tt-tag-no { color: var(--tt-red); font-weight: 900; font-size: 10px; letter-spacing: 0.5px; }

/* Checkbox Styling */
.u-chk { width: 18px; height: 18px; cursor: pointer; accent-color: var(--brandGold); }

.tt-pagination-small { display: flex; gap: 4px; margin: 15px 0; }
.tt-p-btn { background: var(--panel2); border: 1px solid var(--line); color: #fff; padding: 5px 12px; border-radius: 8px; cursor: pointer; font-weight: 800; font-size: 11px; }
.tt-p-btn.active { background: var(--brandGold); color: #000; border-color: var(--brandGold); }

.tt-bulk-btn { width: 100%; background: #22c55e; color: #fff; font-weight: 900; border: none; padding: 14px; border-radius: 12px; cursor: pointer; font-size: 14px; transition: 0.2s; margin-top: 10px; }
.tt-bulk-btn:hover { background: #16a34a; transform:none; }

/* Browser Mockup */
.tt-browser-mockup { background: #fff; border-radius: 15px; height: 750px; overflow: hidden; border: 8px solid var(--panel2); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
#previewFrame { width: 100%; height: 100%; border: none; }

.tt-var-info { margin-top: 15px; font-size: 11px; color: var(--muted); background: rgba(0,0,0,0.2); padding: 10px; border-radius: 10px; }
.tt-var-info code { color: var(--brandGold); background: rgba(255,255,255,0.05); padding: 2px 5px; border-radius: 4px; margin: 0 2px; }

.tt-alert { padding: 15px; border-radius: 15px; margin-bottom: 20px; font-weight: 700; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); }
.tt-alert.is-ok { background: rgba(61,220,132, 0.1); color: var(--tt-green); border-color: rgba(61,220,132, 0.2); }
.tt-alert.is-err { background: rgba(255,92,92, 0.1); color: var(--tt-red-2); border-color: rgba(255,92,92, 0.2); }

/* fix6 mail templates redesign rescue */
.tt-log-container{width:100%!important;max-width:none!important;}
.tt-section-card{border-radius:20px!important;padding:18px!important;}
.tt-flex-row{align-items:center!important;flex-wrap:wrap!important;}
.tt-tabs{flex-wrap:wrap!important;}
.tt-input,.tt-select,.tt-input-small{min-height:44px!important;}
.tt-editor-area .tt-textarea{height:520px!important;line-height:1.55!important;color:#d7dfeb!important;}
.tt-list-header{gap:12px!important;flex-wrap:wrap!important;}
.tt-table{table-layout:fixed!important;}


/* ===== MIGRIERT AUS superuser_menu.css ===== */

/* superuser_menu.css */

:root {
    --royalBlue: var(--tt-blue-2);
    --darkPanel: var(--tt-surface-solid);
    --darkBg: var(--tt-bg-2);
    --lineColor: var(--tt-line-solid);
    --brandGold: #f2c14a;
}

.tt-menu-wrap {
    width: 100%; /* Full Width */
    background: var(--darkPanel); border: 1px solid var(--lineColor);
    border-radius: 12px; overflow: hidden; padding: 25px;
    box-sizing: border-box;
}

.tt-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid var(--lineColor); padding-bottom: 15px; }
.tt-menu-header h1 { margin: 0; color: #fff; font-size: 24px; text-transform: uppercase; letter-spacing: 1px; }

.tt-head-actions { display: flex; gap: 15px; }

.tt-btn-add { background: var(--lineColor); color: #fff; border: none; padding: 10px 20px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.tt-btn-save { background: var(--royalBlue); color: #fff; border: none; padding: 10px 25px; border-radius: 6px; font-weight: 800; cursor: pointer; transition: 0.3s; }

/* LISTE */
.tt-menu-list { display: flex; flex-direction: column; gap: 4px; min-height: 200px; }

.tt-menu-row {
    display: flex; align-items: center; padding: 12px; border-radius: 6px;
    background: rgba(255,255,255,0.03); border: 1px solid transparent;
    transition: 0.2s;
}
.tt-menu-row:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.tt-menu-row.is-hidden { opacity: 0.5; }
.tt-menu-row.tm-dragging { opacity: 0.4; border: 2px dashed var(--brandGold); }

.tm-drag-handle { width: 30px; cursor: move; color: var(--tt-faint); font-size: 18px; user-select: none; }
.tm-icon { width: 40px; text-align: center; font-size: 18px; }
.tm-title { flex: 1; font-weight: 700; color: var(--tt-text); font-size: 14px; }
.tm-meta { width: 200px; display: flex; gap: 5px; justify-content: flex-end; }
.tm-tag { background: var(--tt-bg-2); border: 1px solid var(--lineColor); color: var(--brandGold); font-size: 10px; padding: 2px 6px; border-radius: 4px; }

.tm-actions { width: 140px; text-align: right; display: flex; gap: 5px; justify-content: flex-end; }
.tm-btn { background: transparent; border: 1px solid var(--lineColor); color: var(--tt-text-soft); border-radius: 4px; padding: 5px 10px; cursor: pointer; }
.tm-btn:hover { background: #fff; color: #000; }
.tm-btn.del:hover { background: var(--tt-red); border-color: var(--tt-red); color: #fff; }
.tm-btn.view.off { color: var(--tt-faint); }

/* TRASH */
.tt-menu-trash-head { margin-top: 40px; border-bottom: 1px solid var(--lineColor); padding-bottom: 5px; color: var(--tt-muted); font-weight: 700; text-transform: uppercase; font-size: 12px; }
.tt-menu-trash { margin-top: 10px; opacity: 0.7; }

/* MODAL */
.tt-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9999; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.tt-modal-overlay.active { display: flex; }
.tt-modal { background: var(--tt-surface-solid); width: 600px; padding: 30px; border-radius: 12px; border: 1px solid var(--royalBlue); box-shadow: 0 25px 80px rgba(0,0,0,0.7); overflow-y: auto; max-height: 90vh; }
.tt-modal h3 { margin-top: 0; color: #fff; border-bottom: 1px solid var(--lineColor); padding-bottom: 15px; }

.tm-form-row { margin-bottom: 15px; }
.tm-form-grid { display: flex; gap: 15px; margin-bottom: 15px; }
.tm-input-group { display: flex; gap: 5px; }

.tt-menu-wrap label { display: block; font-size: 11px; font-weight: 700; color: var(--tt-muted); margin-bottom: 5px; text-transform: uppercase; }
input[type="text"], input[type="number"], select {
    width: 100%; box-sizing: border-box; padding: 12px; background: var(--tt-bg-2); border: 1px solid var(--lineColor); color: #fff; border-radius: 6px; outline: none; font-family: inherit;
}
input:focus, select:focus { border-color: var(--royalBlue); }

.tm-icon-picker-btn { width: 100%; height: 42px; background: var(--tt-bg-2); border: 1px solid var(--lineColor); border-radius: 6px; cursor: pointer; font-size: 20px; }
.tm-btn-icon { width: 42px; background: var(--darkPanel); border: 1px solid var(--lineColor); border-radius: 6px; cursor: pointer; }

.tm-section-title { font-size: 12px; color: var(--brandGold); font-weight: 700; margin-top: 25px; margin-bottom: 10px; border-bottom: 1px solid var(--lineColor); padding-bottom: 5px; }
.tm-checks { display: flex; gap: 20px; margin-top: 15px; }
.tm-checks label { display: flex; align-items: center; gap: 8px; color: #fff; cursor: pointer; }

.tm-modal-foot { margin-top: 30px; text-align: right; display: flex; gap: 10px; justify-content: flex-end; }
.tm-btn-save { background: var(--royalBlue); color: #fff; border: none; padding: 10px 25px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.tm-btn-cancel { background: transparent; border: 1px solid var(--lineColor); color: var(--tt-text-soft); padding: 10px 20px; border-radius: 6px; cursor: pointer; }

/* Icon Grid */
.tm-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 5px; max-height: 400px; overflow-y: auto; padding: 10px; background: var(--tt-bg-2); border-radius: 8px; }
.tm-icon-box { display: flex; align-items: center; justify-content: center; height: 40px; font-size: 20px; cursor: pointer; border-radius: 4px; }
.tm-icon-box:hover { background: rgba(255,255,255,0.1); }

.tm-lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* --- NEU: DRAG & DROP VISUALISIERUNG --- */
.tt-menu-row.tm-will-nest {
    background: rgba(242, 193, 74, 0.15) !important; /* Goldener Hint */
    border: 2px solid var(--brandGold) !important;
    padding-left: 30px !important; /* Rückt optisch ein */
    transition: 0.1s;
}

.tt-menu-row.tm-will-swap {
    border-top: 2px solid var(--royalBlue) !important;
    border-bottom: 2px solid var(--royalBlue) !important;
}


/* ===== MIGRIERT AUS superuser_notifications_debug.css ===== */

/* uses shared styles */


/* ===== MIGRIERT AUS superuser_rundmail.css ===== */

/* Rundmail */


/* ===== MIGRIERT AUS superuser_smtp.css ===== */

/* travtools/css/superuser_smtp.css */

.tt-log-container { max-width: 1200px; margin: 0; color: var(--text); }

/* Header wie Smtp-Log */
.tt-log-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.tt-title { font-size: 28px; font-weight: 950; margin: 0; color: #fff; display: flex; align-items: center; gap: 0px; }
.tt-title i { color: var(--brandGold); }
.tt-subtitle { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Status Pill */
.tt-status-pill { background: rgba(255, 255, 255, 0.05); color: var(--muted); padding: 6px 12px; border-radius: 99px; font-size: 11px; font-weight: 800; border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.tt-status-pill.is-active { background: rgba(61,220,132, 0.1); color: var(--tt-green); border-color: rgba(61,220,132, 0.2); }
.tt-dot { width: 6px; height: 6px; background: #94a3b8; border-radius: 50%; }
.tt-status-pill.is-active .tt-dot { background: #22c55e; box-shadow: 0 0 8px #22c55e; }

/* Alerts */
.tt-alert { padding: 15px 20px; border-radius: 15px; margin-bottom: 25px; border: 1px solid var(--line); font-weight: 600; display: flex; align-items: center; gap: 12px; }
.tt-alert.is-ok { background: rgba(61,220,132, 0.1); color: var(--tt-green); border-color: rgba(61,220,132, 0.2); }
.tt-alert.is-err { background: rgba(255,92,92, 0.1); color: var(--tt-red-2); border-color: rgba(255,92,92, 0.2); }

/* Section Cards */
.tt-section-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 25px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.tt-box-label { display: block; font-size: 11px; text-transform: uppercase; font-weight: 800; color: var(--brandGold); margin-bottom: 20px; letter-spacing: 0.5px; }

/* Form Grid */
.tt-grid-config { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.tt-field-box { display: flex; flex-direction: column; gap: 8px; }
.tt-field-box.full-width { grid-column: span 3; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 10px; }

.tt-field-box label { font-size: 13px; font-weight: 700; color: #fff; }
.tt-field-box input, .tt-field-box select { background: rgba(0,0,0,0.2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: #fff; font-size: 14px; outline: none; transition: 0.3s; }
.tt-field-box input:focus, .tt-field-box select:focus { border-color: var(--brandGold); }

/* Checkbox Styling */
.tt-check-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.tt-check-label input { width: 18px; height: 18px; accent-color: var(--brandGold); }

/* Footer Actions */
.tt-footer-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 20px; flex-wrap: wrap; }
.tt-save-btn { background: var(--brandGold); color: #000; font-weight: 900; border: none; padding: 15px 30px; border-radius: 15px; cursor: pointer; font-size: 15px; transition: 0.3s; }
.tt-save-btn:hover { transform:none; box-shadow: 0 5px 15px rgba(242, 193, 74, 0.3); }

.tt-test-box { display: flex; gap: 10px; background: var(--panel2); padding: 10px; border-radius: 18px; border: 1px solid var(--line); flex: 1; max-width: 500px; }
.tt-test-box input { flex: 1; background: transparent; border: none; color: #fff; padding: 0 10px; outline: none; }
.tt-test-btn { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--line); padding: 10px 20px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.tt-test-btn:hover { background: #fff; color: #000; }

@media (max-width: 900px) {
  .tt-grid-config { grid-template-columns: 1fr 1fr; }
  .tt-field-box.full-width { grid-column: span 2; }
}
@media (max-width: 600px) {
  .tt-grid-config { grid-template-columns: 1fr; }
  .tt-field-box.full-width { grid-column: span 1; }
  .tt-footer-actions { flex-direction: column; align-items: stretch; }
}


/* ===== MIGRIERT AUS superuser_smtp_log.css ===== */

/* * TravTools - Superuser SMTP Log (V5 Design) */

.tt-ac-wrap { 
    max-width: 1200px; 
    margin: 0; 
    color: var(--tt-text-soft); 
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 5px; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; }
.tt-subtitle { color: var(--muted, var(--tt-muted)); font-size: 14px; }

/* CARD & FILTER */
.tt-card {
    background: var(--panel, var(--tt-surface-solid));
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tt-log-controls {
    padding: 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
}
.tt-log-stats { font-size: 13px; color: var(--tt-muted); font-weight: 600; }
.tt-highlight { color: var(--brandGold, #f2c14a); }

/* SEARCH INPUT */
.tt-search-wrapper { position: relative; display: flex; align-items: center; }
.tt-search-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 8px;
    padding: 8px 12px 8px 35px;
    color: #fff;
    font-size: 13px;
    width: 280px;
    outline: none;
    transition: 0.3s;
}
.tt-search-input:focus { border-color: var(--brandGold, #f2c14a); }
.tt-search-icon { position: absolute; left: 12px; color: var(--tt-faint); font-size: 14px; }

/* DATA TABLE */
.tt-table-responsive { width: 100%; overflow-x: auto; }
.tt-log-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }

.tt-log-table th {
    background: rgba(0,0,0,0.2);
    color: var(--tt-muted);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
    white-space: nowrap;
}

.tt-log-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--tt-text-soft);
    vertical-align: top;
}
.tt-log-table tr:hover td { background: rgba(255,255,255,0.02); }

/* SPALTEN */
.col-status { width: 80px; text-align: center; }
.col-ts { width: 160px; font-family: monospace; color: var(--tt-faint); }
.col-to { width: 250px; font-weight: 700; color: #fff; }
.col-subject { color: var(--tt-text-soft); }
.col-action { width: 80px; text-align: right; }

/* BADGES */
.tt-badge {
    display: inline-block; padding: 4px 8px; border-radius: 6px;
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    border: 1px solid transparent; min-width: 50px; text-align: center;
}
.badge-ok { background: rgba(76, 175, 80, 0.15); color: #4caf50; border-color: rgba(76, 175, 80, 0.2); }
.badge-fail { background: rgba(255,92,92, 0.15); color: var(--tt-red); border-color: rgba(255,92,92, 0.2); }

/* DETAILS ROW (Hidden by default) */
.tt-details-row { display: none; background: rgba(0,0,0,0.2) !important; }
.tt-details-row.is-open { display: table-row; }
.tt-details-content { padding: 20px !important; }

/* PRE LOG (SMTP Dialog) */
.tt-smtp-log {
    background: var(--tt-bg-2);
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 8px;
    padding: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--tt-muted);
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}
.tt-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 15px; }
.tt-lbl { font-size: 10px; text-transform: uppercase; color: var(--brandGold, #f2c14a); font-weight: 800; display: block; margin-bottom: 4px; }
.tt-val { font-size: 13px; color: #fff; font-weight: 600; }

/* BUTTONS */
.tt-btn-icon {
    background: transparent; border: 1px solid var(--line, var(--tt-line-solid));
    color: var(--tt-muted); width: 32px; height: 32px; border-radius: 8px;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.tt-btn-icon:hover { background: rgba(255,255,255,0.05); color: #fff; }
.tt-btn-icon.active { background: var(--brandGold, #f2c14a); color: var(--tt-bg-0); border-color: var(--brandGold, #f2c14a); transform: rotate(180deg); }

/* PAGINATION */
.tt-pagination {
    display: flex; justify-content: center; gap: 5px; padding: 20px;
    border-top: 1px solid var(--line, var(--tt-line-solid));
}
.tt-page-btn {
    min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03); border: 1px solid var(--line, var(--tt-line-solid));
    color: var(--tt-muted); text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 13px;
    cursor: pointer; transition: 0.2s;
}
.tt-page-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.tt-page-btn.active { background: var(--brandGold, #f2c14a); color: var(--tt-bg-0); border-color: var(--brandGold, #f2c14a); }

/* fix6 smtp log table alignment */
.tt-log-container,.tt-wrap,.tt-card{width:100%!important;max-width:none!important;}
.tt-log-controls{display:grid!important;grid-template-columns:auto minmax(260px,1fr) auto!important;gap:14px!important;align-items:center!important;}
.tt-search-wrapper,.tt-search-input{width:100%!important;}
.tt-log-table{table-layout:fixed!important;}


/* ===== MIGRIERT AUS superuser_weltenverwaltung.css ===== */

/* * TravTools - Superuser Weltenverwaltung (V Final + Prettier Requests) */

.tt-ac-wrap { 
    max-width: 1100px; 
    margin: 0; 
    color: var(--tt-text-soft); 
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 5px; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; }
.tt-subtitle { color: var(--muted, var(--tt-muted)); font-size: 14px; }

/* === NEU: REQUESTS STYLE (SCHÖNER) === */
.tt-requests-section {
    margin-bottom: 40px;
}
.tt-req-headline {
    margin: 0 0 15px 0; font-size: 13px; font-weight: 800; color: #f2c14a; text-transform: uppercase; letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 8px;
}
.tt-req-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

/* Die Request Karte */
.tt-req-card {
    background: var(--tt-surface-solid); 
    border: 1px solid #f2c14a; /* Gold Border */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(242, 193, 74, 0.1);
    display: flex; flex-direction: column;
}

/* Header (User Info) */
.tt-req-head {
    background: rgba(242, 193, 74, 0.15);
    padding: 12px 15px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(242, 193, 74, 0.2);
}
.tt-req-meta {
    font-size: 12px; color: #f2c14a; display: flex; gap: 10px; align-items: center; font-weight: 700;
}
.tt-req-user i { margin-right: 4px; }
.tt-req-date { font-weight: 400; color: var(--tt-text-soft); font-size: 11px; opacity: 0.8; }
.tt-req-badge {
    background: #f2c14a; color: #000; font-size: 10px; font-weight: 900; padding: 2px 6px; border-radius: 4px;
}

/* Body (Welt Info) */
.tt-req-body { padding: 15px; flex: 1; }
.tt-req-wname { margin: 0 0 5px 0; font-size: 16px; color: #fff; font-weight: 800; }
.tt-req-url-wrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-req-link { font-family: monospace; font-size: 12px; color: var(--tt-muted); text-decoration: none; }
.tt-req-link:hover { color: #fff; text-decoration: underline; }

/* Footer (Controls) */
.tt-req-footer {
    padding: 12px 15px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid var(--tt-line-solid);
    display: flex; gap: 10px; align-items: center; justify-content: space-between;
}
.tt-req-form { display: flex; gap: 8px; flex: 1; }
.tt-req-inputs { display: flex; gap: 8px; flex: 1; }

.tt-inp-mini {
    background: var(--tt-bg-2); border: 1px solid var(--tt-line-solid); color: #fff;
    padding: 8px 10px; border-radius: 6px; font-size: 12px; outline: none; width: 100%;
}
.tt-inp-mini:focus { border-color: #f2c14a; }
/* ID Input etwas breiter */
.tt-req-inputs input { flex: 2; }
.tt-req-inputs select { flex: 1; }

.tt-btn-approve {
    background: var(--tt-green); color: #000; border: none; padding: 0 14px;
    border-radius: 6px; font-weight: 800; font-size: 11px; cursor: pointer; text-transform: uppercase;
    display: flex; align-items: center; gap: 5px; height: 34px;
}
.tt-btn-approve:hover { filter: brightness(1.1); box-shadow: 0 2px 8px rgba(61,220,132, 0.2); }

.tt-btn-deny {
    background: transparent; border: 1px solid var(--tt-red); color: var(--tt-red);
    padding: 0 10px; border-radius: 6px; cursor: pointer; height: 34px;
    display: flex; align-items: center; justify-content: center;
}
.tt-btn-deny:hover { background: var(--tt-red); color: #fff; }


/* GRID LAYOUT (Existing) */
.tt-admin-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 20px;
}
@media (max-width: 900px) { .tt-admin-grid { grid-template-columns: 1fr; } }

/* CARDS */
.tt-ac-card {
    background: var(--panel, var(--tt-surface-solid));
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 15px;
}
.tt-ac-card:hover { border-color: rgba(255,255,255,0.2); }

/* CREATE CARD (Links) */
.tt-create-card {
    background: var(--panel, var(--tt-surface-solid));
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 16px;
    position: sticky;
    top: 20px;
    overflow: hidden;
}
.tt-card-header {
    background: rgba(255,255,255,0.03);
    padding: 15px 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
}
.tt-card-header h3 {
    margin: 0; font-size: 16px; color: var(--brandGold, #f2c14a);
    display: flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase;
}
.tt-card-body { padding: 20px; }

/* INPUTS */
.tt-form-group { margin-bottom: 15px; }
.tt-form-group label {
    display: block; font-size: 11px; text-transform: uppercase; font-weight: 800; color: var(--muted, var(--tt-muted)); margin-bottom: 6px;
}
.tt-inp-field {
    width: 100%; background: rgba(0,0,0,0.25); border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 10px; padding: 12px 15px; color: #fff; font-size: 14px; outline: none; box-sizing: border-box; transition: 0.3s;
}
.tt-inp-field:focus { border-color: var(--brandGold, #f2c14a); box-shadow: 0 0 10px rgba(242,193,74,0.1); }

/* BUTTONS */
.tt-save-btn {
    width: 100%; background: linear-gradient(135deg, var(--brandGold, #f2c14a), var(--tt-gold-2));
    color: var(--tt-bg-0); border: none; border-radius: 10px; font-weight: 800; height: 42px; cursor: pointer; text-transform: uppercase;
}
.tt-save-btn:active { transform: scale(0.98); }

/* AKKORDEON STATUS */
.tt-ac-card.is-open { border-color: var(--brandGold, #f2c14a); border-left: 4px solid var(--brandGold, #f2c14a); background: #131316; }

.tt-ac-main { padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.tt-ac-info { display: flex; align-items: center; gap: 15px; }

.tt-world-badge {
    padding: 6px 10px; background: rgba(212,175,55,0.15); color: var(--brandGold, #f2c14a);
    border: 1px solid rgba(212,175,55,0.2); border-radius: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; min-width: 45px; text-align: center;
}
.tt-ac-name { font-size: 16px; font-weight: 700; color: #fff; margin: 0; }
.tt-ac-sub { font-size: 12px; color: var(--muted, var(--tt-muted)); }

.tt-detail-btn {
    width: 32px; height: 32px; background: rgba(255,255,255,0.05); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s; border: 1px solid var(--line, var(--tt-line-solid));
}
.tt-ac-card.is-open .tt-detail-btn { transform: rotate(180deg); background: var(--brandGold, #f2c14a); color: #000; border-color: var(--brandGold, #f2c14a); }

/* DETAILS BEREICH */
.tt-ac-details { display: none; padding: 25px 30px; border-top: 1px solid var(--line, var(--tt-line-solid)); background: rgba(0,0,0,0.2); }
.tt-ac-card.is-open .tt-ac-details { display: block; }

/* INFO-BOX (Read Only) */
.tt-info-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: rgba(255,255,255,0.03); 
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 10px; 
    padding: 20px; 
    margin-bottom: 20px;
}

.tt-ib-item { display: flex; flexDirection: column; gap: 6px; min-width: 0; }
.tt-ib-label { font-size: 10px; text-transform: uppercase; color: var(--muted, var(--tt-muted)); font-weight: 800; }
.tt-ib-val { font-size: 13px; font-weight: 600; color: #fff; font-family: monospace; word-break: break-all; }

.green { color: var(--tt-green); }
.red { color: var(--tt-red-2); }
.gold { color: var(--brandGold, #f2c14a); }

/* EDIT PANEL (DB Editor) */
.tt-edit-panel {
    border-top: 1px dashed var(--line, var(--tt-line-solid));
    padding-top: 20px;
    margin-top: 20px;
}
.tt-edit-title {
    font-size: 12px; font-weight: 800; color: #fff; text-transform: uppercase; margin-bottom: 15px; display: block;
    display: flex; align-items: center; gap: 8px;
}
.tt-edit-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px;
}
@media (max-width: 700px) { .tt-edit-grid { grid-template-columns: 1fr; } }

/* FOOTER BUTTONS */
.tt-form-footer { display: flex; gap: 15px; padding-top: 20px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }

.tt-action-btn {
    flex: 2; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 10px; font-weight: 800; text-decoration: none; font-size: 13px; cursor: pointer;
    border: 1px solid rgba(242, 193, 74, 0.3); background: rgba(242, 193, 74, 0.15); color: var(--brandGold, #f2c14a); white-space: nowrap;
}
.tt-action-btn:hover { background: rgba(242, 193, 74, 0.25); }

.tt-update-btn {
    flex: 2; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 10px; font-weight: 800; cursor: pointer;
    border: 1px solid rgba(61,220,132, 0.3); background: rgba(61,220,132, 0.15); color: var(--tt-green);
}
.tt-update-btn:hover { background: rgba(61,220,132, 0.25); }

.delete-form-wrapper { flex: 1; display: flex; }
.tt-del-btn {
    width: 100%; min-width: 100px; background: rgba(255,92,92, 0.1); color: var(--tt-red); border: 1px solid rgba(255,92,92, 0.3);
    border-radius: 10px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; height: 42px;
}
.tt-del-btn:hover { background: rgba(255,92,92, 0.25); border-color: var(--tt-red); }

/* ALERTS */
.tt-alert { padding: 15px; border-radius: 12px; margin-bottom: 25px; font-weight: 600; text-align: center; border: 1px solid transparent; }
.tt-alert-success { background: rgba(61,220,132, 0.1); border-color: rgba(61,220,132, 0.2); color: var(--tt-green); }
.tt-alert-error { background: rgba(255,92,92, 0.15); border-color: var(--tt-red); color: var(--tt-red); }

.tt-empty-state { text-align: center; padding: 50px; color: var(--muted, var(--tt-faint)); background: rgba(255,255,255,0.02); border-radius: 16px; font-style: italic; }

/* fix6 weltenverwaltung buttons */
.tt-btn-save,.tt-btn-import,.tt-btn-delete,.tt-btn-del,.tt-btn{min-width:140px!important;height:42px!important;padding:0 16px!important;border-radius:12px!important;font-size:12px!important;font-weight:800!important;}


/* ===== MIGRIERT AUS superuser_zuruecksetzen.css ===== */

/* * TravTools - Superuser System Reset (Danger Zone) */

.tt-ac-wrap { 
    max-width: 1100px; 
    margin: 0; 
    color: var(--tt-text-soft); 
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 5px; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; }
.tt-subtitle { color: var(--muted, var(--tt-muted)); font-size: 14px; }

/* GRID */
.tt-admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 20px;
}

/* CARD STYLES */
.tt-card {
    background: var(--panel, var(--tt-surface-solid));
    border: 1px solid var(--line, var(--tt-line-solid));
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.tt-card-header {
    padding: 20px;
    border-bottom: 1px solid var(--line, var(--tt-line-solid));
    display: flex; align-items: center; gap: 10px;
}
.tt-card-header h3 {
    margin: 0; font-size: 18px; font-weight: 800; text-transform: uppercase;
}
.tt-card-body { padding: 30px; text-align: center; }

/* STEP 1: BACKUP (Blau/Gold) */
.card-backup { border-left: 4px solid var(--brandGold, #f2c14a); }
.card-backup h3 { color: var(--brandGold, #f2c14a); }

/* STEP 2: RESET (Rot/Gefahr) */
.card-reset { 
    border: 1px solid rgba(255,92,92, 0.3); 
    border-left: 4px solid var(--tt-red);
    background: rgba(255,92,92, 0.05);
}
.card-reset h3 { color: var(--tt-red); }

/* HERO ICONS */
.tt-hero-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}
.icon-backup { color: var(--brandGold, #f2c14a); opacity: 0.8; }
.icon-danger { color: var(--tt-red); animation: pulse 2s infinite; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* TEXTS */
.tt-desc {
    font-size: 14px;
    color: var(--tt-text-soft);
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.tt-warning-text {
    color: var(--tt-red);
    font-weight: 700;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed var(--tt-red);
    margin-bottom: 25px;
    display: inline-block;
}

/* BUTTONS */
.tt-btn-backup {
    background: linear-gradient(135deg, var(--brandGold, #f2c14a), var(--tt-gold-2));
    color: var(--tt-bg-0);
    border: none; padding: 15px 40px; border-radius: 10px;
    font-weight: 900; text-transform: uppercase; cursor: pointer;
    font-size: 16px; display: inline-flex; align-items: center; gap: 10px;
    transition: 0.2s; text-decoration: none;
}
.tt-btn-backup:hover { transform:none; box-shadow: 0 5px 20px rgba(242, 193, 74, 0.2); }

.tt-btn-nuke {
    background: #d32f2f;
    color: #fff;
    border: 1px solid #b71c1c; padding: 15px 40px; border-radius: 10px;
    font-weight: 900; text-transform: uppercase; cursor: pointer;
    font-size: 16px; display: inline-flex; align-items: center; gap: 10px;
    transition: 0.2s;
}
.tt-btn-nuke:hover { background: var(--tt-red); box-shadow: 0 0 20px rgba(255,92,92, 0.4); }
.tt-btn-nuke:disabled { background: var(--tt-faint-2); border-color: var(--tt-faint-2); color: var(--tt-muted); cursor: not-allowed; box-shadow: none; }

/* PASSWORD INPUT */
.tt-pass-input {
    background: #000;
    border: 2px solid var(--tt-red);
    color: var(--tt-red);
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    font-weight: bold;
    outline: none;
    letter-spacing: 2px;
}
.tt-pass-input::placeholder { color: #552222; letter-spacing: normal; }
.tt-pass-input:focus { box-shadow: 0 0 15px rgba(255,92,92, 0.3); }

/* OVERLAY (LOCK) */
.tt-locked-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(4px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 10;
}
.tt-lock-icon { font-size: 40px; color: var(--tt-muted); margin-bottom: 10px; }
.tt-lock-msg { font-size: 16px; font-weight: 700; color: #fff; }

/* MESSAGES */
.tt-alert { padding: 15px; border-radius: 12px; margin-bottom: 25px; font-weight: 600; text-align: center; border: 1px solid transparent; }
.tt-alert-success { background: rgba(61,220,132, 0.1); border-color: rgba(61,220,132, 0.2); color: var(--tt-green); }
.tt-alert-error { background: rgba(255,92,92, 0.15); border-color: var(--tt-red); color: var(--tt-red); }


/* ===== Final Pass · Block 4 · Superuser ===== */
.tt-mail-layout,
.tt-log-layout,
.tt-super-grid{display:grid;gap:18px;align-items:start;}
.tt-mail-layout{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);}
.tt-section-card,.tt-card,.tt-panel{
  background:linear-gradient(180deg, rgba(20,29,52,.88), rgba(8,12,20,.92));
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  box-shadow:0 16px 38px rgba(0,0,0,.24);
}
.tt-section-card{padding:20px;}
.tt-box-label{display:block;margin:0 0 10px;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.64);}
.tt-flex-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;}
.tt-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 14px;}
.tt-tab,.tt-mini-btn,.tt-p-btn,.tt-save-btn,.tt-bulk-btn{
  appearance:none;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04);color:#fff;
  border-radius:14px;padding:10px 14px;font-weight:800;cursor:pointer;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.tt-tab.active,.tt-tab:hover,.tt-mini-btn:hover,.tt-p-btn.active,.tt-p-btn:hover,.tt-save-btn:hover,.tt-bulk-btn:hover{
  background:rgba(37,99,235,.16);border-color:rgba(242,193,74,.24);box-shadow:0 0 0 1px rgba(37,99,235,.22) inset,0 0 18px rgba(37,99,235,.12);transform:none!important;
}
.tt-save-btn,.tt-bulk-btn{background:linear-gradient(180deg, rgba(37,99,235,.20), rgba(8,12,20,.92));}
.tt-textarea{width:100%;min-height:380px;resize:vertical;}
.tt-var-info{margin-top:12px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.74);line-height:1.5;}
.tt-var-info code{display:inline-block;margin:4px 6px 0 0;padding:4px 8px;border-radius:10px;background:rgba(37,99,235,.14);color:#dbeafe;}
.tt-list-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;}
.tt-selection-btns{display:flex;gap:8px;flex-wrap:wrap;}
.tt-preview-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;}
.tt-live-indicator{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(61,220,132,.14);color:var(--tt-green-2);font-size:12px;font-weight:900;text-transform:uppercase;}
.tt-browser-mockup{border:1px solid rgba(255,255,255,.10);border-radius:18px;overflow:hidden;background:#0a0f18;min-height:520px;}
.tt-browser-mockup iframe{display:block;width:100%;min-height:520px;border:0;background:#fff;}
.tt-user-info{display:flex;flex-direction:column;gap:3px;}
.tt-user-mail{font-size:12px;color:rgba(255,255,255,.58);}
.tt-tag-ok,.tt-tag-no{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;text-transform:uppercase;}
.tt-tag-ok{background:rgba(61,220,132,.14);color:var(--tt-green-2);}
.tt-tag-no{background:rgba(255,92,92,.14);color:var(--tt-red-2);}
@media (max-width:1150px){.tt-mail-layout{grid-template-columns:1fr;}}


/* =========================================================
   Repair Block 7 · Superuser / Tabellen / Mail-Templates
   ========================================================= */
body.tt-app .tt-grid-main{
  width:100%!important;
  max-width:1320px!important;
  margin:0 auto!important;
  grid-template-columns:minmax(280px,380px) minmax(0,1fr)!important;
  gap:18px!important;
}
body.tt-app .tt-section-card,
body.tt-app .tt-panel,
body.tt-app .tt-log-container,
body.tt-app .tt-browser-mockup{border-radius:18px!important;}
body.tt-app .tt-browser-mockup{min-height:560px!important;}
body.tt-app .tt-browser-mockup iframe{min-height:560px!important;}
@media (max-width: 1100px){
  body.tt-app .tt-grid-main{grid-template-columns:1fr!important;}
}


/* Block 6 · Superuser helper polish */
.tt-card > h2:first-child{margin:0;padding:18px 20px 0;font-size:22px;font-weight:900;color:#fff;}
.tt-card > .tt-form{padding:18px 20px 20px;display:grid;gap:12px;max-width:640px;}
.tt-card > .tt-form .tt-input,
.tt-card > .tt-form input[type="text"],
.tt-card > .tt-form input[type="email"],
.tt-card > .tt-form input[type="number"]{min-height:42px;border-radius:12px;}
.tt-card > .tt-form .tt-btn,
.tt-card > .tt-form button{min-height:42px;border-radius:12px;align-self:flex-start;}
.tt-note-muted{opacity:.82;margin-top:14px;font-size:13px;color:#aeb7c2;}
