/* ============================================================
   CASHPOINT — Clankasse (Buchungen, Umsatz-Übersicht)
   ============================================================ */
/* ===============================
   CLAN TABS
================================ */
.cp-clan-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.cp-clan-tab {
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #aaa;
    font-size: 12px;
    text-decoration: none;
    transition: 0.15s;
}
.cp-clan-tab:hover  { background: rgba(255,255,255,0.08); color: #fff; }
.cp-clan-tab.active { background: rgba(108,123,255,0.2); border-color: #6c7bff; color: #fff; }

/* ===============================
   SALDO KARTEN
================================ */
.cp-saldo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.cp-saldo-card {
    padding: 14px 16px;
    border-radius: 5px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.cp-saldo-card--total {
    background: rgba(108,123,255,0.08);
    border-color: rgba(108,123,255,0.25);
}
.cp-saldo-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.cp-saldo-value { font-size: 20px; font-weight: 700; }
.pos { color: #2ecc71; }
.neg { color: #e74c3c; }

/* ===============================
   FILTER
================================ */
.cp-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.cp-filter-years,
.cp-filter-months {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.cp-filter-btn {
    padding: 3px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #888;
    font-size: 12px;
    text-decoration: none;
    transition: 0.12s;
    white-space: nowrap;
}
.cp-filter-btn:hover  { background: rgba(255,255,255,0.08); color: #ccc; }
.cp-filter-btn.active { background: rgba(108,123,255,0.2); border-color: #6c7bff; color: #fff; }

/* ===============================
   USER DETAIL + ACCORDION
================================ */
.cp-user-detail {
    margin-bottom: 20px;
	padding: 4px;
    border: 1px solid rgba(108,123,255,0.3);
    border-radius: 5px;
    overflow: hidden;
}
.cp-user-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
	border-radius: 4px;
	margin-bottom: 3px;
    background: rgba(108,123,255,0.12);
    font-size: 13px;
    color: #ccc;
}
.cp-btn-close {
    color: #888;
    text-decoration: none;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}
.cp-btn-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.cp-user-total {
    padding: 12px 16px;
    font-size: 13px;
    color: #aaa;
    background: rgba(0,0,0,0.15);
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

/* ===============================
   TABELLE
================================ */
.cp-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    margin-bottom: 20px;
}
.cp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.cp-table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
    background: rgba(255,255,255,0.03);
}
.cp-table td {
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}
.cp-table tr:last-child td { border-bottom: none; }
.cp-table tbody .cp-row:nth-child(odd)  { background: rgba(255,255,255,0.015); }
.cp-table tbody .cp-row:nth-child(even) { background: rgba(255,255,255,0.035); }
.cp-table tr:hover td { background: rgba(255,255,255,0.06); }
.cp-empty   { text-align: center; color: #555; padding: 30px !important; }
.cp-date    { white-space: nowrap; color: #888; }
.cp-content { color: #888; font-size: 12px; max-width: 220px; }
.cp-saldo   { font-weight: 700; white-space: nowrap; }
.cp-user    { color: #666; font-size: 12px; }
.cp-member  { font-size: 12px; }
.cp-actions { white-space: nowrap; }
.cp-user-link { color: #2ecc71; text-decoration: none; font-size: 12px; font-weight: bold; }
.cp-user-link:hover { text-decoration: underline; }

/* ===============================
   BUTTONS
================================ */
.cp-btn-icon {
    width: 26px; height: 26px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: #EEE;
    font-size: 12px;
    cursor: pointer;
    transition: 0.12s;
}
.cp-btn-icon:hover          { background: rgba(255,255,255,0.12); color: #fff; }
.cp-btn-icon--warn:hover    { background: rgba(192,57,43,0.4); color: #fff; }

/* ===============================
   SECTION TITLE
================================ */
.cp-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* ===============================
   CRONJOBS
================================ */
.cp-cronjob-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.cp-cronjob-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    flex-wrap: wrap;
}
.cp-cronjob-item--inactive { opacity: 0.45; }
.cp-cronjob-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}
.cp-cronjob-type  { font-size: 14px; font-weight: 700; }
.cp-cronjob-name  { font-weight: 600; font-size: 13px; }
.cp-cronjob-value { font-weight: 700; font-size: 14px; }
.cp-cronjob-meta  { font-size: 14px; color: #eee; }
.cp-cronjob-actions { display: flex; gap: 4px; }


.btn-admin-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;

    border-radius: 4px;

    cursor: pointer;
    user-select: none;

    text-decoration: none;

    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #eaeaea;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: all 0.15s ease;
}

.btn-admin-sm:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.btn-admin-sm:active {
    transform: translateY(0px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ============================================================
   ERGÄNZUNGEN — echte Lücken
   ============================================================ */
.cp-accordion { margin-bottom: 10px; }
.cp-accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.cp-accordion-year { font-weight: 700; font-size: 14px; }
.cp-accordion-summary {
    margin-left: auto;
    margin-right: 24px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cp-row { transition: background 0.15s; }
.cp-deposit, .cp-payout { text-align: right; white-space: nowrap; }

/* ============================================================
   SWEETALERT-MODALS (Buchung / Dauerauftrag)
   Label immer über dem Feld, Dropdowns nutzen Basis-Design
   ============================================================ */
.swal2-html-container label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-secondary);
}
.swal2-html-container select,
.swal2-html-container input:not([type="checkbox"]):not([type="radio"]) {
    width: 100% !important;
    height: 40px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    line-height: 38px !important;
    font-size: var(--fs-body) !important;
    box-sizing: border-box !important;
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 6px !important;
    color: var(--text-primary) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.swal2-html-container select { padding-right: 28px !important; }

.cp-textarea {
    width: 100%;
    min-height: 100px;
    padding: 9px 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: var(--fs-body);
    box-sizing: border-box;
    resize: vertical;
}
.cp-textarea:focus { outline: none; border-color: var(--accent); }

.cp-date-btn { cursor: pointer; }
.cp-date-btn::-webkit-calendar-picker-indicator { cursor: pointer; }