.pmnypt-fullscreen {
    background: #f4f5f7;
    margin: 0;
    padding: 0;
}
.pmnypt-fullscreen .pmnypt-login-wrap {
    min-height: 100vh;
}

.pmnypt-login-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    font-family: 'Barlow', sans-serif;
}
.pmnypt-login-form {
    background: #0f1f3d;
    padding: 48px 40px;
    border-radius: 6px;
    text-align: center;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.pmnypt-login-form h2 {
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.pmnypt-login-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}
.pmnypt-login-form button {
    width: 100%;
    padding: 12px;
    background: #c8a84b;
    color: #0f1f3d;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
}
.pmnypt-login-form button:hover { background: #d9bb63; }
.pmnypt-error { color: #ff8b8b; font-size: 14px; margin-bottom: 16px; }

.pmnypt-dashboard, .pmnypt-detail {
    font-family: 'Barlow', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}
.pmnypt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #0f1f3d;
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.pmnypt-header h2 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0f1f3d;
    margin: 0;
}
.pmnypt-logout { color: #c81f1f; text-decoration: none; font-weight: 600; font-size: 14px; }

.pmnypt-account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.pmnypt-card-link { text-decoration: none; color: inherit; display: block; }
.pmnypt-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.15s;
}
.pmnypt-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #c8a84b;
}
.pmnypt-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    color: #0f1f3d;
    margin: 0 0 12px 0;
    font-size: 18px;
}
.pmnypt-view-more {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #c8a84b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}
.pmnypt-bar { width: 100%; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.pmnypt-bar-fill { height: 100%; background: #c8a84b; }
.pmnypt-bar-fill.over { background: #c81f1f; }
.pmnypt-card-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.pmnypt-card-table td { padding: 4px 0; }
.pmnypt-card-table td:last-child { text-align: right; font-weight: 600; }
.pmnypt-negative td { color: #c81f1f; }
.pmnypt-note { margin-top: 24px; color: #888; font-size: 13px; font-style: italic; }

/* ---- Account detail ---- */
.pmnypt-back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: #0f1f3d;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.pmnypt-back-link:before { content: "← "; }
.pmnypt-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 3px solid #0f1f3d;
    padding-bottom: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.pmnypt-detail-header h2 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0f1f3d;
    margin: 0;
    font-size: 28px;
}
.pmnypt-detail-summary { display: flex; gap: 28px; font-size: 14px; }
.pmnypt-detail-summary div strong {
    display: block;
    font-size: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    color: #0f1f3d;
}
.pmnypt-detail-summary div.negative strong { color: #c81f1f; }
.pmnypt-detail-summary div span {
    text-transform: uppercase;
    font-size: 11px;
    color: #999;
    letter-spacing: 0.5px;
}

.pmnypt-export-btn {
    display: inline-block;
    background: #0f1f3d;
    color: #fff !important;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pmnypt-export-btn:hover { background: #16305c; }

table.pmnypt-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}
table.pmnypt-history-table th {
    text-align: left;
    background: #0f1f3d;
    color: #fff;
    padding: 10px 12px;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
}
table.pmnypt-history-table th:hover { background: #16305c; }
table.pmnypt-history-table th .sort-arrow { display: inline-block; margin-left: 4px; opacity: 0.4; font-size: 10px; }
table.pmnypt-history-table th.sorted-asc .sort-arrow,
table.pmnypt-history-table th.sorted-desc .sort-arrow { opacity: 1; color: #c8a84b; }
table.pmnypt-history-table td { padding: 10px 12px; border-bottom: 1px solid #eee; }
table.pmnypt-history-table tr:last-child td { border-bottom: none; }
table.pmnypt-history-table td.amount { text-align: right; font-weight: 600; }
table.pmnypt-history-table tfoot td {
    font-weight: 700;
    border-top: 2px solid #0f1f3d;
    background: #f9f9f9;
}
.pmnypt-invoice-link { color: #c8a84b; text-decoration: none; font-weight: 600; font-size: 13px; }

/* ---- Toolbar (Upload / Review links) ---- */
.pmnypt-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.pmnypt-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #0f1f3d;
    color: #0f1f3d;
    text-decoration: none;
    padding: 9px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pmnypt-toolbar-btn:hover { background: #0f1f3d; color: #fff; }
.pmnypt-pending-badge {
    background: #c81f1f;
    color: #fff;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 11px;
    margin-left: 2px;
}

/* ---- Upload form ---- */
.pmnypt-upload-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.pmnypt-upload-form input[type="file"] { flex: 1; min-width: 220px; }

/* ---- Notice boxes ---- */
.pmnypt-error-box, .pmnypt-success-box {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 18px;
}
.pmnypt-error-box { background: #fdecea; color: #c81f1f; border: 1px solid #f5c6c2; }
.pmnypt-success-box { background: #eaf7ec; color: #1e6b2e; border: 1px solid #c2e8c9; }

/* ---- Review screen ---- */
.pmnypt-review-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}
.pmnypt-review-box h3 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    color: #0f1f3d;
    margin-top: 0;
    font-size: 18px;
}
table.pmnypt-review-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table.pmnypt-review-table th {
    text-align: left;
    background: #0f1f3d;
    color: #fff;
    padding: 8px 10px;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}
table.pmnypt-review-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}
table.pmnypt-review-table select,
table.pmnypt-review-table input[type="text"],
table.pmnypt-review-table input[type="number"] {
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
}
table.pmnypt-review-table select { min-width: 200px; }
.pmnypt-new-account-fields {
    margin-top: 6px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.pmnypt-new-account-fields input[type="text"] { flex: 1; min-width: 140px; }
.pmnypt-new-account-fields input[type="number"] { width: 110px; }
.pmnypt-review-actions { margin-top: 16px; }
.pmnypt-discard-link {
    color: #c81f1f;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-left: 16px;
}
