/*
 * PLAYMEU OWNER — PAYMENTS & SETTLEMENTS R1
 * Canonical module stylesheet.
 *
 * Visual master:
 * playmeu_atvenue_owner_dashboard_high_fidelity_prototype_v6_split_hours(9).html
 *
 * Scope:
 * Payments & Settlements page content only.
 * No shell, sidebar, topbar or Payment Methods ownership.
 */

.pm-ps-page{
    --pm-ps-navy:#0b1c31;
    --pm-ps-navy-2:#102844;
    --pm-ps-lime:#b8f23c;
    --pm-ps-card:#ffffff;
    --pm-ps-text:#14233a;
    --pm-ps-muted:#718096;
    --pm-ps-line:#e6ebf2;
    --pm-ps-green:#169957;
    --pm-ps-green-bg:#e8f8ef;
    --pm-ps-blue:#3478f6;
    --pm-ps-blue-bg:#eaf2ff;
    --pm-ps-amber:#d28a00;
    --pm-ps-amber-bg:#fff5d8;
    --pm-ps-red:#d5465f;
    --pm-ps-red-bg:#ffebee;
    width:100%;
    color:var(--pm-ps-text);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.pm-ps-page *,
.pm-ps-page *::before,
.pm-ps-page *::after{
    box-sizing:border-box;
}

.pm-ps-page button,
.pm-ps-page input,
.pm-ps-page select{
    font:inherit;
}

.pm-ps-page-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:11px;
}

.pm-ps-page-heading h1{
    margin:0;
    color:var(--pm-ps-text);
    font-size:25px;
    font-weight:850;
    line-height:1.1;
    letter-spacing:-.03em;
}

.pm-ps-page-heading p{
    max-width:730px;
    margin:4px 0 0;
    color:var(--pm-ps-muted);
    font-size:12px;
}

.pm-ps-page-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:6px;
}

.pm-ps-btn{
    display:inline-flex;
    min-height:34px;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:6px 10px;
    border:1px solid var(--pm-ps-line);
    border-radius:8px;
    background:#fff;
    color:var(--pm-ps-text);
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.pm-ps-btn:hover:not(:disabled){
    background:#f8fafc;
}

.pm-ps-btn:focus-visible,
.pm-ps-tab:focus-visible,
.pm-ps-alert-retry:focus-visible,
.pm-ps-searchbox:focus-within,
.pm-ps-select:focus-visible,
.pm-ps-input:focus-visible{
    outline:2px solid rgba(52,120,246,.28);
    outline-offset:2px;
}

.pm-ps-btn:disabled{
    cursor:default;
    opacity:.58;
}

.pm-ps-alert{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:9px;
    padding:9px 11px;
    border:1px solid #f0ccd3;
    border-radius:9px;
    background:#fff7f8;
    color:#9d2d40;
    font-size:11px;
}

.pm-ps-alert-retry{
    flex:0 0 auto;
    border:0;
    background:transparent;
    color:#9d2d40;
    font-size:11px;
    font-weight:850;
    cursor:pointer;
}

.pm-ps-stats-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-bottom:11px;
}

.pm-ps-card{
    border:1px solid var(--pm-ps-line);
    border-radius:12px;
    background:var(--pm-ps-card);
    box-shadow:0 4px 15px rgba(30,50,80,.035);
}

.pm-ps-stat-card{
    min-width:0;
    padding:13px;
}

.pm-ps-stat-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}

.pm-ps-stat-label{
    overflow:hidden;
    color:#66758a;
    font-size:11px;
    font-weight:700;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.pm-ps-stat-icon{
    display:grid;
    width:32px;
    height:32px;
    flex:0 0 32px;
    place-items:center;
    border-radius:9px;
    background:#eff4fb;
    color:#25466c;
    font-size:16px;
}

.pm-ps-stat-value{
    margin-top:4px;
    color:var(--pm-ps-text);
    font-size:25px;
    font-weight:850;
    letter-spacing:-.03em;
}

.pm-ps-stat-sub{
    margin-top:2px;
    overflow:hidden;
    color:var(--pm-ps-muted);
    font-size:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.pm-ps-toolbar{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    margin-bottom:9px;
    padding:8px 10px;
    border:1px solid var(--pm-ps-line);
    border-radius:10px;
    background:#fbfcfe;
}

.pm-ps-tabs{
    display:flex;
    width:max-content;
    gap:3px;
    padding:3px;
    border-radius:8px;
    background:#f2f5f9;
}

.pm-ps-tab{
    border:0;
    border-radius:6px;
    background:transparent;
    padding:6px 9px;
    color:#6c7b90;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}

.pm-ps-page .pm-ps-tabs .pm-ps-tab.active{
    background:#fff;
    color:var(--pm-ps-text);
    box-shadow:0 1px 4px rgba(20,35,58,.08);
}

.pm-ps-searchbox{
    display:flex;
    min-width:230px;
    height:35px;
    flex:1;
    align-items:center;
    gap:8px;
    padding:0 9px;
    border:1px solid #dfe6ef;
    border-radius:9px;
    background:#fff;
    color:#6f7c8f;
}

.pm-ps-searchbox input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--pm-ps-text);
    font-size:12px;
}

.pm-ps-searchbox input::placeholder{
    color:#8c99aa;
}

.pm-ps-select,
.pm-ps-input{
    height:35px;
    border:1px solid #dfe6ef;
    border-radius:9px;
    outline:0;
    background:#fff;
    color:var(--pm-ps-text);
    padding:0 9px;
    font-size:12px;
}

.pm-ps-select{
    max-width:210px;
}

.pm-ps-input{
    min-width:150px;
}

.pm-ps-table-wrap{
    overflow:auto;
    border:1px solid var(--pm-ps-line);
    border-radius:10px;
    background:#fff;
    scrollbar-gutter:stable;
}

.pm-ps-table{
    width:100%;
    min-width:800px;
    border-collapse:collapse;
    color:var(--pm-ps-text);
    font-size:11px;
}

.pm-ps-table thead th{
    padding:8px 9px;
    border-bottom:1px solid var(--pm-ps-line);
    background:#f8fafc;
    color:#68778c;
    font-size:9px;
    font-weight:700;
    letter-spacing:.06em;
    text-align:left;
    text-transform:uppercase;
    white-space:nowrap;
}

.pm-ps-table tbody td{
    padding:8px 9px;
    border-bottom:1px solid #edf1f5;
    vertical-align:middle;
}

.pm-ps-table tbody tr:hover{
    background:#fbfcfe;
}

.pm-ps-table tbody tr:last-child td{
    border-bottom:0;
}

.pm-ps-table b{
    font-weight:800;
}

.pm-ps-booking-ref{
    font-weight:400;
}

.pm-ps-transaction-id{
    display:inline-block;
    max-width:230px;
    overflow:hidden;
    text-overflow:ellipsis;
    vertical-align:middle;
    white-space:nowrap;
}

.pm-ps-cell-sub{
    display:inline;
    margin-left:4px;
    color:var(--pm-ps-muted);
    font-size:9px;
    white-space:nowrap;
}

.pm-ps-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:3px 7px;
    font-size:9px;
    font-weight:850;
    white-space:nowrap;
}

.pm-ps-status.green{
    background:var(--pm-ps-green-bg);
    color:var(--pm-ps-green);
}

.pm-ps-status.blue{
    background:var(--pm-ps-blue-bg);
    color:var(--pm-ps-blue);
}

.pm-ps-status.amber{
    background:var(--pm-ps-amber-bg);
    color:var(--pm-ps-amber);
}

.pm-ps-status.red{
    background:var(--pm-ps-red-bg);
    color:var(--pm-ps-red);
}

.pm-ps-status.gray{
    background:#eef2f6;
    color:#68778b;
}

.pm-ps-activity{
    color:#526179;
    white-space:nowrap;
}

.pm-ps-empty{
    padding:24px 12px;
    color:var(--pm-ps-muted);
    text-align:center;
}

.pm-ps-capability-note{
    margin:8px 2px 0;
    color:#7b8798;
    font-size:9px;
    line-height:1.45;
}

@media(max-width:1100px){
    .pm-ps-stats-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:820px){
    .pm-ps-btn{
        min-height:38px;
        padding:7px 10px;
    }

    .pm-ps-searchbox,
    .pm-ps-select,
    .pm-ps-input{
        height:38px;
    }

    .pm-ps-toolbar{
        padding:7px 8px;
    }

    .pm-ps-stats-grid{
        gap:8px;
    }

    .pm-ps-stat-card{
        padding:12px;
    }
}

@media(max-width:600px){
    .pm-ps-page-header{
        display:block;
        margin-bottom:10px;
    }

    .pm-ps-page-heading h1{
        font-size:22px;
    }

    .pm-ps-page-actions{
        justify-content:flex-start;
        margin-top:9px;
    }

    .pm-ps-stats-grid{
        grid-template-columns:1fr 1fr;
        gap:8px;
    }

    .pm-ps-stat-value{
        font-size:21px;
    }

    .pm-ps-toolbar{
        align-items:stretch;
    }

    .pm-ps-tabs{
        width:100%;
    }

    .pm-ps-tab{
        flex:1;
    }

    .pm-ps-searchbox{
        min-width:100%;
    }

    .pm-ps-select,
    .pm-ps-input{
        min-width:0;
        flex:1 1 145px;
    }
}
