/**
 * PG Pro Account - Frontend Styles
 */

/* ========================================
   SHARED
   ======================================== */
/*.pg-registration-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0 40px;
}*/

.pg-hidden {
    display: none !important;
}

.pg-required {
    color: #e23333;
}

.pg-optional {
    color: #aaa;
    font-size: 0.8em;
    font-weight: 400;
}

.pg-help-text {
    color: #888;
    font-size: 0.82rem;
    margin-top: 4px;
    display: block;
}

.pg-alert-errors {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: 10px;
    margin-bottom: 24px;
}

.pg-alert-errors i {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pg-alert-errors ul {
    margin: 0;
    padding-left: 16px;
}

.pg-btn-gold {
    background: linear-gradient(135deg, #C5A055, #A47006);
    color: #fff;
    border: none;
}

.pg-btn-gold:hover {
    background: linear-gradient(135deg, #d4b06a, #C5A055);
    color: #fff;
}

/* ========================================
   STEP 1 — CHOICE CARDS
   ======================================== */
.pg-choice-header {
    text-align: center;
    margin-bottom: 40px;
}

.pg-choice-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.pg-choice-subtitle {
    color: #888;
    font-size: 1rem;
}

.pg-choice-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.pg-choice-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    padding: 36px 28px 28px;
    flex: 1;
    max-width: 400px;
    min-width: 280px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    cursor: pointer;
}

.pg-choice-card:hover {
    border-color: #222;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.pg-choice-card-pro {
    border-color: #C5A055;
    background: linear-gradient(160deg, #fff 60%, #fdf8ef 100%);
}

.pg-choice-card-pro:hover {
    border-color: #A47006;
}

.pg-card-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #C5A055, #A47006);
    color: #fff;
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.pg-card-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.pg-card-icon i {
    font-size: 34px;
    color: #666;
}

.pg-card-icon-pro {
    background: linear-gradient(135deg, #C5A055, #8a5e00);
}

.pg-card-icon-pro i {
    color: #fff;
}

.pg-choice-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.pg-choice-card>p {
    color: #888;
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.pg-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pg-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    color: #555;
    font-size: 0.88rem;
}

.pg-card-features li i {
    font-size: 17px;
    color: #27ae60;
    flex-shrink: 0;
}

.pg-choice-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
}

.pg-choice-btn i {
    font-size: 20px;
}

/* ========================================
   STEP 2 — FORM HEADER
   ======================================== */
.pg-form-header {
    margin-bottom: 28px;
}

.pg-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #888;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0.88rem;
    margin-bottom: 18px;
    transition: color 0.2s;
}

.pg-back-btn:hover {
    color: #222;
}

.pg-back-btn i {
    font-size: 18px;
}

.pg-form-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pg-form-title-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pg-form-title-icon i {
    font-size: 28px;
    color: #555;
}

.pg-form-title-icon-pro {
    background: linear-gradient(135deg, #C5A055, #A47006);
}

.pg-form-title-icon-pro i {
    color: #fff;
}

.pg-form-title h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 2px;
    color: #222;
}

.pg-form-title p {
    color: #888;
    font-size: 0.88rem;
    margin: 0;
}

/* ========================================
   FORM SECTIONS
   ======================================== */
.pg-form-section {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pg-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: #fafafa;
    border-bottom: 1px solid #ececec;
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
}

.pg-section-header i {
    font-size: 20px;
    color: #A47006;
}

.pg-section-header-pro {
    background: linear-gradient(90deg, #fdf8ef, #fafafa);
    border-bottom-color: #e8d5b0;
}

.pg-pro-section {
    border-color: #e8d5b0;
}

.pg-pro-section .pg-section-header {
    color: #7a4f00;
}

.pg-section-body {
    padding: 22px 22px 6px;
}

/* ========================================
   INPUTS
   ======================================== */
.pg-registration-form .form-group {
    margin-bottom: 20px;
}

.pg-registration-form label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #444;
    margin-bottom: 7px;
}

.pg-input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pg-input-icon-wrap>.material-icons {
    position: absolute;
    left: 12px;
    font-size: 18px;
    color: #bbb;
    pointer-events: none;
    z-index: 1;
}

.pg-input-icon {
    padding-left: 40px !important;
}

.pg-registration-form .form-control {
    border-radius: 10px;
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.93rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.pg-registration-form .form-control:focus {
    border-color: #C5A055;
    box-shadow: 0 0 0 3px rgba(197, 160, 85, 0.15);
    outline: none;
}

/* ── Gender picker ── */
.pg-gender-group {
    display: flex;
    gap: 12px;
}

.pg-gender-option {
    display: flex;
    cursor: pointer;
}

.pg-gender-option input[type="radio"] {
    display: none;
}

.pg-gender-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
    user-select: none;
}

.pg-gender-label i {
    font-size: 18px;
}

.pg-gender-option input:checked+.pg-gender-label {
    border-color: #C5A055;
    background: #fdf8ef;
    color: #7a4f00;
}

.pg-gender-label:hover {
    border-color: #C5A055;
}

/* ── Password field ── */
.pg-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pg-pw-prefix {
    position: absolute;
    left: 12px;
    font-size: 18px;
    color: #bbb;
    pointer-events: none;
    z-index: 1;
}

.pg-password-wrap .form-control {
    padding-left: 40px;
    padding-right: 44px;
}

.pg-pw-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #bbb;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.pg-pw-toggle:hover {
    color: #555;
}

.pg-pw-toggle i {
    font-size: 20px;
}

/* ── Strength bar ── */
.pg-strength-bar-wrap {
    height: 4px;
    background: #eee;
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.pg-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 4px;
    transition: width 0.3s, background 0.3s;
}

.pg-strength-label,
.pg-match-label {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 4px;
    display: block;
    min-height: 16px;
}

/* ── Toggle switch ── */
.pg-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.pg-toggle-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pg-toggle-info>.material-icons {
    font-size: 22px;
    color: #A47006;
    margin-top: 2px;
    flex-shrink: 0;
}

.pg-toggle-info strong {
    display: block;
    font-size: 0.92rem;
    color: #333;
}

.pg-toggle-info p {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: #888;
}

.pg-toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.pg-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pg-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ddd;
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.25s;
}

.pg-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.pg-toggle-switch input:checked+.pg-toggle-slider {
    background: #C5A055;
}

.pg-toggle-switch input:checked+.pg-toggle-slider::before {
    transform: translateX(22px);
}

/* ── Custom checkbox ── */
.pg-checkbox-row {
    padding: 4px 0 8px;
}

.pg-checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
}

.pg-checkbox-label input[type="checkbox"] {
    display: none;
}

.pg-checkbox-custom {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #ddd;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.2s;
    position: relative;
    background: #fff;
    display: inline-block;
}

.pg-checkbox-label input:checked+.pg-checkbox-custom {
    background: #C5A055;
    border-color: #C5A055;
}

.pg-checkbox-label input:checked+.pg-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.pg-checkbox-text {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
}

.pg-checkbox-text a {
    color: #A47006;
    font-weight: 600;
}

/* ── Footer ── */
.pg-form-footer {
    margin-top: 24px;
    text-align: center;
}

.pg-required-note {
    color: #aaa;
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.pg-submit-btn {
    background: linear-gradient(135deg, #222, #444);
    color: #fff;
    padding: 14px 48px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    letter-spacing: 0.3px;
}

.pg-submit-btn:hover {
    background: linear-gradient(135deg, #C5A055, #A47006);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(197, 160, 85, 0.35);
    color: #fff;
}

.pg-submit-btn i {
    font-size: 22px;
}

.pg-login-link {
    text-align: center;
    margin-top: 28px;
    color: #888;
    font-size: 0.9rem;
}

.pg-login-link a {
    color: #A47006;
    font-weight: 700;
}

/* ========================================
   OUTSTANDING ACCOUNT PAGE
   ======================================== */
.pg-page-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pg-page-title i { color: #A47006; font-size: 30px; }

/* Company banner */
.pg-company-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pg-company-banner-left { display: flex; align-items: center; gap: 14px; }
.pg-company-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #C5A055, #A47006);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pg-company-icon i { color: #fff; font-size: 24px; }
.pg-company-banner h3 { font-size: 1.2rem; font-weight: 700; color: #222; margin: 0 0 2px; }
.pg-company-banner p  { color: #888; font-size: 0.85rem; margin: 0; }

.pg-status-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}
.pg-status-active    { background: #e8f5e9; color: #2e7d32; }
.pg-status-pending   { background: #fff8e1; color: #8a6200; }
.pg-status-inactive,
.pg-status-suspended { background: #fce4ec; color: #c62828; }

/* Stats grid */
.pg-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.pg-stat-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pg-stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.pg-stat-card.pg-stat-alert { border-color: #e23333; }
.pg-stat-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pg-stat-icon i      { font-size: 22px; color: #fff; }
.pg-stat-content     { flex: 1; min-width: 0; }
.pg-stat-label       { font-size: 0.72rem; color: #aaa; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 3px; }
.pg-stat-value       { font-size: 1.3rem; font-weight: 700; color: #222; line-height: 1.2; }
.pg-stat-meta        { font-size: 0.78rem; color: #999; margin-top: 2px; }

/* Progress bar */
.pg-progress-container {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pg-progress-header  { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; color: #555; }
.pg-progress-percent { font-size: 1rem; font-weight: 700; color: #222; }
.pg-progress-bar     { height: 10px; background: #f0f0f0; border-radius: 6px; overflow: hidden; }
.pg-progress-fill    { height: 100%; border-radius: 6px; transition: width 1s ease; }

/* Notice strip */
.pg-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.pg-notice i { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.pg-notice-info { background: #fffbf0; border: 1px solid #e8d5b0; color: #6b4c00; }
.pg-notice-info i { color: #C5A055; }

/* Toolbar */
.pg-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.pg-btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border: 2px solid #C5A055;
    border-radius: 10px;
    color: #7a4f00;
    font-weight: 700;
    font-size: 0.88rem;
    background: #fff;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.pg-btn-gold-outline i { font-size: 18px; }
.pg-btn-gold-outline:hover {
    background: linear-gradient(135deg, #C5A055, #A47006);
    color: #fff;
    border-color: transparent;
    text-decoration: none;
}

/* Tab group */
.pg-tab-group {
    display: flex;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}
.pg-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    background: #fafafa;
    text-decoration: none;
    border-right: 1.5px solid #e0e0e0;
    transition: all 0.2s;
    white-space: nowrap;
}
.pg-tab:last-child { border-right: none; }
.pg-tab i { font-size: 16px; }
.pg-tab:hover { background: #f5f0e8; color: #7a4f00; text-decoration: none; }
.pg-tab-active { background: #222; color: #fff; }
.pg-tab-active:hover { background: #333; color: #fff; }

/* Orders table */
.pg-orders-table-container {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 20px;
}
.pg-orders-table           { margin: 0; }
.pg-orders-table thead th  { background: #fafafa; border-bottom: 2px solid #ececec; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: #888; padding: 13px 16px; font-weight: 700; }
.pg-orders-table tbody td  { vertical-align: middle; padding: 13px 16px; font-size: 0.9rem; }
.pg-order-row:hover        { background: #fffbf0; }
.pg-row-overdue            { background: #fff5f5 !important; }
.pg-row-overdue:hover      { background: #ffe8e8 !important; }

.pg-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.pg-badge i { font-size: 13px; }
.pg-badge-success  { background: #e8f5e9; color: #2e7d32; }
.pg-badge-warning  { background: #fff8e1; color: #8a6200; }
.pg-badge-danger   { background: #fce4ec; color: #c62828; }
.pg-badge-info     { background: #e3f2fd; color: #1565c0; }
.pg-badge-default  { background: #f5f5f5; color: #666; }
.pg-badge-pending  { background: #fff8e1; color: #8a6200; }
.pg-badge-partial  { background: #fff3e0; color: #e65100; }
.pg-badge-paid     { background: #e8f5e9; color: #2e7d32; }
.pg-badge-overdue  { background: #fce4ec; color: #c62828; }

.pg-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}
.pg-btn-icon:hover { background: #222; color: #fff; text-decoration: none; }
.pg-btn-icon i { font-size: 18px; }

/* Info box */
.pg-info-box {
    background: #fffbf0;
    border: 1px solid #e8d5b0;
    border-radius: 14px;
    padding: 20px 24px;
    margin-top: 20px;
}
.pg-info-box h4 { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: #7a4f00; margin-bottom: 12px; }
.pg-info-box h4 i { font-size: 20px; color: #C5A055; }
.pg-info-box ul  { list-style: none; padding: 0; margin: 0; }
.pg-info-box ul li { padding: 5px 0 5px 18px; color: #555; font-size: 0.88rem; position: relative; }
.pg-info-box ul li:before { content: "•"; color: #C5A055; font-weight: bold; position: absolute; left: 0; }

/* ========================================
   REQUEST PAGE
   ======================================== */
.pg-request-page { max-width: 640px; }

.pg-request-limit-card {
    background: linear-gradient(135deg, #222 0%, #3a3a3a 100%);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 20px;
    color: #fff;
}
.pg-request-limit-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #C5A055;
    margin-bottom: 8px;
}
.pg-request-limit-label i { font-size: 18px; }
.pg-request-limit-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/*.pg-request-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}*/
.pg-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s;
    margin-inline: 20px;
}
.pg-btn-back i { font-size: 18px; }
.pg-btn-back:hover { color: #222; text-decoration: none; }

/* ========================================
   PAYMENT INFO (Checkout)
   ======================================== */
.pg-outstanding-payment-info { padding: 15px; }
.pg-info-item  { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.pg-info-label { display: flex; align-items: center; gap: 6px; color: #666; }
.pg-info-label i { font-size: 20px; color: #A47006; }
.pg-info-value { font-size: 1.1rem; font-weight: 600; }
.pg-payment-progress { padding: 10px 0; }
.pg-payment-terms { border-radius: 8px; }
.pg-terms-header { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.pg-terms-list { list-style: none; padding: 0; margin: 0; }
.pg-terms-list li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 0.9rem; }
.pg-terms-list li i { font-size: 18px; color: #A47006; }

/* ========================================
   PAYMENT CONFIRMATION
   ======================================== */
.pg-payment-confirmation .alert-success { border-radius: 12px; padding: 25px; }
.pg-payment-confirmation h4 { display: flex; align-items: center; gap: 8px; }
.pg-payment-confirmation h4 i { font-size: 28px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .pg-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pg-choice-cards    { flex-direction: column; }
    .pg-choice-card     { max-width: 100%; }
    .pg-toggle-row      { flex-wrap: wrap; gap: 10px; }
    .pg-submit-btn      { width: 100%; justify-content: center; padding: 14px 24px; }
    .pg-stats-grid      { grid-template-columns: repeat(2, 1fr); }
    .pg-toolbar         { flex-direction: column; align-items: flex-start; }
    .pg-tab-group       { width: 100%; }
    .pg-tab             { flex: 1; justify-content: center; }
    .pg-request-actions { flex-direction: column; }
    .pg-btn-back        { order: 2; }
    .pg-submit-btn      { order: 1; width: 100%; justify-content: center; }
    .pg-company-banner  { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .pg-stats-grid { grid-template-columns: 1fr 1fr; }
    .pg-stat-value { font-size: 1.1rem; }
}