/* --- BANK LAYOUT --- */
.ts-bank-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 0 40px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif;
}

/* HEADER */
.ts-bank-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.ts-bank-header-text {
    width: 65%;
}

.ts-bank-header-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #172c47;
}

.ts-bank-header-text p {
    font-size: 16px;
    color: #444;
}

/* ROLE INFO */
.ts-role-info {
    margin-top: 10px;
    font-size: 14px;
    color: #172c47;
    font-weight: 600;
}

/* RIGHT PANEL BUTTONS */
.ts-bank-right {
    width: 30%;
}

.ts-bank-right button {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    background: #172c47;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
}

/* PANELS */
.ts-panel {
    display: none;
    background: #f7f9fc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #172c47;
}

/* SWITCH (nur Admin) */
.ts-role-switch {
    margin: 20px 0;
    text-align: center;
}

.ts-switch-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    background: #e7ecf3;
    color: #172c47;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.ts-switch-btn.active {
    background: #172c47;
    color: #fff;
}

/* PREMIUM BANK LAYOUT – GRID */
.ts-premium-layout {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 40px;
    margin-top: 40px;
}

/* LINKE SPALTE */
.ts-left-column {
    padding-right: 10px;
}

.ts-left-column h2 {
    margin-top: 0;
    font-size: 24px;
    color: #172c47;
}

/* CASE CARDS */
.ts-case-card {
    background: #ffffff;
    border: 1px solid #d5d9e2;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.ts-case-card h3 {
    margin-top: 0;
    color: #172c47;
}

.ts-case-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
}

.ts-case-actions a {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    padding: 10px 15px;
    background: #172c47;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

/* BADGES */
.ts-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
}

.ts-badge-offen { background: #0056d6; }
.ts-badge-arbeit_begonnen { background: #ff9800; }
.ts-badge-arbeit_abgeschlossen { background: #4caf50; }
.ts-badge-teilbezahlt { background: #9c27b0; }
.ts-badge-bezahlt { background: #2e7d32; }
.ts-badge-storniert { background: #b71c1c; }

/* UNREAD LABEL */
.ts-unread-label {
    margin-top: 10px;
    font-size: 14px;
    color: #b71c1c;
    font-weight: 600;
}

/* RECHTE SPALTE */
.ts-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ROLLEN-MENÜ */
.ts-role-panel {
    background: #f9fbfe;
    border: 1px solid #dce3ef;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
}

.ts-role-panel h3 {
    margin-top: 0;
    color: #172c47;
}

.ts-role-panel button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    background: #172c47;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
}

/* PANEL-INHALTE */
.ts-panel-role {
    display: none;
    background: #ffffff;
    border: 1px solid #dce3ef;
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
}
