.trp-inf-card {
    max-width: 560px;
    margin: 0 auto 32px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    color: #111;
}

.trp-inf-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #111;
}

.trp-inf-card p {
    color: #333;
}

.trp-inf-errors {
    max-width: 560px;
    margin: 0 auto 16px;
    background: #fef0f0;
    border: 1px solid #f5aca6;
    border-radius: 6px;
    padding: 14px 18px;
    color: #a33;
}

.trp-inf-errors ul { margin: 0; padding-left: 18px; }
.trp-inf-errors li { margin-bottom: 4px; }

.trp-inf-success {
    background: #f0faf4;
    border-color: #4caf50;
}

.trp-inf-notice {
    padding: 14px 18px;
    background: #f0f0f0;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #111;
}

.trp-inf-notice-warning {
    background: #fff8e1;
    border: 1px solid #f5c842;
    color: #7a5a00;
}

/* Form */
.trp-inf-form { margin-top: 24px; }

.trp-field {
    margin-bottom: 18px;
}

.trp-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #111;
}

.trp-field .required { color: #c00; }

.trp-field input[type="text"],
.trp-field input[type="email"],
.trp-field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.trp-field input:focus {
    outline: none;
    border-color: #111;
}

.trp-field small {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}

.trp-inf-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 8px;
}

.trp-inf-btn:hover { background: #333; }

/* Dashboard */
.trp-inf-dashboard { max-width: 760px; margin: 0 auto; color: #111; }
.trp-inf-dashboard h2 { margin-top: 0; font-size: 1.7rem; color: #111; }
.trp-inf-dashboard h3 { color: #111; }

.trp-inf-code-box {
    background: #111;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin: 24px 0;
    color: #fff;
}

.trp-inf-code-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin: 0 0 12px;
}

.trp-inf-code-display {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 16px;
    font-family: monospace;
}

.trp-inf-copy-btn {
    background: #fff;
    color: #111;
    border: none;
    padding: 9px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.trp-inf-copy-btn:hover { background: #eee; }
.trp-inf-code-note { margin: 14px 0 0; font-size: 13px; color: #aaa; }

.trp-inf-stats {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.trp-inf-stat {
    flex: 1;
    min-width: 140px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 18px 20px;
    text-align: center;
}

.trp-inf-stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #111 !important;
    margin-bottom: 4px;
}

.trp-inf-stat-label {
    font-size: 12px;
    color: #888 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trp-inf-stat-highlight { border-color: #1a7a3f; }
.trp-inf-stat-highlight .trp-inf-stat-value { color: #1a7a3f; }

.trp-inf-orders { margin-top: 32px; }
.trp-inf-orders h3 { font-size: 1.1rem; margin-bottom: 12px; }

.trp-inf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.trp-inf-table th,
.trp-inf-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.trp-inf-table th {
    background: #f8f8f8;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555 !important;
}

.trp-inf-table td {
    color: #111;
}

.trp-inf-commission { color: #1a7a3f; font-weight: 700; }

.trp-inf-payout-note {
    margin-top: 14px;
    font-size: 13px;
    color: #888 !important;
}

.trp-inf-empty {
    padding: 32px;
    text-align: center;
    color: #888;
    background: #f8f8f8;
    border-radius: 8px;
    margin-top: 24px;
}

.trp-inf-login-link {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
    color: #888;
}
.trp-inf-login-link a { color: #c9a227; text-decoration: none; }
.trp-inf-login-link a:hover { text-decoration: underline; }

.trp-inf-account {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #888;
}

/* ── OWNER DASHBOARD ────────────────────────────────────────────────────── */

.trp-owner-dashboard { max-width: 900px; margin: 0 auto; color: #f0f0f0; }
.trp-owner-dashboard h2 { color: #fff; font-size: 1.7rem; margin-bottom: 32px; }

.trp-owner-section { margin-bottom: 48px; }
.trp-owner-section h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trp-owner-count {
    background: #c9a227;
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
}
.trp-owner-count-muted { background: #333; color: #888; }

/* Pending cards */
.trp-owner-cards { display: flex; flex-direction: column; gap: 12px; }

.trp-owner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 18px 20px;
    gap: 16px;
}
.trp-owner-card-pending { border-left: 3px solid #c9a227; }

.trp-owner-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.trp-owner-card-info strong { color: #fff; font-size: 15px; }
.trp-owner-card-info span { color: #888; font-size: 13px; }
.trp-owner-muted { color: #555; font-size: 12px; }

/* Table */
.trp-owner-table-wrap { overflow-x: auto; }

.trp-owner-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: auto;
    border: 1px solid #2a2a2a;
}
.trp-owner-table th {
    background: #111;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #2a2a2a;
    white-space: nowrap;
}
.trp-owner-table td {
    padding: 12px 14px;
    border: 1px solid #2a2a2a;
    color: #ccc;
    vertical-align: middle;
    white-space: nowrap;
}
.trp-owner-table td:first-child { min-width: 140px; max-width: 200px; overflow: hidden; }
.trp-owner-table td:first-child strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.trp-owner-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; display: block; }
.trp-owner-table tfoot td {
    padding: 12px 14px;
    background: #0e0e0e;
    font-weight: 700;
}
.trp-owner-row-inactive td { opacity: 0.5; }
.trp-owner-table td strong { color: #fff; display: block; }
.trp-owner-sub { color: #666; font-size: 12px; margin-top: 2px; }

.trp-owner-code {
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 13px;
    font-family: monospace;
    color: #c9a227;
    letter-spacing: 1px;
}
.trp-owner-code-inactive { color: #555; }

.trp-owner-commission { color: #c9a227 !important; font-weight: 700; }
.trp-owner-total-label { color: #888; text-align: right; }

/* Buttons */
.trp-owner-form { display: inline; }
.trp-owner-btn {
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.trp-owner-btn:hover { opacity: 0.85; }
.trp-owner-btn-approve { background: #c9a227; color: #0a0a0a; }
.trp-owner-btn-deactivate { background: #2a1010; color: #f08080; border: 1px solid #7a2020; }
.trp-owner-btn-reactivate { background: #1a1a1a; color: #aaa; border: 1px solid #333; }

/* Notices */
.trp-owner-notice-success { background: #0d1f13; border: 1px solid #1a7a3f; color: #7dcea0; border-radius: 8px; padding: 14px 18px; margin-bottom: 24px; }
.trp-owner-notice-error   { background: #2a1010; border: 1px solid #7a2020; color: #f08080; border-radius: 8px; padding: 14px 18px; margin-bottom: 24px; }

.trp-owner-account {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 13px;
}
.trp-owner-account a { color: #666; text-decoration: none; }
.trp-owner-account a:hover { color: #aaa; }

/* Balance columns */
.trp-owner-balance-due  { color: #c9a227 !important; font-weight: 700; }
.trp-owner-balance-zero { color: #4caf50 !important; font-weight: 700; }

/* Log Payment inline form */
.trp-owner-pay-form { display: inline; }
.trp-owner-pay-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.trp-owner-pay-input {
    width: 80px;
    padding: 5px 8px;
    background: #111;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-size: 13px;
    -moz-appearance: textfield;
}
.trp-owner-pay-input::-webkit-inner-spin-button,
.trp-owner-pay-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.trp-owner-pay-input:focus { outline: none; border-color: #c9a227; }
.trp-owner-btn-pay {
    background: #1a2f1a;
    color: #4caf50;
    border: 1px solid #2a5a2a;
    padding: 5px 10px;
    font-size: 12px;
    white-space: nowrap;
}
