/**
 * Photo Award Plugin - Frontend Styles
 *
 * Consolidated frontend styles including:
 * - Profile pages and dashboard
 * - Entry forms and management
 * - Event listings and registration
 * - Gallery and media display
 * - Authentication forms
 * - Responsive design
 */

:root {
    --pa-font-body: "Jost";
    --pa-font-display: "Italiana";
    --pa-font-heading: var(--pa-font-display);
    --pa-font-accent: "Didact Gothic";
}

/* ===== GETPAID CHECKOUT COMPACT VIEW ===== */
body.wpinv-checkout {
    --pa-checkout-bg: #fbfaf7;
    --pa-checkout-panel: #ffffff;
    --pa-checkout-soft: #f6f2eb;
    --pa-checkout-border: rgba(35, 30, 24, 0.12);
    --pa-checkout-text: #171512;
    --pa-checkout-muted: rgba(31, 29, 26, 0.62);
    --pa-checkout-accent: #c8911f;
    background: var(--pa-checkout-bg);
    color: var(--pa-checkout-text);
}

body.wpinv-checkout .wp-site-blocks,
body.wpinv-checkout main,
body.wpinv-checkout .entry-content {
    background: var(--pa-checkout-bg);
}

body.wpinv-checkout main.wp-block-group,
body.wpinv-checkout #wp--skip-link--target {
    padding-block: clamp(24px, 4vw, 56px) !important;
}

body.wpinv-checkout .wp-block-post-title {
    color: var(--pa-checkout-text);
    font-family: var(--pa-font-display);
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 400;
    line-height: 0.96;
    margin: 0 auto 18px !important;
    max-width: 1080px;
}

body.wpinv-checkout .wp-block-invoicing-wpinv-checkout-widget,
body.wpinv-checkout .getpaid-checkout {
    max-width: 1080px !important;
    width: min(1080px, calc(100vw - 32px)) !important;
}

body.wpinv-checkout .entry-content > .wp-block-invoicing-wpinv-checkout-widget,
body.wpinv-checkout .wp-block-invoicing-wpinv-checkout-widget {
    margin-inline: auto !important;
}

body.wpinv-checkout .getpaid-payment-form {
    background: var(--pa-checkout-panel);
    border: 1px solid var(--pa-checkout-border);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(33, 27, 18, 0.08);
    color: var(--pa-checkout-text);
    font-family: var(--pa-font-body) !important;
    padding: 18px;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid {
    padding: 0 !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row {
    display: grid !important;
    align-items: start !important;
    gap: 14px 22px !important;
    grid-template-areas:
        "email summary"
        "address summary"
        "address method"
        "discount method"
        "discount pay" !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 370px) !important;
    grid-template-rows: auto auto auto auto auto !important;
    margin: 0 !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > .col-12 {
    flex: none !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}

/* Known GetPaid form order: email, address, discount, items, gateway, pay button. */
body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:nth-child(1) {
    grid-area: email !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:nth-child(2) {
    align-self: start !important;
    grid-area: address !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:nth-child(3) {
    align-self: start !important;
    grid-area: discount !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:nth-child(4) {
    align-self: start !important;
    grid-area: summary !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:nth-child(5) {
    align-self: start !important;
    grid-area: method !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:nth-child(6) {
    align-self: start !important;
    grid-area: pay !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:has(> .getpaid-payment-form-element-billing_email) {
    grid-area: email !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:has(> .getpaid-payment-form-element-address) {
    align-self: start !important;
    grid-area: address !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:has(> .getpaid-payment-form-element-discount) {
    align-self: start !important;
    grid-area: discount !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:has(> .getpaid-payment-form-element-items) {
    align-self: start !important;
    grid-area: summary !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:has(> .getpaid-payment-form-element-gateway_select) {
    align-self: start !important;
    grid-area: method !important;
}

body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row > div:has(> .getpaid-payment-form-element-pay_button) {
    align-self: start !important;
    grid-area: pay !important;
}

body.wpinv-checkout .getpaid-payment-form .container-fluid > .row:has(.getpaid-payment-form-element-billing_email) {
    display: grid !important;
    align-items: start !important;
    gap: 14px 22px !important;
    grid-template-areas:
        "email summary"
        "address summary"
        "address method"
        "discount method"
        "discount pay" !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 370px) !important;
    grid-template-rows: auto auto auto auto auto !important;
    margin: 0 !important;
}

body.wpinv-checkout .getpaid-payment-form .container-fluid > .row:has(.getpaid-payment-form-element-billing_email) > div {
    flex: none !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}

body.wpinv-checkout .getpaid-payment-form .container-fluid > .row > div:has(.getpaid-payment-form-element-billing_email) {
    grid-area: email !important;
}

body.wpinv-checkout .getpaid-payment-form .container-fluid > .row > div:has(.getpaid-payment-form-element-address) {
    align-self: start !important;
    grid-area: address !important;
}

body.wpinv-checkout .getpaid-payment-form .container-fluid > .row > div:has(.getpaid-payment-form-element-discount) {
    align-self: start !important;
    grid-area: discount !important;
}

body.wpinv-checkout .getpaid-payment-form .container-fluid > .row > div:has(.getpaid-payment-form-element-items) {
    align-self: start !important;
    grid-area: summary !important;
}

body.wpinv-checkout .getpaid-payment-form .container-fluid > .row > div:has(.getpaid-payment-form-element-gateway_select) {
    align-self: start !important;
    grid-area: method !important;
}

body.wpinv-checkout .getpaid-payment-form .container-fluid > .row > div:has(.getpaid-payment-form-element-pay_button) {
    align-self: start !important;
    grid-area: pay !important;
}

body.wpinv-checkout .getpaid-payment-form-element {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

body.wpinv-checkout .getpaid-payment-form-element-billing_email {
    grid-area: email !important;
    margin-bottom: 0 !important;
}

body.wpinv-checkout .getpaid-payment-form-element-address {
    align-self: start !important;
    grid-area: address !important;
}

body.wpinv-checkout .getpaid-payment-form-element-discount {
    align-self: start !important;
    grid-area: discount !important;
}

body.wpinv-checkout .getpaid-payment-form-element-items {
    align-self: start !important;
    grid-area: summary !important;
}

body.wpinv-checkout .getpaid-payment-form-element-gateway_select {
    align-self: start !important;
    grid-area: method !important;
}

body.wpinv-checkout .getpaid-payment-form-element-pay_button {
    align-self: start !important;
    grid-area: pay !important;
}

body.wpinv-checkout .getpaid-payment-form label,
body.wpinv-checkout .getpaid-payment-form .form-label {
    color: var(--pa-checkout-text) !important;
    font-family: var(--pa-font-accent) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 5px !important;
}

body.wpinv-checkout .getpaid-payment-form .form-control,
body.wpinv-checkout .getpaid-payment-form .form-select {
    background-color: #fff !important;
    border: 1px solid var(--pa-checkout-border) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: var(--pa-checkout-text) !important;
    font-family: var(--pa-font-body) !important;
    font-size: 14px !important;
    min-height: 38px !important;
    padding: 8px 11px !important;
}

body.wpinv-checkout .getpaid-payment-form .form-control:focus,
body.wpinv-checkout .getpaid-payment-form .form-select:focus {
    border-color: color-mix(in srgb, var(--pa-checkout-accent) 55%, var(--pa-checkout-border)) !important;
    box-shadow: 0 0 0 3px rgba(200, 145, 31, 0.14) !important;
}

body.wpinv-checkout .getpaid-billing-address-wrapper .row.billing {
    display: grid !important;
    gap: 10px 12px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 0 !important;
}

body.wpinv-checkout .getpaid-address-field-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

body.wpinv-checkout .getpaid-address-field-wrapper__address,
body.wpinv-checkout .getpaid-address-field-wrapper__vat-number {
    grid-column: 1 / -1 !important;
}

body.wpinv-checkout .getpaid-payment-form-element-billing_email {
    margin-bottom: 10px !important;
}

body.wpinv-checkout .getpaid-payment-form-items-cart,
body.wpinv-checkout .getpaid-available-gateways-div,
body.wpinv-checkout .getpaid-payment-form-element-pay_button {
    background: var(--pa-checkout-soft) !important;
    border: 1px solid var(--pa-checkout-border) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

body.wpinv-checkout .getpaid-payment-form-items-cart {
    margin: 0 !important;
}

body.wpinv-checkout .getpaid-payment-form-items-cart-header,
body.wpinv-checkout .getpaid-form-cart-totals-col {
    background: color-mix(in srgb, var(--pa-checkout-soft) 78%, #fff) !important;
}

body.wpinv-checkout .getpaid-payment-form-items-cart-header,
body.wpinv-checkout .getpaid-payment-form-items-cart-item,
body.wpinv-checkout .getpaid-form-cart-totals-col {
    border-color: var(--pa-checkout-border) !important;
    padding: 10px 12px !important;
}

body.wpinv-checkout .getpaid-payment-form-items-cart .row,
body.wpinv-checkout .getpaid-payment-form-items-cart .form-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.wpinv-checkout .getpaid-payment-form-items-cart,
body.wpinv-checkout .getpaid-payment-form-items-cart * {
    color: var(--pa-checkout-text) !important;
    font-family: var(--pa-font-body) !important;
}

body.wpinv-checkout .getpaid-payment-form-items-cart-totals {
    background: #fff !important;
}

body.wpinv-checkout .getpaid-gateways {
    margin: 0 !important;
}

body.wpinv-checkout .getpaid-available-gateways-div {
    padding: 10px 12px !important;
}

body.wpinv-checkout .getpaid-gateway {
    align-items: center !important;
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
}

body.wpinv-checkout .getpaid-gateway + .getpaid-gateway {
    margin-top: 6px !important;
}

body.wpinv-checkout .getpaid-gateway input[type="radio"] {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

body.wpinv-checkout .getpaid-gateway label {
    margin: 0 !important;
}

body.wpinv-checkout .getpaid-gateway-description,
body.wpinv-checkout .getpaid-gateway-instructions,
body.wpinv-checkout .wpinv-payment-gateway-description {
    background: color-mix(in srgb, var(--pa-checkout-soft) 54%, #fff) !important;
    border: 1px solid var(--pa-checkout-border) !important;
    color: var(--pa-checkout-muted) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin: 10px 0 0 !important;
    padding: 14px !important;
}

body.wpinv-checkout .getpaid-payment-form-element-gateway_select iframe,
body.wpinv-checkout .getpaid-payment-form-element-gateway_select .StripeElement,
body.wpinv-checkout .getpaid-payment-form-element-gateway_select [class*="StripeElement"],
body.wpinv-checkout .getpaid-payment-form-element-gateway_select [id*="stripe"],
body.wpinv-checkout .getpaid-payment-form-element-gateway_select [class*="stripe"] {
    max-width: 100% !important;
}

body.wpinv-checkout #getpaid-pay-now {
    background: linear-gradient(135deg, #201d18, #0f0e0c) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 14px 28px rgba(30, 23, 13, 0.16) !important;
    color: #fff !important;
    font-family: var(--pa-font-body) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    min-height: 42px !important;
}

body.wpinv-checkout .getpaid-payment-form-element-pay_button {
    padding: 12px !important;
}

body.wpinv-checkout .getpaid-payment-form-element-pay_button .form-text,
body.wpinv-checkout .getpaid-payment-form-element-pay_button small {
    color: var(--pa-checkout-muted) !important;
    display: block !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin-top: 8px !important;
}

html[data-pa-mode="dark"] body.wpinv-checkout,
body.wpinv-checkout.pa-mode-dark {
    --pa-checkout-bg: #08090b;
    --pa-checkout-panel: #111216;
    --pa-checkout-soft: #17181d;
    --pa-checkout-border: rgba(246, 242, 234, 0.12);
    --pa-checkout-text: #f6f2ea;
    --pa-checkout-muted: #aaa39a;
}

html[data-pa-mode="dark"] body.wpinv-checkout .getpaid-payment-form .form-control,
html[data-pa-mode="dark"] body.wpinv-checkout .getpaid-payment-form .form-select,
body.wpinv-checkout.pa-mode-dark .getpaid-payment-form .form-control,
body.wpinv-checkout.pa-mode-dark .getpaid-payment-form .form-select {
    background-color: #15161b !important;
    color: var(--pa-checkout-text) !important;
}

html[data-pa-mode="dark"] body.wpinv-checkout .getpaid-payment-form-items-cart-totals,
body.wpinv-checkout.pa-mode-dark .getpaid-payment-form-items-cart-totals {
    background: var(--pa-checkout-panel) !important;
}

html[data-pa-mode="dark"] body.wpinv-checkout #getpaid-pay-now,
body.wpinv-checkout.pa-mode-dark #getpaid-pay-now {
    background: var(--pa-checkout-text) !important;
    color: var(--pa-checkout-bg) !important;
}

/* ===== GETPAID INVOICES THEMED VIEW ===== */
body.wpinv-history {
    --pa-invoices-bg: var(--pa-bg, #fbfaf7);
    --pa-invoices-panel: var(--pa-surface, #ffffff);
    --pa-invoices-soft: var(--pa-surface-soft, #f6f2eb);
    --pa-invoices-border: var(--pa-border, rgba(35, 30, 24, 0.12));
    --pa-invoices-text: var(--pa-text, #171512);
    --pa-invoices-muted: var(--pa-text-soft, rgba(31, 29, 26, 0.62));
    --pa-invoices-accent: var(--pa-accent, #c8911f);
    background: var(--pa-invoices-bg) !important;
    color: var(--pa-invoices-text) !important;
    font-family: var(--pa-font-body) !important;
}

body.wpinv-history .wp-site-blocks,
body.wpinv-history main,
body.wpinv-history .entry-content {
    background: var(--pa-invoices-bg) !important;
    color: var(--pa-invoices-text) !important;
}

body.wpinv-history main.wp-block-group,
body.wpinv-history #wp--skip-link--target {
    padding-block: clamp(28px, 5vw, 64px) !important;
}

body.wpinv-history .wp-block-post-title {
    color: var(--pa-invoices-text) !important;
    font-family: var(--pa-font-display) !important;
    font-size: clamp(44px, 6vw, 68px) !important;
    font-weight: 400 !important;
    line-height: 0.96 !important;
    margin: 0 auto 22px !important;
    max-width: 980px !important;
}

body.wpinv-history .wp-block-invoicing-wpinv-invoice-history,
body.wpinv-history .wp-block-invoicing-wpinv-history-widget,
body.wpinv-history .wpinv-history-class,
body.wpinv-history .wpinv-history-class .table-responsive,
body.wpinv-history .getpaid-user-invoices {
    margin-inline: auto !important;
    max-width: 980px !important;
    width: min(980px, calc(100vw - 32px)) !important;
}

body.wpinv-history .wpinv-history-class .table-responsive {
    overflow-x: visible !important;
}

body.wpinv-history table.getpaid-user-invoices {
    background: var(--pa-invoices-panel) !important;
    border: 1px solid var(--pa-invoices-border) !important;
    border-collapse: separate !important;
    border-radius: 16px !important;
    border-spacing: 0 !important;
    box-shadow: 0 22px 56px color-mix(in srgb, #000 8%, transparent) !important;
    color: var(--pa-invoices-text) !important;
    font-family: var(--pa-font-body) !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    table-layout: fixed !important;
}

body.wpinv-history table.getpaid-user-invoices thead th {
    background: color-mix(in srgb, var(--pa-invoices-soft) 72%, var(--pa-invoices-panel)) !important;
    border-color: var(--pa-invoices-border) !important;
    color: var(--pa-invoices-muted) !important;
    font-family: var(--pa-font-accent) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    padding: 16px 14px !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

body.wpinv-history table.getpaid-user-invoices th:nth-child(1),
body.wpinv-history table.getpaid-user-invoices td:nth-child(1) {
    width: 17% !important;
}

body.wpinv-history table.getpaid-user-invoices th:nth-child(2),
body.wpinv-history table.getpaid-user-invoices td:nth-child(2),
body.wpinv-history table.getpaid-user-invoices th:nth-child(3),
body.wpinv-history table.getpaid-user-invoices td:nth-child(3) {
    width: 18% !important;
}

body.wpinv-history table.getpaid-user-invoices th:nth-child(4),
body.wpinv-history table.getpaid-user-invoices td:nth-child(4) {
    width: 23% !important;
}

body.wpinv-history table.getpaid-user-invoices th:nth-child(5),
body.wpinv-history table.getpaid-user-invoices td:nth-child(5) {
    width: 13% !important;
}

body.wpinv-history table.getpaid-user-invoices th:nth-child(6),
body.wpinv-history table.getpaid-user-invoices td:nth-child(6) {
    width: 11% !important;
}

body.wpinv-history table.getpaid-user-invoices tbody tr {
    background: transparent !important;
    transition: background-color 0.18s ease;
}

body.wpinv-history table.getpaid-user-invoices tbody tr:hover {
    background: color-mix(in srgb, var(--pa-invoices-accent) 7%, transparent) !important;
}

body.wpinv-history table.getpaid-user-invoices td {
    background: transparent !important;
    border-color: var(--pa-invoices-border) !important;
    color: var(--pa-invoices-text) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    padding: 16px 14px !important;
    vertical-align: middle !important;
    word-break: normal !important;
}

body.wpinv-history table.getpaid-user-invoices td:nth-child(5) {
    font-size: 18px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

body.wpinv-history table.getpaid-user-invoices a:not(.btn) {
    color: var(--pa-invoices-accent) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.wpinv-history table.getpaid-user-invoices a:not(.btn):hover {
    text-decoration: underline !important;
}

body.wpinv-history table.getpaid-user-invoices .badge,
body.wpinv-history table.getpaid-user-invoices [class*="badge"] {
    border-radius: 999px !important;
    display: inline-flex !important;
    font-family: var(--pa-font-body) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    padding: 8px 12px !important;
    white-space: nowrap !important;
}

body.wpinv-history table.getpaid-user-invoices .btn {
    align-items: center !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    font-family: var(--pa-font-body) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 0 8px !important;
    min-height: 34px !important;
    padding: 9px 12px !important;
    text-decoration: none !important;
    width: 100% !important;
}

body.wpinv-history table.getpaid-user-invoices .btn-success {
    background: var(--pa-invoices-accent) !important;
    border-color: var(--pa-invoices-accent) !important;
    color: var(--pa-accent-contrast, #111111) !important;
}

body.wpinv-history table.getpaid-user-invoices .btn-secondary {
    background: transparent !important;
    border-color: color-mix(in srgb, var(--pa-invoices-muted) 36%, var(--pa-invoices-border)) !important;
    color: var(--pa-invoices-text) !important;
}

body.wpinv-history table.getpaid-user-invoices .btn-danger {
    background: color-mix(in srgb, #c43d4b 12%, var(--pa-invoices-panel)) !important;
    border-color: color-mix(in srgb, #c43d4b 45%, var(--pa-invoices-border)) !important;
    color: #c43d4b !important;
}

html[data-pa-mode="dark"] body.wpinv-history,
body.wpinv-history.pa-mode-dark {
    --pa-invoices-bg: var(--pa-bg, #08090b);
    --pa-invoices-panel: var(--pa-surface, #111216);
    --pa-invoices-soft: var(--pa-surface-soft, #17181d);
    --pa-invoices-border: var(--pa-border, rgba(246, 242, 234, 0.12));
    --pa-invoices-text: var(--pa-text, #f6f2ea);
    --pa-invoices-muted: var(--pa-text-soft, #aaa39a);
}

html[data-pa-mode="dark"] body.wpinv-history table.getpaid-user-invoices .btn-secondary,
body.wpinv-history.pa-mode-dark table.getpaid-user-invoices .btn-secondary {
    background: color-mix(in srgb, var(--pa-invoices-soft) 74%, transparent) !important;
}

@media (max-width: 900px) {
    body.wpinv-checkout main.wp-block-group,
    body.wpinv-checkout #wp--skip-link--target {
        padding-block: 18px !important;
    }

    body.wpinv-checkout .wp-block-post-title,
    body.wpinv-checkout .wp-block-invoicing-wpinv-checkout-widget,
    body.wpinv-checkout .getpaid-checkout {
        width: min(100%, calc(100vw - 24px)) !important;
    }

    body.wpinv-checkout .wp-block-post-title {
        font-size: 42px;
        margin-bottom: 14px !important;
    }

    body.wpinv-checkout .getpaid-payment-form {
        border-radius: 16px;
        padding: 14px;
    }

    body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row,
    body.wpinv-checkout .getpaid-payment-form .container-fluid > .row:has(.getpaid-payment-form-element-billing_email),
    body.wpinv-checkout .getpaid-billing-address-wrapper .row.billing {
        gap: 12px !important;
        grid-template-columns: 1fr !important;
    }

    body.wpinv-checkout .getpaid-payment-form > .container-fluid > .row,
    body.wpinv-checkout .getpaid-payment-form .container-fluid > .row:has(.getpaid-payment-form-element-billing_email) {
        grid-template-areas:
            "summary"
            "email"
            "address"
            "discount"
            "method"
            "pay" !important;
        grid-template-rows: auto !important;
    }

    body.wpinv-checkout .getpaid-payment-form-items-cart,
    body.wpinv-checkout .getpaid-available-gateways-div,
    body.wpinv-checkout .getpaid-payment-form-element-pay_button {
        border-radius: 12px !important;
    }
}

@media (max-width: 560px) {
    body.wpinv-checkout main.wp-block-group,
    body.wpinv-checkout #wp--skip-link--target {
        padding-block: 12px !important;
    }

    body.wpinv-checkout .wp-block-post-title,
    body.wpinv-checkout .wp-block-invoicing-wpinv-checkout-widget,
    body.wpinv-checkout .getpaid-checkout {
        width: min(100%, calc(100vw - 16px)) !important;
    }

    body.wpinv-checkout .wp-block-post-title {
        font-size: 34px !important;
        margin-bottom: 10px !important;
    }

    body.wpinv-checkout .getpaid-payment-form {
        border-radius: 14px !important;
        padding: 10px !important;
    }

    body.wpinv-checkout .getpaid-payment-form label,
    body.wpinv-checkout .getpaid-payment-form .form-label {
        font-size: 12px !important;
    }

    body.wpinv-checkout .getpaid-payment-form .form-control,
    body.wpinv-checkout .getpaid-payment-form .form-select {
        font-size: 14px !important;
        min-height: 36px !important;
        padding: 7px 10px !important;
    }

    body.wpinv-checkout .getpaid-payment-form-items-cart-header,
    body.wpinv-checkout .getpaid-payment-form-items-cart-item,
    body.wpinv-checkout .getpaid-form-cart-totals-col,
    body.wpinv-checkout .getpaid-available-gateways-div,
    body.wpinv-checkout .getpaid-payment-form-element-pay_button {
        padding: 10px !important;
    }
}

@media (max-width: 860px) {
    body.wpinv-history main.wp-block-group,
    body.wpinv-history #wp--skip-link--target {
        padding-block: 20px !important;
    }

    body.wpinv-history .wp-block-post-title,
    body.wpinv-history .wp-block-invoicing-wpinv-invoice-history,
    body.wpinv-history .wp-block-invoicing-wpinv-history-widget,
    body.wpinv-history .wpinv-history-class,
    body.wpinv-history .wpinv-history-class .table-responsive,
    body.wpinv-history .getpaid-user-invoices {
        width: min(100%, calc(100vw - 24px)) !important;
    }

    body.wpinv-history .wp-block-post-title {
        font-size: 42px !important;
        margin-bottom: 16px !important;
    }

    body.wpinv-history table.getpaid-user-invoices {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        display: block !important;
        max-width: 100% !important;
        overflow: visible !important;
        width: 100% !important;
    }

    body.wpinv-history table.getpaid-user-invoices thead {
        display: none !important;
    }

    body.wpinv-history table.getpaid-user-invoices tbody,
    body.wpinv-history table.getpaid-user-invoices tr,
    body.wpinv-history table.getpaid-user-invoices td {
        display: block !important;
        width: 100% !important;
    }

    body.wpinv-history table.getpaid-user-invoices tbody tr td {
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    body.wpinv-history table.getpaid-user-invoices tbody tr td:nth-child(n) {
        width: 100% !important;
    }

    body.wpinv-history table.getpaid-user-invoices tbody {
        display: grid !important;
        gap: 14px !important;
    }

    body.wpinv-history table.getpaid-user-invoices tr {
        background: var(--pa-invoices-panel) !important;
        border: 1px solid var(--pa-invoices-border) !important;
        border-radius: 14px !important;
        box-shadow: 0 14px 36px color-mix(in srgb, #000 8%, transparent) !important;
        overflow: hidden !important;
        padding: 12px !important;
    }

    body.wpinv-history table.getpaid-user-invoices td {
        align-items: center !important;
        border: 0 !important;
        border-bottom: 1px solid var(--pa-invoices-border) !important;
        display: flex !important;
        gap: 16px !important;
        justify-content: space-between !important;
        min-height: 44px !important;
        padding: 10px 4px !important;
        text-align: right !important;
    }

    body.wpinv-history table.getpaid-user-invoices td:last-child {
        border-bottom: 0 !important;
        display: grid !important;
        gap: 8px !important;
        grid-template-columns: 1fr !important;
        padding-top: 12px !important;
        text-align: initial !important;
    }

    body.wpinv-history table.getpaid-user-invoices td::before {
        color: var(--pa-invoices-muted) !important;
        content: "" !important;
        flex: 0 0 auto !important;
        font-family: var(--pa-font-accent) !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        text-align: left !important;
        text-transform: uppercase !important;
    }

    body.wpinv-history table.getpaid-user-invoices td:nth-child(1)::before {
        content: "Invoice" !important;
    }

    body.wpinv-history table.getpaid-user-invoices td:nth-child(2)::before {
        content: "Created" !important;
    }

    body.wpinv-history table.getpaid-user-invoices td:nth-child(3)::before {
        content: "Payment" !important;
    }

    body.wpinv-history table.getpaid-user-invoices td:nth-child(4)::before {
        content: "Status" !important;
    }

    body.wpinv-history table.getpaid-user-invoices td:nth-child(5)::before {
        content: "Total" !important;
    }

    body.wpinv-history table.getpaid-user-invoices td:nth-child(6)::before {
        content: "Actions" !important;
        display: block !important;
        margin-bottom: 2px !important;
    }

    body.wpinv-history table.getpaid-user-invoices .btn {
        margin: 0 !important;
        width: 100% !important;
    }
}

/* ===== PROFILE PAGE LAYOUT ===== */

/* Ensure theme header remains visible on event registration pages */
.single-event .site-header,
.single-event #masthead,
.single-event .ast-primary-header-bar,
.single-event .ast-mobile-header-wrap {
    display: block !important;
    visibility: visible !important;
}

.single-event .post-navigation {
    display: none;
}

/* Prevent fixed headers from overlapping plugin content */
.single-event .photo-award-event-main {
    padding-top: clamp(12px, 2vw, 24px);
}


/* Profile Container */
.photo-award-profile-page {
    background: #070707;
}

.photo-award-profile-page .site-content,
.photo-award-profile-page .entry-content,
.photo-award-profile-page .wp-site-blocks {
    background: #070707;
}

.photo-award-profile-page .wp-site-blocks > header,
.photo-award-profile-page .site-header,
.photo-award-profile-page #masthead {
    background: #070707;
    border-bottom: 1px solid rgba(255, 210, 31, 0.18);
}

.photo-award-profile-page .wp-site-blocks > footer,
.photo-award-profile-page .site-footer {
    background: #070707;
    border-top: 1px solid rgba(255, 210, 31, 0.18);
    color: #a7a08b;
}

.photo-award-profile-page .wp-block-site-title a,
.photo-award-profile-page .wp-block-navigation a,
.photo-award-profile-page .site-title a,
.photo-award-profile-page .site-footer a {
    color: #ffd21f !important;
    text-decoration: none;
}

.photo-award-profile-page .wp-block-post-title {
    display: none;
}

.photo-award-profile-container {
    --pa-dashboard-black: #070707;
    --pa-dashboard-panel: #111111;
    --pa-dashboard-panel-soft: #171717;
    --pa-dashboard-yellow: #ffd21f;
    --pa-dashboard-yellow-dark: #d6a900;
    --pa-dashboard-text: #f6f1d6;
    --pa-dashboard-muted: #a7a08b;
    --pa-dashboard-line: rgba(255, 210, 31, 0.22);
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 18px;
    max-width: 1180px;
    margin: clamp(18px, 3vw, 36px) auto;
    padding: 0 clamp(14px, 2vw, 24px);
    min-height: 64vh;
    width: 100%;
    color: var(--pa-dashboard-text);
}

.photo-award-profile-page.ast-narrow-container .site-content > .ast-container {
    max-width: 1240px;
}

/* ===== PROFILE SIDEBAR ===== */
.profile-sidebar {
    width: auto;
    background: var(--pa-dashboard-panel);
    border: 1px solid var(--pa-dashboard-line);
    padding: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.profile-user-info {
    padding: 18px;
    border-bottom: 1px solid var(--pa-dashboard-line);
    margin-bottom: 8px;
}

.profile-user-info h3 {
    margin: 0 0 6px 0;
    color: var(--pa-dashboard-yellow);
    font-size: 18px;
    font-weight: 700;
}

.profile-user-info p {
    margin: 0;
    color: var(--pa-dashboard-muted);
    font-size: 12px;
    line-height: 1.35;
}

/* Profile Navigation */
.profile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-nav li {
    margin: 0;
}

.profile-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--pa-dashboard-text);
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    font-size: 14px;
    font-weight: 600;
    border-left: 3px solid transparent;
}

.profile-nav a:hover {
    background: rgba(255, 210, 31, 0.08);
    color: var(--pa-dashboard-yellow);
    border-left-color: rgba(255, 210, 31, 0.5);
}

.profile-nav li.active a {
    background: var(--pa-dashboard-yellow);
    color: #080808;
    border-left-color: var(--pa-dashboard-yellow);
}

.profile-nav .nav-icon {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== PROFILE CONTENT ===== */
.profile-content {
    min-width: 0;
    background: var(--pa-dashboard-panel);
    border: 1px solid var(--pa-dashboard-line);
    padding: clamp(22px, 3vw, 34px);
}

.profile-page h1 {
    margin: 0;
    color: var(--pa-dashboard-text);
    font-size: clamp(32px, 5vw, 60px);
    line-height: 0.95;
    font-weight: 800;
    border-bottom: 0;
    padding-bottom: 0;
}

.profile-page p {
    color: var(--pa-dashboard-muted);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}

.dashboard-header {
    display: grid;
    gap: 12px;
    margin-bottom: clamp(22px, 3vw, 34px);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--pa-dashboard-line);
}

.dashboard-kicker {
    width: fit-content;
    padding: 5px 9px;
    background: var(--pa-dashboard-yellow);
    color: #070707;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.photo-award-profile-container .dashboard-kicker,
.photo-award-profile-container .pa-dashboard-kicker {
    display: none !important;
}

.dashboard-header p {
    max-width: 560px;
    margin: 0;
    color: var(--pa-dashboard-muted);
}

.wallet-balance-section,
.wallet-transactions-section,
.stat-card {
    background: var(--pa-dashboard-panel-soft);
    border: 1px solid var(--pa-dashboard-line);
}

.wallet-balance-section {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
    padding: clamp(18px, 3vw, 28px);
}

.wallet-balance-section h2,
.wallet-transactions-section h2 {
    margin: 0;
    color: var(--pa-dashboard-yellow);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.wallet-balance-amount {
    margin: 0 !important;
    color: var(--pa-dashboard-text) !important;
    font-size: clamp(30px, 5vw, 56px) !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: right;
}

.wallet-transactions-section {
    margin: 0;
    padding: clamp(18px, 3vw, 28px);
    overflow-x: auto;
}

.wallet-transactions-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    margin-top: 18px;
    color: var(--pa-dashboard-text);
}

.wallet-transactions-table th,
.wallet-transactions-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 210, 31, 0.16);
    color: inherit;
    text-align: left;
    vertical-align: top;
}

.wallet-transactions-table th {
    color: var(--pa-dashboard-yellow);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.wallet-transactions-table .amount-cell {
    text-align: right;
}

.wallet-amount {
    font-weight: 800;
}

.wallet-amount-credit {
    color: var(--pa-dashboard-yellow);
}

.wallet-amount-debit {
    color: #ff6b4a;
}

.wallet-empty {
    margin: 16px 0 0 !important;
    color: var(--pa-dashboard-muted) !important;
    font-style: normal !important;
}

/* ===== DASHBOARD STATS ===== */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.stat-card {
    padding: 22px;
    text-align: left;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    color: var(--pa-dashboard-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--pa-dashboard-yellow);
    margin: 0;
}

/* ===== FORM PLACEHOLDERS ===== */
.entry-form-placeholder,
.entries-list-placeholder,
.profile-form-placeholder,
.password-form-placeholder {
    background: var(--pa-dashboard-panel-soft);
    border: 1px dashed var(--pa-dashboard-line);
    border-radius: 0;
    padding: 40px;
    text-align: center;
    color: var(--pa-dashboard-muted);
    font-style: normal;
}

/* ===== LOGOUT PAGE ===== */
.logout-page {
    text-align: center;
    padding: 60px 20px;
}

.logout-page h1 {
    color: #dc3545;
    border-bottom: none;
}

/* ===== RESPONSIVE DESIGN - PROFILE ===== */
@media (max-width: 768px) {
    .photo-award-profile-container {
        grid-template-columns: 1fr;
        padding: 0 14px;
        gap: 14px;
    }

    .profile-sidebar {
        width: 100%;
        position: static;
        order: 2;
    }

    .profile-content {
        order: 1;
        padding: 20px;
    }

    .profile-nav a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .photo-award-profile-container {
        padding: 0 10px;
    }

    .profile-content {
        padding: 18px;
    }

    .profile-page h1 {
        font-size: 34px;
    }

    .profile-nav a {
        padding: 8px 10px;
        font-size: 12px;
    }

    .nav-icon {
        width: 14px;
        height: 14px;
    }
}



/* ===== FORM STYLES ===== */
.profile-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #df9400;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.pa-public-bio-counter.is-over-limit {
    color: #b42318;
    font-weight: 700;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.btn {
    padding: 10px 20px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #df9400;
    color: #fff;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f8f9fa;
    color: #555;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-group input.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.form-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
    font-weight: 500;
}

/* Form Row Layout */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Required Field Indicator */
.required {
    color: #dc3545;
    font-weight: bold;
}

/* Select Dropdown */
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #df9400;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

/* Textarea */
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #df9400;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.radio-label input[type="radio"] {
    margin: 0;
    width: auto;
}

.radio-label span {
    font-size: 14px;
    color: #555;
}

/* Readonly Input */
.form-group input[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.photo-award-profile-container .form-group label,
.photo-award-profile-container .radio-label span {
    color: var(--pa-dashboard-text);
}

.photo-award-profile-container .form-help {
    color: var(--pa-dashboard-muted);
}

.photo-award-profile-container .form-group input[type="password"],
.photo-award-profile-container .form-group input[type="email"],
.photo-award-profile-container .form-group input[type="text"],
.photo-award-profile-container .form-group select,
.photo-award-profile-container .form-group textarea {
    background: #0b0b0b;
    border: 1px solid var(--pa-dashboard-line);
    border-radius: 0;
    color: var(--pa-dashboard-text);
}

.photo-award-profile-container .form-group input:focus,
.photo-award-profile-container .form-group select:focus,
.photo-award-profile-container .form-group textarea:focus {
    border-color: var(--pa-dashboard-yellow);
    box-shadow: 0 0 0 2px rgba(255, 210, 31, 0.16);
}

.photo-award-profile-container .btn,
.photo-award-profile-container .button {
    border-radius: 0;
    font-weight: 800;
}

.photo-award-profile-container .btn-primary,
.photo-award-profile-container .button-primary,
.photo-award-profile-container input[type="submit"] {
    background: var(--pa-dashboard-yellow);
    border-color: var(--pa-dashboard-yellow);
    color: #070707;
}

.photo-award-profile-container .btn-primary:hover,
.photo-award-profile-container .button-primary:hover,
.photo-award-profile-container input[type="submit"]:hover {
    background: var(--pa-dashboard-yellow-dark);
    border-color: var(--pa-dashboard-yellow-dark);
    color: #070707;
}

.photo-award-profile-container .btn-secondary {
    background: transparent;
    color: var(--pa-dashboard-text);
    border: 1px solid var(--pa-dashboard-line);
}

.photo-award-profile-container .btn-secondary:hover {
    background: rgba(255, 210, 31, 0.08);
    color: var(--pa-dashboard-yellow);
}

/* Responsive Form Layout */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== SELECT2 STYLING ===== */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 12px;
    padding-right: 20px;
    color: #555;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 8px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #df9400;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #df9400;
}

.select2-dropdown {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Select2 */
@media (max-width: 768px) {
    .select2-container--default .select2-selection--single {
        height: 44px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 42px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 42px;
    }
}

/* ===== MY ENTRIES PAGE ===== */
.my-entries-page {
    padding: 20px 0;
}

.no-entries {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.entries-summary {
    margin-bottom: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.entries-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.user-entries-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-entries-table th {
    background: #f8f9fa;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.user-entries-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.user-entries-table tr:hover {
    background: #f8f9fa;
}

.user-entries-table tr:last-child td {
    border-bottom: none;
}

/* Entry Images */
.entry-images {
    /* width: 80px; */
    text-align: center;
    background: #fff;
    padding: 24px;
}

.imageinlist {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.imageinlist:hover {
    transform: scale(1.05);
}

.no-image {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    text-align: center;
    line-height: 56px;
    font-size: 12px;
    color: #6c757d;
}

/* Entry Title */
.entry-title {
    min-width: 200px;
}

.entry-title strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.entry-title small {
    color: #6c757d;
    font-size: 12px;
}

.certificate-links {
    margin-top: 8px;
}

.certificate-link {
    display: inline-block;
    padding: 2px 8px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 5px;
    margin-bottom: 3px;
}

.certificate-link:hover {
    background: #218838;
    color: #fff;
}

/* Payment Status */
.payment-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.payment-label.wpi-pending {
    background: #fff3cd;
    color: #856404;
}

.payment-label.wpi-paid,
.payment-label.publish {
    background: #d4edda;
    color: #155724;
}

.payment-label.wpi-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.pay-link {
    display: inline-block;
    margin-top: 5px;
    padding: 4px 12px;
    background: #df9400;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
}

.pay-link:hover {
    background: #005a87;
    color: #fff;
}

/* Actions */
.entry-actions {
    white-space: nowrap;
}

.action-link {
    display: inline-block;
    margin-right: 10px;
    padding: 4px 8px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.view-link {
    background: #6c757d;
    color: #fff;
}

.view-link:hover {
    background: #5a6268;
    color: #fff;
}

.edit-link {
    background: #17a2b8;
    color: #fff;
}

.edit-link:hover {
    background: #138496;
    color: #fff;
}

.delete-link {
    background: #dc3545;
    color: #fff;
    cursor: pointer;
}

.delete-link:hover {
    background: #c82333;
    color: #fff;
}

/* Status */
.status-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-label.unpaid {
    background: #fff3cd;
    color: #856404;
}

.status-label.paid {
    background: #d4edda;
    color: #155724;
}

/* Delete Confirmation Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.modal-content p {
    margin: 0 0 20px 0;
    color: #666;
}

.modal-message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}


.btn-danger:hover {
    background: #c82333;
}

/* ===== NEW ENTRY PAGE ===== */
.new-entry-page {
    padding: 20px 0;
}

.no-events {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.no-events-icon {
    margin-bottom: 20px;
    color: #6c757d;
}

.no-events h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
}

.no-events p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.events-summary {
    margin-bottom: 30px;
    padding: 20px;
    background: #eeeeee47;
    border-left: 4px solid #2196f3;
}

.events-summary p {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.event-card-wide {
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.event-card-wide:hover {
    border-color: #df9400;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.event-card-content {
    display: flex;
    align-items: stretch;
    padding: 16px 20px;
    gap: 16px;
    justify-content: space-between;
}

.event-icon {
    color: #df9400;
    flex-shrink: 0;
}

.event-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.event-title {
    font-size: 22px;
    font-weight: 600;
}

.event-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-title a:hover {
    color: #df9400;
}

.type-badge {
    display: inline-block;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge.series {
    background: #e8f5e8;
    color: #2e7d32;
}

.type-badge.single {
    background: #e3f2fd;
    color: #1976d2;
}

.type-badge.both {
    background: #fff3e0;
    color: #f57c00;
}

.event-details {
    padding: 20px 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 13px;
}

.event-badges {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.countdown-timer {
    flex-shrink: 0;
    text-align: center;
    min-width: 120px;
}

.countdown-text {
    display: block;
}

.countdown-text span {
    font-weight: 600;
    color: inherit;
}

.event-action {
    flex-shrink: 0;
}

.event-action .btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.event-action .btn-primary {
    background: #df9400;
    color: #fff;
}

.event-action .btn-primary:hover {
    background: #005a87;
    color: #fff;
    transform: translateY(-1px);
}

.series-info {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #28a745;
}

.series-info strong {
    color: #333;
    margin-right: 5px;
}

.event-description {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.event-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.countdown-timer {
    margin-bottom: 20px;
    text-align: center;
}

.countdown-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.countdown-display {
    font-size: 13px;
    font-weight: 200;
    color: #dc3545;
    font-family: var(--pa-font-body);
}

.event-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.event-actions .btn {
    flex: 1;
    max-width: 140px;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.event-actions .btn-primary {
    background: #df9400;
    color: #fff;
}

.event-actions .btn-primary:hover {
    background: #005a87;
    color: #fff;
    transform: translateY(-1px);
}

.event-actions .btn-secondary {
    background: #6c757d;
    color: #fff;
}

.event-actions .btn-secondary:hover {
    background: #5a6268;
    color: #fff;
    transform: translateY(-1px);
}

/* ===== RESPONSIVE DESIGN - EVENTS ===== */
@media (max-width: 768px) {
    .event-card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .event-info {
        width: 100%;
    }

    .event-meta {
        flex-direction: column;
        gap: 8px;
    }

    .event-badges {
        order: -1;
    }

    .countdown-timer {
        min-width: auto;
        width: 100%;
    }

    .event-action {
        width: 100%;
    }

    .event-action .btn {
        width: 100%;
        justify-content: center;
    }

    .events-summary {
        margin: 20px 10px 30px 10px;
        padding: 15px;
    }

    .no-events {
        margin: 20px 10px;
        padding: 40px 15px;
    }
}

/* ===== SUCCESS/ERROR MESSAGES ===== */
.profile-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.profile-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.profile-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.profile-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.event-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}


/**
 * Minimal Authentication Modal Styles
 *
 * Essential styles only for modal and input functionality
 */

/* Modal Overlay */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px 0;
}

#auth-modal.photo-award-auth-ui,
.pa-login-page-wrap.photo-award-auth-ui {
    font-family: var(--pa-font-body) !important;
    color: #1f2937 !important;
    line-height: 1.5 !important;
}

#auth-modal.photo-award-auth-ui *,
.pa-login-page-wrap.photo-award-auth-ui *,
#auth-modal.photo-award-auth-ui *::before,
#auth-modal.photo-award-auth-ui *::after,
.pa-login-page-wrap.photo-award-auth-ui *::before,
.pa-login-page-wrap.photo-award-auth-ui *::after {
    box-sizing: border-box !important;
}

#auth-modal.photo-award-auth-ui .auth-form {
    display: none !important;
}

#auth-modal.photo-award-auth-ui .auth-form.active {
    display: block !important;
}

.pa-login-page-wrap.photo-award-auth-ui #pa-login-page-container > .pa-page-auth-form {
    display: none !important;
}

.pa-login-page-wrap.photo-award-auth-ui #pa-login-page-container > .pa-page-auth-form.is-visible {
    display: block !important;
}

#auth-modal.photo-award-auth-ui .form-group,
.pa-login-page-wrap.photo-award-auth-ui .form-group {
    margin: 0 0 16px !important;
    position: relative !important;
}

#auth-modal.photo-award-auth-ui .form-row,
.pa-login-page-wrap.photo-award-auth-ui .form-row {
    display: flex !important;
    gap: 15px !important;
}

#auth-modal.photo-award-auth-ui .form-row .form-group,
.pa-login-page-wrap.photo-award-auth-ui .form-row .form-group {
    flex: 1 1 0 !important;
}

#auth-modal.photo-award-auth-ui label,
.pa-login-page-wrap.photo-award-auth-ui label {
    display: flex !important;
    margin: 0 0 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #111827 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    justify-content: space-between !important;
}

#auth-modal.photo-award-auth-ui input[type="text"],
#auth-modal.photo-award-auth-ui input[type="email"],
#auth-modal.photo-award-auth-ui input[type="password"],
#auth-modal.photo-award-auth-ui input[type="search"],
#auth-modal.photo-award-auth-ui select,
#auth-modal.photo-award-auth-ui textarea,
.pa-login-page-wrap.photo-award-auth-ui input[type="text"],
.pa-login-page-wrap.photo-award-auth-ui input[type="email"],
.pa-login-page-wrap.photo-award-auth-ui input[type="password"],
.pa-login-page-wrap.photo-award-auth-ui input[type="search"],
.pa-login-page-wrap.photo-award-auth-ui select,
.pa-login-page-wrap.photo-award-auth-ui textarea {
    display: block !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font: inherit !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#auth-modal.photo-award-auth-ui input::placeholder,
#auth-modal.photo-award-auth-ui textarea::placeholder,
.pa-login-page-wrap.photo-award-auth-ui input::placeholder,
.pa-login-page-wrap.photo-award-auth-ui textarea::placeholder {
    color: #6b7280 !important;
    opacity: 1 !important;
}

#auth-modal.photo-award-auth-ui input:focus,
#auth-modal.photo-award-auth-ui select:focus,
#auth-modal.photo-award-auth-ui textarea:focus,
.pa-login-page-wrap.photo-award-auth-ui input:focus,
.pa-login-page-wrap.photo-award-auth-ui select:focus,
.pa-login-page-wrap.photo-award-auth-ui textarea:focus {
    outline: none !important;
    border-color: #df9400 !important;
    box-shadow: 0 0 0 3px rgba(223, 148, 0, 0.18) !important;
}

#auth-modal.photo-award-auth-ui button,
#auth-modal.photo-award-auth-ui a.btn,
.pa-login-page-wrap.photo-award-auth-ui button,
.pa-login-page-wrap.photo-award-auth-ui a.btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    white-space: normal !important;
    cursor: pointer !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

#auth-modal.photo-award-auth-ui .btn,
.pa-login-page-wrap.photo-award-auth-ui .btn {
    border: 1px solid transparent !important;
}

#auth-modal.photo-award-auth-ui .btn-primary,
.pa-login-page-wrap.photo-award-auth-ui .btn-primary {
    background: #df9400 !important;
    color: #ffffff !important;
    border-color: #df9400 !important;
}

#auth-modal.photo-award-auth-ui .btn-primary:hover,
.pa-login-page-wrap.photo-award-auth-ui .btn-primary:hover {
    background: #c98600 !important;
    color: #ffffff !important;
    border-color: #c98600 !important;
}

#auth-modal.photo-award-auth-ui .btn-outline,
.pa-login-page-wrap.photo-award-auth-ui .btn-outline {
    background: #ffffff !important;
    color: #df9400 !important;
    border-color: #df9400 !important;
}

#auth-modal.photo-award-auth-ui .btn-outline:hover,
.pa-login-page-wrap.photo-award-auth-ui .btn-outline:hover {
    background: #fff7e8 !important;
    color: #b97700 !important;
    border-color: #b97700 !important;
}

#auth-modal.photo-award-auth-ui .btn-link,
.pa-login-page-wrap.photo-award-auth-ui .btn-link {
    background: transparent !important;
    color: #4b5563 !important;
    border: 0 !important;
    padding: 4px 0 !important;
    min-height: auto !important;
}

#auth-modal.photo-award-auth-ui .btn-link:hover,
.pa-login-page-wrap.photo-award-auth-ui .btn-link:hover {
    color: #111827 !important;
    background: transparent !important;
}

#auth-modal.photo-award-auth-ui .btn-full,
.pa-login-page-wrap.photo-award-auth-ui .btn-full,
#auth-modal.photo-award-auth-ui #login-btn,
#auth-modal.photo-award-auth-ui #register-btn,
#auth-modal.photo-award-auth-ui #verify-otp-btn,
#auth-modal.photo-award-auth-ui #forgot-btn,
#auth-modal.photo-award-auth-ui #verify-forgot-otp-btn,
#auth-modal.photo-award-auth-ui #set-password-btn,
#auth-modal.photo-award-auth-ui #show-register,
#auth-modal.photo-award-auth-ui #show-login-from-register,
.pa-login-page-wrap.photo-award-auth-ui #login-btn,
.pa-login-page-wrap.photo-award-auth-ui #register-btn,
.pa-login-page-wrap.photo-award-auth-ui #verify-otp-btn,
.pa-login-page-wrap.photo-award-auth-ui #forgot-btn,
.pa-login-page-wrap.photo-award-auth-ui #verify-forgot-otp-btn,
.pa-login-page-wrap.photo-award-auth-ui #set-password-btn {
    width: 100% !important;
}

#auth-modal.photo-award-auth-ui .auth-form-header,
.pa-login-page-wrap.photo-award-auth-ui .auth-form-header {
    text-align: center !important;
    margin-bottom: 24px !important;
}

#auth-modal.photo-award-auth-ui .auth-form-header h2,
.pa-login-page-wrap.photo-award-auth-ui h2 {
    margin: 0 0 8px !important;
    color: #111827 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

#auth-modal.photo-award-auth-ui .auth-form-header p,
.pa-login-page-wrap.photo-award-auth-ui .auth-registration-note,
.pa-login-page-wrap.photo-award-auth-ui p {
    color: #6b7280 !important;
}

#auth-modal.photo-award-auth-ui .auth-form-footer,
.pa-login-page-wrap.photo-award-auth-ui .auth-form-footer {
    text-align: center !important;
    margin-top: 16px !important;
}

#auth-modal.photo-award-auth-ui .auth-message,
.pa-login-page-wrap.photo-award-auth-ui .auth-message {
    margin-top: 12px !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: center !important;
}

#auth-modal.photo-award-auth-ui .form-error,
.pa-login-page-wrap.photo-award-auth-ui .form-error {
    display: none !important;
    margin-top: 4px !important;
    color: #dc2626 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

#auth-modal.photo-award-auth-ui .form-error.show,
.pa-login-page-wrap.photo-award-auth-ui .form-error.show {
    display: block !important;
}

#auth-modal.photo-award-auth-ui .checkbox-label,
.pa-login-page-wrap.photo-award-auth-ui .checkbox-label {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    color: #4b5563 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

#auth-modal.photo-award-auth-ui .checkbox-label input[type="checkbox"],
.pa-login-page-wrap.photo-award-auth-ui .checkbox-label input[type="checkbox"] {
    display: none !important;
}

#auth-modal.photo-award-auth-ui .checkmark,
.pa-login-page-wrap.photo-award-auth-ui .checkmark {
    flex: 0 0 18px !important;
}

#auth-modal.photo-award-auth-ui .pa-country-picker,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-picker {
    position: relative !important;
    display: block !important;
}

#auth-modal.photo-award-auth-ui .pa-country-input,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-input {
    padding-right: 42px !important;
}

#auth-modal.photo-award-auth-ui .pa-country-toggle,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #6b7280 !important;
    border: 0 !important;
}

#auth-modal.photo-award-auth-ui .pa-country-dropdown,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-dropdown {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    display: none !important;
    max-height: 220px !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    z-index: 10050 !important;
}

#auth-modal.photo-award-auth-ui .pa-country-picker.is-open .pa-country-dropdown,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-picker.is-open .pa-country-dropdown {
    display: block !important;
}

#auth-modal.photo-award-auth-ui .pa-country-picker.opens-upward .pa-country-dropdown,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-picker.opens-upward .pa-country-dropdown {
    top: auto !important;
    bottom: calc(100% + 6px) !important;
}

#auth-modal.photo-award-auth-ui .pa-country-option,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-option {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    text-align: left !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
}

#auth-modal.photo-award-auth-ui .pa-country-option:hover,
#auth-modal.photo-award-auth-ui .pa-country-option:focus,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-option:hover,
.pa-login-page-wrap.photo-award-auth-ui .pa-country-option:focus {
    background: #f8fafc !important;
    color: #111827 !important;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.auth-modal-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    max-height: calc(100vh - 40px);
    margin: 20px;
    z-index: 10000;
    overflow: visible;
}

.auth-modal-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: visible;
    position: relative;
    max-height: calc(100vh - 40px);
}

/* Close Button */
.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    z-index: 10001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: unset;
    padding: 0;
    /* display: flex; */
}

.auth-modal-close:hover {
    color: #ff0000;
    background: unset;
}

/* Form Styles */
.auth-form {
    display: none;
    padding: 30px;
    overflow: visible;
}

.auth-form.active {
    display: block;
}

.auth-form .btn-outline {
    width: 100%;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-form-header h2 {
    margin: 0 0 4px 0 !important;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}


.event-card-content span.countdown-text {
    font-size: 12px;
}

.auth-form-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Form Groups */
.form-group {
    /* margin-bottom: 20px; */
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: flex;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    justify-content: space-between;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.auth-modal select,
.auth-modal button,
.pa-login-page-wrap select,
.pa-login-page-wrap button {
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.auth-modal select,
.pa-login-page-wrap select {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
}

.pa-country-picker {
    position: relative;
}

.pa-country-picker .pa-country-input {
    padding-right: 42px;
}

.pa-country-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.pa-country-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 10050;
}

.pa-country-picker.is-open .pa-country-dropdown {
    display: block;
}

.pa-country-picker.opens-upward .pa-country-dropdown {
    top: auto;
    bottom: calc(100% + 6px);
}

.pa-country-option {
    width: 100%;
    display: block;
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f1f1f1;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.pa-country-option:last-child {
    border-bottom: 0;
}

.pa-country-option:hover,
.pa-country-option:focus {
    background: #f7f7f7;
    color: #111;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #df9400;
}

.form-group input.error,
.form-group select.error {
    border-color: #e74c3c;
}

/* OTP Input */
.otp-input-container {
    display: flex;
    justify-content: center;
}

.otp-input {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    max-width: 180px;
    font-family: var(--pa-font-body);
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    justify-content: flex-start !important;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #df9400;
    border-color: #df9400;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}



.btn-primary {
    background: #df9400;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    color: #df9400;
    border: 1px solid #df9400;
}

.btn-outline:hover {
    background: #df9400;
    color: white;
}

.btn-link {
    background: none;
    color: #5d5d5d;
    padding: 5px 0;
    font-size: 13px;
}

.btn-link:hover {
    color: #005a87;
    background: unset;
}

.btn-full {
    width: 100%;
    margin-bottom: 15px;
}

/* Form Footer */
.auth-form-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-form-footer .btn-link {
    display: block;
    /* margin-bottom: 8px; */
    box-shadow: unset;
}

/* Messages */
.auth-message {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.auth-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* Form Errors */
.form-error {
    margin-top: 4px;
    font-size: 12px;
    color: #e74c3c;
    display: none;
}

.form-error.show {
    display: block;
}

/* Auth Links Widget */
.auth-links-widget {
    display: inline-block;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-greeting {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.guest-menu .btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-modal-container {
        margin: 10px;
        max-width: none;
    }

    .auth-form {
        padding: 20px 15px;
    }

    .auth-form-header h2 {
        font-size: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .user-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .user-actions {
        width: 100%;
        justify-content: space-between;
    }

    .otp-input {
        font-size: 18px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .auth-form {
        padding: 15px 10px;
    }

    .auth-form-header h2 {
        font-size: 18px;
    }

    .form-group input,
    .form-group select {
        padding: 8px 10px;
        font-size: 13px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Phase 1 public profile and edit profile UI */
.pa-edit-profile-v2,
.pa-public-profile-shell {
    --pa-ivory: #fbfaf7;
    --pa-card: #ffffff;
    --pa-ink: #171512;
    --pa-muted: #77716a;
    --pa-line: rgba(40, 32, 22, 0.12);
    --pa-gold: #c98919;
    --pa-soft-gold: #f7efe1;
}

.pa-edit-profile-v2,
.pa-edit-profile-v2 * {
    box-sizing: border-box;
}

.pa-edit-profile-v2 {
    grid-template-columns: minmax(0, 1fr);
}

.pa-edit-profile-v2 > *,
.pa-profile-tabs-form,
.pa-profile-tab-panel,
.pa-profile-form-card {
    min-width: 0;
    max-width: 100%;
}

.pa-profile-summary-card h2,
.pa-profile-summary-card p,
.pa-public-profile-url-preview {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pa-edit-profile-v2 .pa-profile-edit-hero {
    margin-bottom: 24px;
}

.pa-edit-profile-v2 .pa-profile-edit-hero h1 {
    margin: 4px 0 8px;
    font-family: var(--pa-font-display);
    font-size: clamp(42px, 6vw, 72px);
    line-height: .95;
    letter-spacing: 0;
    color: var(--pa-ink);
}

.pa-edit-profile-v2 .pa-profile-edit-hero p,
.pa-profile-form-card > p {
    color: var(--pa-muted);
    font-size: 15px;
}

.pa-profile-summary-card,
.pa-profile-form-card,
.pa-public-profile-card,
.pa-public-profile-stats {
    background: rgba(255,255,255,.92);
    border: 1px solid var(--pa-line);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(38, 28, 18, .07);
}

.pa-profile-summary-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
    margin-bottom: 22px;
}

.pa-profile-summary-avatar,
.pa-public-profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff8eb, #ead7b7);
    color: var(--pa-gold);
    font-family: var(--pa-font-display);
    font-size: 34px;
    border: 1px solid rgba(201,137,25,.24);
}

.pa-profile-summary-avatar img,
.pa-public-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pa-profile-summary-card h2 {
    margin: 0 0 5px;
    font-family: var(--pa-font-display);
    color: var(--pa-ink);
    font-size: 30px;
}

.pa-profile-summary-card p {
    margin: 0;
    color: var(--pa-muted);
}

.pa-profile-summary-status {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.pa-profile-summary-status span,
.pa-public-profile-state span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--pa-soft-gold);
    color: #8f5b00;
    font-size: 12px;
    font-weight: 700;
}

.pa-profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--pa-line);
}

.pa-profile-tabs button {
    appearance: none;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    padding: 14px 16px;
    color: var(--pa-muted);
    font-weight: 700;
    cursor: pointer;
}

.pa-profile-tabs button.active {
    color: var(--pa-gold);
    border-color: var(--pa-gold);
}

.pa-profile-tab-panel {
    display: none;
}

.pa-profile-tab-panel.active {
    display: block;
}

.pa-profile-form-card {
    padding: clamp(20px, 3vw, 34px);
    margin-bottom: 20px;
}

.pa-profile-form-card h2 {
    margin: 0 0 8px;
    font-family: var(--pa-font-display);
    font-size: 30px;
    color: var(--pa-ink);
}

.pa-edit-profile-v2 .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pa-edit-profile-v2 .form-row.pa-three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pa-edit-profile-v2 .form-group {
    margin-bottom: 18px;
}

.pa-edit-profile-v2 label {
    color: var(--pa-ink);
    font-weight: 700;
}

.photo-award-profile-container .pa-edit-profile-v2 .pa-profile-tabs-form,
.photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-card {
    width: 100%;
    max-width: 1120px;
}

.pa-edit-profile-v2 input[type="text"],
.pa-edit-profile-v2 input[type="email"],
.pa-edit-profile-v2 input[type="url"],
.pa-edit-profile-v2 input[type="file"],
.pa-edit-profile-v2 select,
.pa-edit-profile-v2 textarea {
    width: 100%;
    border: 1px solid var(--pa-line);
    border-radius: 10px;
    background: #fff;
    color: var(--pa-ink);
}

.photo-award-profile-container .pa-edit-profile-v2 .form-group label {
    color: var(--pa-ink) !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="text"],
.photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="email"],
.photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="url"],
.photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="file"],
.photo-award-profile-container .pa-edit-profile-v2 .form-group select,
.photo-award-profile-container .pa-edit-profile-v2 .form-group textarea {
    border: 1px solid var(--pa-line) !important;
    background: #fff !important;
    color: var(--pa-ink) !important;
    box-shadow: none !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .form-group input[readonly] {
    background: #f7f4ed !important;
    color: rgba(23, 21, 18, .68) !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .select2-container--default .select2-selection--single {
    height: 42px !important;
    border: 1px solid var(--pa-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 16px !important;
    padding-right: 42px !important;
    color: var(--pa-ink) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 40px !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 40px !important;
    margin-right: 10px !important;
    font-size: 16px !important;
    line-height: 38px !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 10px !important;
}

.photo-award-profile-container .profile-content .select2-dropdown,
.photo-award-profile-container .profile-content .select2-search--dropdown .select2-search__field,
.photo-award-profile-container .profile-content .select2-results__option {
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.photo-award-profile-container .profile-content .select2-search--dropdown {
    padding: 6px !important;
}

.photo-award-profile-container .profile-content .select2-search--dropdown .select2-search__field {
    min-height: 38px !important;
    padding: 8px 12px !important;
    border: 1px solid var(--pa-line) !important;
    border-radius: 8px !important;
    color: var(--pa-ink) !important;
}

.photo-award-profile-container .profile-content .select2-results__option {
    min-height: 36px !important;
    padding: 8px 12px !important;
}

.photo-award-profile-container .pa-edit-profile-v2 input::placeholder,
.photo-award-profile-container .pa-edit-profile-v2 textarea::placeholder {
    color: rgba(23, 21, 18, .45) !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .form-group input:focus,
.photo-award-profile-container .pa-edit-profile-v2 .form-group select:focus,
.photo-award-profile-container .pa-edit-profile-v2 .form-group textarea:focus {
    border-color: rgba(201, 137, 25, .58) !important;
    box-shadow: 0 0 0 4px rgba(201, 137, 25, .12) !important;
    outline: none !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .radio-group {
    gap: 22px;
}

.photo-award-profile-container .pa-edit-profile-v2 .radio-label {
    color: var(--pa-ink) !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .radio-label span {
    color: var(--pa-ink) !important;
    font-size: 15px;
    font-weight: 700;
}

.photo-award-profile-container .pa-edit-profile-v2 .radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--pa-ink);
}

.photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-actions .btn-primary {
    background: #171512 !important;
    border-color: #171512 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(23, 21, 18, 0.14);
}

.photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-actions .btn-primary:hover {
    background: #2b2823 !important;
    border-color: #2b2823 !important;
    color: #ffffff !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-actions .btn-secondary {
    background: #ffffff !important;
    border-color: rgba(23, 21, 18, 0.18) !important;
    color: #2f2b25 !important;
}

.photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-actions .btn-secondary:hover {
    background: #f6f3ee !important;
    border-color: rgba(23, 21, 18, 0.28) !important;
    color: #171512 !important;
}

.pa-profile-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    margin: 16px 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--pa-soft-gold);
    color: #7a4e00;
    cursor: pointer;
    font-weight: 800;
    width: fit-content;
}

.pa-profile-switch input[type="checkbox"] {
    accent-color: var(--pa-accent, #c8911f);
    flex: 0 0 auto;
}

.pa-profile-switch span {
    color: currentColor !important;
}

.pa-profile-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.pa-profile-media-field {
    display: grid;
    gap: 9px;
    align-content: start;
}

.pa-profile-media-preview {
    width: min(100%, 280px);
    aspect-ratio: 16 / 10;
    border: 1px dashed rgba(201,137,25,.45);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff, #f7efe1);
    display: grid;
    place-items: center;
    color: var(--pa-muted);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(41, 32, 18, 0.06);
}

.pa-profile-media-field-profile_image .pa-profile-media-preview {
    width: 156px;
    aspect-ratio: 1;
    border-radius: 18px;
}

.pa-profile-media-field-cover_image .pa-profile-media-preview {
    width: min(100%, 340px);
    aspect-ratio: 16 / 9;
}

.pa-profile-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pa-profile-media-field input[type="file"],
.pa-profile-form-subcard input[type="file"] {
    width: 100%;
    max-width: 340px;
    padding: 10px;
    border: 1px solid var(--pa-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--pa-ink);
    font-size: 13px;
}

.pa-profile-media-guidance {
    display: block;
    max-width: 340px;
    line-height: 1.45;
}

.pa-profile-remove-image {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pa-muted);
    font-size: 13px;
}

.pa-public-profile-state {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid var(--pa-line);
}

.pa-public-profile-shell {
    --pa-ivory: #fbfaf7;
    --pa-card: #ffffff;
    --pa-ink: #171512;
    --pa-muted: #77716a;
    --pa-line: rgba(40, 32, 22, 0.12);
    --pa-gold: #c98919;
    --pa-soft-gold: #f7efe1;
    background: var(--pa-ivory);
    color: var(--pa-ink);
}

.pa-public-profile-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: end;
    overflow: hidden;
    background: linear-gradient(135deg, #25221e, #94846e);
}

.pa-public-profile-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pa-public-profile-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .1) 54%, rgba(0, 0, 0, .08)),
        linear-gradient(0deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, .04));
}

.pa-public-profile-hero-content {
    position: relative;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(22px, 4vw, 42px);
    align-items: center;
    color: #fff;
}

.pa-public-profile-avatar {
    width: 132px;
    height: 132px;
    border: 4px solid #fff;
    flex: 0 0 auto;
}

.pa-public-profile-kicker {
    color: #f3d9a8;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 800;
}

.pa-public-profile-hero h1 {
    margin: 0;
    font-family: var(--pa-font-display);
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1;
    color: #d49a24;
    text-shadow: 0 2px 8px rgba(255, 255, 255, .5), 0 2px 10px rgba(0, 0, 0, .22);
}

.pa-public-profile-name {
    display: inline-block;
    max-width: min(100%, 560px);
    overflow-wrap: anywhere;
    background: none;
    color: #d49a24;
    -webkit-text-fill-color: currentColor;
    filter: none;
}

.pa-public-profile-type,
.pa-public-profile-location {
    margin: 6px 0;
    font-size: 17px;
}

.pa-public-profile-stats {
    width: min(1120px, calc(100% - 40px));
    margin: -34px auto 36px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
}

.pa-public-profile-stats div {
    padding: 22px;
    text-align: center;
    border-right: 1px solid var(--pa-line);
}

.pa-public-profile-stats div:last-child {
    border-right: 0;
}

.pa-public-profile-stats span {
    display: block;
    color: var(--pa-muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.pa-public-profile-stats strong {
    display: block;
    font-size: 20px;
}

.pa-public-profile-stats strong small {
    display: block;
    margin-top: 5px;
    color: var(--pa-muted);
    font-size: 12px;
    font-weight: 600;
}

.pa-public-profile-content {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto 70px;
}

.pa-public-profile-tabs {
    display: flex;
    gap: 34px;
    border-bottom: 1px solid var(--pa-line);
    margin-bottom: 28px;
}

.pa-public-profile-tabs a {
    padding: 16px 0;
    color: var(--pa-muted);
    text-decoration: none;
}

.pa-public-profile-tabs a.active {
    color: var(--pa-gold);
    border-bottom: 2px solid var(--pa-gold);
}

.pa-public-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.pa-public-profile-card {
    padding: 28px;
}

.pa-public-profile-main-card {
    grid-column: 1;
    min-width: 0;
}

.pa-public-profile-card h2 {
    margin-top: 0;
    font-family: var(--pa-font-display);
    font-size: 28px;
}

.pa-public-profile-card dl {
    display: grid;
    gap: 18px;
}

.pa-public-profile-card dt {
    color: var(--pa-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pa-public-profile-card dd {
    margin: 4px 0 0;
    color: var(--pa-ink);
}

@media (max-width: 900px) {
    .pa-profile-summary-card,
    .pa-public-profile-grid,
    .pa-edit-profile-v2 .form-row,
    .pa-edit-profile-v2 .form-row.pa-three-col,
    .pa-profile-media-grid {
        grid-template-columns: 1fr;
    }

    .pa-public-profile-main-card {
        grid-column: 1;
    }

    .pa-profile-summary-status {
        justify-items: start;
    }

    .pa-public-profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pa-profile-tabs,
    .pa-public-profile-tabs {
        overflow-x: auto;
    }

    .pa-public-profile-hero-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .pa-public-profile-avatar {
        width: 128px;
        height: 128px;
    }

    .pa-public-profile-stats {
        grid-template-columns: 1fr;
    }
}

/* Premium authentication experience */
#auth-modal.photo-award-auth-ui {
    --pa-auth-ink: #171512;
    --pa-auth-muted: rgba(23, 21, 18, 0.62);
    --pa-auth-line: rgba(39, 31, 20, 0.14);
    --pa-auth-gold: #c88411;
    --pa-auth-gold-dark: #a66605;
    --pa-auth-ivory: #fbf8f1;
}

.pa-login-page-wrap.photo-award-auth-ui {
    --pa-auth-ink: #171512;
    --pa-auth-muted: rgba(23, 21, 18, 0.62);
    --pa-auth-line: rgba(39, 31, 20, 0.14);
    --pa-auth-gold: #c88411;
    --pa-auth-gold-dark: #a66605;
    --pa-auth-ivory: #fbf8f1;
}

#auth-modal.photo-award-auth-ui .auth-modal-overlay {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 247, 232, 0.18), transparent 34%),
        rgba(22, 19, 15, 0.64);
    backdrop-filter: blur(9px);
}

#auth-modal.photo-award-auth-ui .auth-modal-container {
    width: min(96vw, 1120px);
    max-width: none !important;
    max-height: 94vh;
    padding: 0;
}

#auth-modal.photo-award-auth-ui .auth-modal-content,
.pa-login-page-wrap.photo-award-auth-ui .pa-login-page-inner {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 238, 0.92)),
        radial-gradient(circle at 90% 20%, rgba(214, 166, 83, 0.16), transparent 32%);
    box-shadow: 0 38px 90px rgba(36, 29, 20, 0.24);
}

#auth-modal.photo-award-auth-ui .auth-modal-content {
    max-height: 94vh;
    overflow-y: auto;
}

#auth-modal.photo-award-auth-ui .pa-auth-card-frame,
.pa-login-page-wrap.photo-award-auth-ui .pa-login-page-inner {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(500px, 1.08fr);
    min-height: 620px;
}

.pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-experience {
    width: min(96vw, 1120px);
    max-width: none !important;
    margin: 40px auto !important;
}

#auth-modal.photo-award-auth-ui .pa-auth-visual,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 620px;
    padding: 34px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(14, 12, 10, 0.08), rgba(14, 12, 10, 0.74)),
        var(--pa-auth-image, url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=80")) center / cover;
}

#auth-modal.photo-award-auth-ui .pa-auth-visual::before,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.28), transparent 18%),
        linear-gradient(135deg, rgba(219, 177, 101, 0.16), transparent 45%);
    pointer-events: none;
}

.pa-auth-visual-mark,
.pa-auth-visual-copy,
.pa-auth-visual p {
    position: relative;
    z-index: 1;
}

.pa-auth-visual-mark {
    position: absolute;
    top: 30px;
    left: 32px;
    max-width: 74%;
    font-family: var(--pa-font-display);
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1;
    color: rgba(255, 220, 147, 0.95);
    overflow-wrap: anywhere;
}

.pa-auth-visual-copy {
    display: grid;
    gap: 4px;
    margin-bottom: 54px;
    font-family: var(--pa-font-display);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.03;
}

.pa-auth-visual-copy strong {
    color: #f1c76e;
    font-weight: 400;
}

.pa-auth-visual-copy span {
    color: #fff;
}

.pa-auth-visual p {
    margin: 0;
    max-width: 220px;
    color: rgba(255, 239, 206, 0.92);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.85;
    text-transform: uppercase;
}

#auth-modal.photo-award-auth-ui .pa-auth-forms-panel,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-forms-panel {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(28px, 4vw, 56px);
}

#auth-modal.photo-award-auth-ui .auth-form,
.pa-login-page-wrap.photo-award-auth-ui .pa-page-auth-form {
    width: 100%;
}

.pa-login-page-wrap.photo-award-auth-ui #pa-login-page-container > .pa-page-auth-form,
.pa-login-page-wrap.photo-award-auth-ui #pa-login-page-container .pa-auth-forms-panel > .pa-page-auth-form {
    display: none !important;
}

.pa-login-page-wrap.photo-award-auth-ui #pa-login-page-container > .pa-page-auth-form.is-visible,
.pa-login-page-wrap.photo-award-auth-ui #pa-login-page-container .pa-auth-forms-panel > .pa-page-auth-form.is-visible {
    display: block !important;
}

#auth-modal.photo-award-auth-ui .auth-modal-close {
    position: absolute !important;
    top: 22px !important;
    right: 22px !important;
    z-index: 5 !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid rgba(39, 31, 20, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.74);
    color: var(--pa-auth-ink);
    box-shadow: 0 16px 34px rgba(36, 29, 20, 0.1);
}

#auth-modal.photo-award-auth-ui .auth-form-header,
.pa-login-page-wrap.photo-award-auth-ui .auth-form-header {
    margin-bottom: 28px;
    text-align: left;
}

#auth-modal.photo-award-auth-ui .pa-auth-brand,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-brand {
    display: inline-grid;
    gap: 2px;
    max-width: 100%;
    margin-bottom: 30px;
    color: var(--pa-auth-ink);
    font-family: var(--pa-font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.28em;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

#auth-modal.photo-award-auth-ui .pa-auth-brand b,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-brand b {
    display: block;
    color: var(--pa-auth-gold);
    font-family: var(--pa-font-display);
    font-size: 58px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.8;
}

#auth-modal.photo-award-auth-ui .auth-form-header h2,
.pa-login-page-wrap.photo-award-auth-ui .auth-form-header h2,
.pa-login-page-wrap.photo-award-auth-ui h2 {
    margin: 0;
    color: var(--pa-auth-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-align: left;
}

#auth-modal.photo-award-auth-ui .auth-form-header p,
.pa-login-page-wrap.photo-award-auth-ui .auth-form-header p,
#auth-modal.photo-award-auth-ui .auth-registration-note,
.pa-login-page-wrap.photo-award-auth-ui .auth-registration-note {
    max-width: 520px;
    margin: 14px 0 0;
    color: var(--pa-auth-muted);
    font-size: 16px;
    line-height: 1.55;
    text-align: left;
}

#auth-modal.photo-award-auth-ui .form-row,
.pa-login-page-wrap.photo-award-auth-ui .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#auth-modal.photo-award-auth-ui .form-group,
.pa-login-page-wrap.photo-award-auth-ui .form-group {
    margin: 0 0 18px;
}

#auth-modal.photo-award-auth-ui label,
.pa-login-page-wrap.photo-award-auth-ui label {
    margin: 0 0 8px;
    color: var(--pa-auth-ink);
    font-size: 14px;
    font-weight: 800;
}

#auth-modal.photo-award-auth-ui input[type="text"],
#auth-modal.photo-award-auth-ui input[type="email"],
#auth-modal.photo-award-auth-ui input[type="password"],
#auth-modal.photo-award-auth-ui select,
.pa-login-page-wrap.photo-award-auth-ui input[type="text"],
.pa-login-page-wrap.photo-award-auth-ui input[type="email"],
.pa-login-page-wrap.photo-award-auth-ui input[type="password"],
.pa-login-page-wrap.photo-award-auth-ui select {
    min-height: 56px !important;
    padding: 0 16px !important;
    border: 1px solid var(--pa-auth-line) !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    color: var(--pa-auth-ink) !important;
    font-size: 15px !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

#auth-modal.photo-award-auth-ui input::placeholder,
.pa-login-page-wrap.photo-award-auth-ui input::placeholder {
    color: rgba(23, 21, 18, 0.44);
}

#auth-modal.photo-award-auth-ui input:focus,
#auth-modal.photo-award-auth-ui select:focus,
.pa-login-page-wrap.photo-award-auth-ui input:focus,
.pa-login-page-wrap.photo-award-auth-ui select:focus {
    border-color: rgba(200, 132, 17, 0.58) !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(200, 132, 17, 0.12) !important;
}

#auth-modal.photo-award-auth-ui .checkbox-group,
.pa-login-page-wrap.photo-award-auth-ui .checkbox-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#auth-modal.photo-award-auth-ui .checkbox-label,
.pa-login-page-wrap.photo-award-auth-ui .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--pa-auth-muted);
    font-weight: 700;
}

#auth-modal.photo-award-auth-ui .checkbox-label input[type="checkbox"],
.pa-login-page-wrap.photo-award-auth-ui .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--pa-auth-gold);
}

#auth-modal.photo-award-auth-ui .checkmark,
.pa-login-page-wrap.photo-award-auth-ui .checkmark {
    display: none;
}

#auth-modal.photo-award-auth-ui .btn-primary,
.pa-login-page-wrap.photo-award-auth-ui .btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 58px;
    border: 1px solid rgba(171, 105, 5, 0.32) !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #dca23c, #b87205) !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 18px 32px rgba(188, 121, 10, 0.22);
}

#auth-modal.photo-award-auth-ui .btn-primary:hover,
.pa-login-page-wrap.photo-award-auth-ui .btn-primary:hover {
    background: linear-gradient(135deg, #e4ad4e, #a66605) !important;
}

#auth-modal.photo-award-auth-ui .btn-outline,
.pa-login-page-wrap.photo-award-auth-ui .btn-outline {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(200, 132, 17, 0.42) !important;
    border-radius: 11px !important;
    background: rgba(255, 252, 246, 0.72) !important;
    color: var(--pa-auth-gold-dark) !important;
    font-weight: 800;
}

#auth-modal.photo-award-auth-ui .btn-link,
.pa-login-page-wrap.photo-award-auth-ui .btn-link,
#auth-modal.photo-award-auth-ui .pa-forgot-inline,
.pa-login-page-wrap.photo-award-auth-ui .pa-forgot-inline {
    width: auto;
    min-height: auto;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--pa-auth-gold-dark) !important;
    font-size: 13px;
    font-weight: 800;
}

#auth-modal.photo-award-auth-ui .auth-form-footer,
.pa-login-page-wrap.photo-award-auth-ui .auth-form-footer,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-inline-actions {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

#auth-modal.photo-award-auth-ui .auth-form-footer::before,
.pa-login-page-wrap.photo-award-auth-ui .auth-form-footer::before,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-inline-actions::before {
    content: "";
    display: none;
}

#auth-modal.photo-award-auth-ui .auth-form-footer::before {
    content: "";
    display: none;
}

#auth-modal.photo-award-auth-ui #auth-login-form .auth-form-footer::before,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-inline-actions::before,
#auth-modal.photo-award-auth-ui #auth-register-form .auth-form-footer::before,
.pa-login-page-wrap.photo-award-auth-ui #pa-page-register-form .auth-form-footer::before {
    content: "";
    display: none;
}

.pa-auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(39, 31, 20, 0.1);
}

.pa-auth-benefits span {
    color: var(--pa-auth-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.pa-auth-benefits span::before {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
    border: 1px solid rgba(200, 132, 17, 0.28);
    border-radius: 50%;
    background: rgba(249, 241, 226, 0.92);
}

@media (max-width: 1180px) {
    #auth-modal.photo-award-auth-ui .pa-auth-card-frame,
    .pa-login-page-wrap.photo-award-auth-ui .pa-login-page-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-visual,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-visual {
        display: none;
    }

    #auth-modal.photo-award-auth-ui .auth-modal-container,
    .pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-experience {
        width: min(94vw, 620px);
    }

    #auth-modal.photo-award-auth-ui .auth-modal-content,
    .pa-login-page-wrap.photo-award-auth-ui .pa-login-page-inner {
        border-radius: 28px;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-forms-panel,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-forms-panel {
        display: block;
        padding: clamp(34px, 6vw, 54px);
    }

    #auth-modal.photo-award-auth-ui .auth-form-header,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header,
    #auth-modal.photo-award-auth-ui .auth-form-header h2,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header h2,
    #auth-modal.photo-award-auth-ui .auth-form-header p,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header p,
    #auth-modal.photo-award-auth-ui .auth-registration-note,
    .pa-login-page-wrap.photo-award-auth-ui .auth-registration-note {
        text-align: left;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-brand,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-brand {
        margin-bottom: 22px;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-brand b,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-brand b {
        font-size: 50px;
    }

    #auth-modal.photo-award-auth-ui .auth-form-header h2,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header h2,
    .pa-login-page-wrap.photo-award-auth-ui h2 {
        font-size: clamp(34px, 6vw, 46px);
    }

    #auth-modal.photo-award-auth-ui .form-row,
    .pa-login-page-wrap.photo-award-auth-ui .form-row {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 0 !important;
    }
}

@media (max-width: 640px) {
    #auth-modal.photo-award-auth-ui .auth-modal-container {
        width: min(96vw, 520px);
    }

    #auth-modal.photo-award-auth-ui .pa-auth-forms-panel,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-forms-panel {
        padding: 26px 20px;
    }

    #auth-modal.photo-award-auth-ui .form-row,
    .pa-login-page-wrap.photo-award-auth-ui .form-row,
    .pa-auth-benefits {
        grid-template-columns: 1fr;
    }

    #auth-modal.photo-award-auth-ui .auth-form-header h2,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header h2 {
        font-size: 36px;
    }

    #auth-modal.photo-award-auth-ui .checkbox-group,
    .pa-login-page-wrap.photo-award-auth-ui .checkbox-group {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Auth UI stability pass: keeps login/register/reset clean under zoom and mobile widths. */
#auth-modal.photo-award-auth-ui {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

#auth-modal.photo-award-auth-ui,
#auth-modal.photo-award-auth-ui *,
.pa-login-page-wrap.photo-award-auth-ui,
.pa-login-page-wrap.photo-award-auth-ui * {
    box-sizing: border-box;
}

#auth-modal.photo-award-auth-ui .auth-modal-container {
    position: relative;
    width: min(94vw, 1040px);
    max-height: 92dvh;
    margin: 0 auto;
}

#auth-modal.photo-award-auth-ui .auth-modal-content {
    max-height: 92dvh;
    overflow: auto;
    overscroll-behavior: contain;
}

#auth-modal.photo-award-auth-ui .pa-auth-card-frame,
.pa-login-page-wrap.photo-award-auth-ui .pa-login-page-inner {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    min-height: min(720px, 92dvh);
}

#auth-modal.photo-award-auth-ui .pa-auth-visual,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-visual {
    min-width: 0;
    min-height: min(720px, 92dvh);
}

#auth-modal.photo-award-auth-ui .pa-auth-visual-copy,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-visual-copy {
    max-width: 260px;
    overflow-wrap: anywhere;
}

#auth-modal.photo-award-auth-ui .pa-auth-forms-panel,
.pa-login-page-wrap.photo-award-auth-ui .pa-auth-forms-panel {
    min-width: 0;
    align-items: flex-start;
    overflow: visible;
}

#auth-modal.photo-award-auth-ui .auth-form:not(.active) {
    display: none !important;
}

#auth-modal.photo-award-auth-ui .auth-form.active {
    display: block !important;
}

#auth-modal.photo-award-auth-ui .auth-form-body,
.pa-login-page-wrap.photo-award-auth-ui .auth-form-body {
    width: 100%;
}

#auth-modal.photo-award-auth-ui .auth-modal-close {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 20 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#auth-modal.photo-award-auth-ui .auth-modal-close span {
    display: block;
    transform: translateY(-1px);
}

#auth-modal.photo-award-auth-ui #auth-register-form .auth-form-header,
.pa-login-page-wrap.photo-award-auth-ui #pa-page-register-form .auth-form-header {
    margin-bottom: 20px;
}

#auth-modal.photo-award-auth-ui #auth-register-form .auth-registration-note,
.pa-login-page-wrap.photo-award-auth-ui #pa-page-register-form .auth-registration-note {
    margin-top: 10px;
    font-size: 13px;
}

#auth-modal.photo-award-auth-ui select.pa-country-select,
.pa-login-page-wrap.photo-award-auth-ui select.pa-country-select {
    width: 100%;
    appearance: auto;
}

#auth-modal.photo-award-auth-ui .otp-input,
.pa-login-page-wrap.photo-award-auth-ui .otp-input {
    text-align: center;
    letter-spacing: 0.42em;
    font-weight: 800;
}

#auth-modal.photo-award-auth-ui #auth-forgot-form .auth-form-footer::before,
#auth-modal.photo-award-auth-ui #auth-forgot-otp-form .auth-form-footer::before,
#auth-modal.photo-award-auth-ui #auth-otp-form .auth-form-footer::before {
    display: none;
    content: "";
}

#auth-modal.photo-award-auth-ui .auth-message,
.pa-login-page-wrap.photo-award-auth-ui .auth-message {
    overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
    #auth-modal.photo-award-auth-ui .pa-auth-card-frame,
    .pa-login-page-wrap.photo-award-auth-ui .pa-login-page-inner {
        grid-template-columns: 1fr !important;
        min-height: 0;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-visual,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-visual {
        display: none !important;
    }

    #auth-modal.photo-award-auth-ui .auth-modal-container,
    .pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-experience {
        width: min(94vw, 640px) !important;
    }
}

@media (max-width: 720px) {
    #auth-modal.photo-award-auth-ui .auth-modal-container {
        width: min(94vw, 520px) !important;
        max-height: 90dvh;
    }

    #auth-modal.photo-award-auth-ui .auth-modal-content {
        border-radius: 22px;
        max-height: 90dvh;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-forms-panel,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-forms-panel {
        padding: 28px 20px 24px !important;
    }

    #auth-modal.photo-award-auth-ui .auth-form-header,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header {
        padding-right: 34px;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-brand,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-brand {
        margin-bottom: 18px;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-brand b,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-brand b {
        font-size: 42px;
    }

    #auth-modal.photo-award-auth-ui .auth-form-header h2,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header h2,
    .pa-login-page-wrap.photo-award-auth-ui h2 {
        font-size: 34px;
        line-height: 1.06;
    }

    #auth-modal.photo-award-auth-ui .auth-form-header p,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header p {
        font-size: 14px;
    }

    #auth-modal.photo-award-auth-ui input[type="text"],
    #auth-modal.photo-award-auth-ui input[type="email"],
    #auth-modal.photo-award-auth-ui input[type="password"],
    #auth-modal.photo-award-auth-ui select,
    .pa-login-page-wrap.photo-award-auth-ui input[type="text"],
    .pa-login-page-wrap.photo-award-auth-ui input[type="email"],
    .pa-login-page-wrap.photo-award-auth-ui input[type="password"],
    .pa-login-page-wrap.photo-award-auth-ui select {
        min-height: 52px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 430px) {
    #auth-modal.photo-award-auth-ui .auth-modal-container {
        width: 96vw !important;
    }

    #auth-modal.photo-award-auth-ui .pa-auth-forms-panel,
    .pa-login-page-wrap.photo-award-auth-ui .pa-auth-forms-panel {
        padding: 24px 16px 20px !important;
    }

    #auth-modal.photo-award-auth-ui .auth-form-header h2,
    .pa-login-page-wrap.photo-award-auth-ui .auth-form-header h2,
    .pa-login-page-wrap.photo-award-auth-ui h2 {
        font-size: 30px;
    }

    #auth-modal.photo-award-auth-ui .checkbox-group,
    .pa-login-page-wrap.photo-award-auth-ui .checkbox-group {
        gap: 10px;
    }

    #auth-modal.photo-award-auth-ui .btn-primary,
    .pa-login-page-wrap.photo-award-auth-ui .btn-primary,
    #auth-modal.photo-award-auth-ui .btn-outline,
    .pa-login-page-wrap.photo-award-auth-ui .btn-outline {
        min-height: 52px;
    }
}

/* ===== EVENT REGISTRATION FORM STYLES ===== */
/* ===== EVENT REGISTRATION FORM ===== */
.event-registration-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 24px 16px;
    width: 100%;
}

.event-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    text-align: center;
    letter-spacing: -0.3px;
}

.event-subtitle {
    font-size: 15px;
    color: #888;
    margin: 0 0 28px 0;
    text-align: center;
    font-weight: 400;
}

.ui.form {
    background: #fff;
    padding: 32px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

.ui.form .field {
    margin-bottom: 22px;
}

.ui.form .field > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
    font-size: 14px;
}

.ui.form .field input[type="text"],
.ui.form .field input[type="email"],
.ui.form .field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.ui.form .field input[type="text"]:focus,
.ui.form .field input[type="email"]:focus,
.ui.form .field textarea:focus {
    outline: none;
    border-color: #df9400;
    box-shadow: 0 0 0 3px rgba(223, 148, 0, 0.1);
}

.ui.form .field input.error,
.ui.form .field textarea.error {
    border-color: #dc3545;
}

/* Entry Type */
.field-entry-type {
    margin-bottom: 22px;
}

.entry-type-info {
    padding: 14px 16px;
    background: #faf6ef;
    border-left: 3px solid #df9400;
    border-radius: 0 8px 8px 0;
    margin-top: 8px;
}

.entry-type-info p {
    margin: 0;
    color: #333;
    font-size: 14px;
}

.ui.radio.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.ui.radio.checkbox:hover {
    border-color: #df9400;
    background: #fffcf5;
}

.ui.radio.checkbox input[type="radio"] {
    margin: 0;
    accent-color: #df9400;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ui.radio.checkbox label {
    cursor: pointer;
    font-weight: 500;
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Topics / Categories */
.field.field-topics {
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fcfcfc;
}

.field-topics-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.field-topics-container > label {
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #222 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.field-topics-price-container {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

.price-value {
    font-weight: 700;
    color: #df9400;
    font-size: 18px;
}

.topic-checkbox-group {
    margin-bottom: 12px;
}

.topic-checkbox-group .grouped-topics-container {
    gap: 24px !important;
}

.ui.checkbox.topic-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
}

.ui.checkbox.topic-checkbox input[type="checkbox"] {
    margin: 0;
    accent-color: #df9400;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ui.checkbox.topic-checkbox label {
    cursor: pointer;
    font-weight: 400;
    margin: 0;
    font-size: 14px;
    color: #333;
}

.topic-selection-info {
    margin-top: 4px;
}

.topic-selection-info small {
    color: #999;
    font-size: 12px;
}

.no-topics {
    color: #888;
    font-style: italic;
    padding: 12px 0;
    margin: 0;
}

/* Upload Section */
.field-upload {
    margin-bottom: 24px;
}

.upload-section {
    margin-top: 12px;
}

.image-upload-area {
    border: 2px dashed #d5d5d5;
    border-radius: 10px;
    padding: 28px;
    text-align: center;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.image-upload-area:hover {
    border-color: #df9400;
    background: #fffcf5;
}

.upload-input-div {
    display: block;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.upload-input-div:before {
    content: 'Select Photo';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #df9400;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.upload-input-div:hover:before {
    background: #c68300;
}

span.upload-input-div input {
    position: relative;
    opacity: 0;
    cursor: pointer;
    height: 42px;
    width: 100%;
    z-index: 2;
}

.upload-preview {
    margin-top: 14px;
}

.upload-help {
    color: #777;
    font-size: 13px;
    margin: 8px 0 0;
}

.photo-preview {
    position: relative;
    display: inline-block;
    margin: 8px;
}

.photo-preview img {
    max-width: 150px;
    max-height: 150px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.remove-photo {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.remove-photo:hover {
    background: #b02a37;
}

.series-upload-container {
    margin-top: 12px;
}

.upload-instructions {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #faf6ef;
    border-left: 3px solid #df9400;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #555;
}

.series-inputs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.series-upload-item {
    text-align: center;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.15s ease;
}

.series-upload-item:hover {
    border-color: #df9400;
}

.series-upload-item small {
    display: block;
    margin-top: 8px;
    color: #999;
    font-size: 12px;
}

/* Terms checkbox */
.ui.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ui.checkbox input[type="checkbox"] {
    margin: 0;
    accent-color: #df9400;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ui.checkbox label {
    cursor: pointer;
    font-weight: normal;
    margin: 0 !important;
    font-size: 14px;
}

/* Submit button */
.field-submit {
    padding-top: 8px;
}

.ui.button.primary {
    background: #df9400;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 36px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    width: 100%;
}

.ui.button.primary:hover {
    background: #c68300;
}

.ui.button.primary:active {
    transform: scale(0.99);
}

.ui.button.primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Messages */
.ui.message {
    padding: 14px 18px;
    margin: 18px 0;
    font-weight: 500;
    border-radius: 8px;
    font-size: 14px;
}

.ui.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ui.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ui.message.info {
    background: #e8f4fd;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.registration-status-message {
    text-align: center;
}

/* Errors */
.field-error {
    margin-top: 6px;
    font-size: 12px;
    color: #dc3545;
    font-weight: 500;
    display: none;
}

.field-error.show {
    display: block;
}

.field.has-error input,
.field.has-error textarea {
    border-color: #dc3545;
}

.field.field-topics.has-error {
    border-color: #dc3545;
}

.delete-btn {
    padding: 0;
}

.char-counter {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

/* ===== RESPONSIVE: Event Registration ===== */
@media (max-width: 768px) {
    .event-registration-container {
        padding: 16px 10px;
    }

    .ui.form {
        padding: 20px 16px;
    }

    .event-title {
        font-size: 22px;
    }

    .event-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .field.field-topics {
        padding: 14px;
    }

    .topic-checkbox-group .grouped-topics-container {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .topic-checkbox-group .grouped-topics-container > div {
        min-width: 0 !important;
    }

    .series-inputs-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ui.form {
        padding: 16px 12px;
        border-radius: 8px;
    }

    .event-title {
        font-size: 20px;
    }

    .image-upload-area {
        padding: 20px 14px;
    }

    .series-upload-item {
        padding: 12px;
    }

    .field-topics-container {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* ===== PREMIUM SUBMISSION FLOW ===== */
body.photo-award-entry-edit-route #header,
body.photo-award-entry-edit-route #footer,
body.photo-award-entry-edit-route #page > hr {
    display: none !important;
}

.event-registration-container.pa-submission-page {
    color: #1f1d1a;
    box-sizing: border-box;
    font-family: var(--pa-font-accent);
    margin: 0 auto;
    max-width: min(1060px, 100%);
    overflow-x: hidden;
    padding: 54px 22px 72px;
    width: 100%;
}

.event-registration-container.pa-submission-page *,
.event-registration-container.pa-submission-page input,
.event-registration-container.pa-submission-page textarea,
.event-registration-container.pa-submission-page button,
.event-registration-container.pa-submission-page select {
    font-family: var(--pa-font-accent);
}

.pa-submission-page .pa-submission-hero {
    box-sizing: border-box;
    border-bottom: 1px solid rgba(190, 143, 58, 0.2);
    margin: 0 auto 26px;
    max-width: min(920px, 100%);
    padding: 0 0 26px;
    text-align: left;
    width: 100%;
}

.pa-submission-page .pa-submission-kicker {
    color: #c78913;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.pa-submission-page .event-title {
    color: #181613;
    font-family: var(--pa-font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0 0 12px;
    text-align: left;
}

.pa-submission-page .event-subtitle {
    color: rgba(31, 29, 26, 0.62);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.pa-submission-steps {
    background: #fffdfa;
    border: 1px solid rgba(190, 143, 58, 0.2);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(65, 50, 27, 0.07);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto 24px;
    max-width: min(920px, 100%);
    overflow: hidden;
    width: 100%;
}

.pa-submission-step {
    align-items: center;
    background: transparent;
    border-right: 1px solid rgba(190, 143, 58, 0.14);
    border-bottom: 0;
    border-left: 0;
    border-top: 0;
    cursor: pointer;
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 18px 20px;
    text-align: left;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.pa-submission-step:last-child {
    border-right: 0;
}

.pa-submission-step span {
    align-items: center;
    background: #f8f1e5;
    border: 1px solid rgba(190, 143, 58, 0.28);
    border-radius: 50%;
    color: #b97809;
    display: inline-flex;
    flex: 0 0 32px;
    font-size: 13px;
    font-weight: 800;
    height: 32px;
    justify-content: center;
}

.pa-submission-step strong {
    color: rgba(31, 29, 26, 0.68);
    display: block;
    font-size: 12px;
    font-family: var(--pa-font-body);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
}

.pa-submission-step.is-active {
    background: linear-gradient(135deg, #fffaf1, #ffffff);
}

.pa-submission-step.is-active span {
    background: linear-gradient(135deg, #d99a22, #b97708);
    color: #fff;
}

.pa-submission-step.is-complete span {
    background: #171512;
    border-color: #171512;
    color: #fff;
}

.pa-submission-step:hover {
    background: #fffaf3;
}

.pa-submission-page #event-registration-form.pa-submission-form {
    background: #fffdfa;
    border: 1px solid rgba(190, 143, 58, 0.2);
    border-radius: 22px;
    box-sizing: border-box !important;
    box-shadow: 0 28px 90px rgba(58, 45, 24, 0.09);
    margin: 0 auto !important;
    max-width: min(920px, 100%);
    padding: 28px;
    width: 100%;
}

.pa-submission-panel[hidden] {
    display: none !important;
}

.pa-submission-panel {
    display: none;
}

.pa-submission-panel.is-active {
    display: block;
}

.pa-step-panel-header {
    border-bottom: 1px solid rgba(32, 27, 20, 0.08);
    margin: 0 0 22px;
    padding: 0 0 20px;
}

.pa-step-panel-header span {
    color: #b97809;
    display: block;
    font-family: var(--pa-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.pa-step-panel-header h2 {
    color: #171512;
    font-family: var(--pa-font-display);
    font-size: clamp(34px, 4.4vw, 52px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0 0 8px;
}

.pa-step-panel-header p {
    color: rgba(31, 29, 26, 0.62);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 680px;
}

.pa-submission-page #event-registration-form .field {
    background: #ffffff;
    border: 1px solid rgba(32, 27, 20, 0.08);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(42, 35, 24, 0.045);
    margin-bottom: 18px;
    padding: 22px 24px;
}

.pa-submission-page #event-registration-form .field.field-terms,
.pa-submission-page #event-registration-form .field.field-submit {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0;
}

.pa-submission-page #event-registration-form .field > label,
.pa-submission-page #event-registration-form .field-topics-container > label {
    color: #1e1b17 !important;
    font-size: 13px !important;
    font-family: var(--pa-font-body);
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    margin-bottom: 10px !important;
    text-transform: uppercase;
}

.pa-submission-page #event-registration-form input[type="text"],
.pa-submission-page #event-registration-form input[type="email"],
.pa-submission-page #event-registration-form textarea {
    background: #fffefa;
    border: 1px solid rgba(32, 27, 20, 0.13);
    border-radius: 12px;
    color: #171410;
    font-size: 15px;
    min-height: 48px;
    padding: 14px 16px;
}

.pa-submission-page #event-registration-form input::placeholder,
.pa-submission-page #event-registration-form textarea::placeholder {
    color: rgba(31, 29, 26, 0.42);
}

.pa-submission-page #event-registration-form textarea {
    min-height: 132px;
}

.pa-submission-page #event-registration-form input:focus,
.pa-submission-page #event-registration-form textarea:focus {
    border-color: #c78913;
    box-shadow: 0 0 0 4px rgba(199, 137, 19, 0.12);
    outline: none;
}

.pa-submission-page .entry-type-info {
    background: linear-gradient(135deg, #fbf5e9, #fffaf3);
    border: 1px solid rgba(199, 137, 19, 0.18);
    border-left: 4px solid #d99a22;
    border-radius: 14px;
    margin-top: 6px;
    padding: 16px 18px;
}

.pa-submission-page .entry-type-info p,
.pa-submission-page .entry-type-info strong {
    color: #2a241c;
    font-size: 16px;
}

.pa-submission-page .field.field-topics {
    background: #ffffff;
    border: 1px solid rgba(32, 27, 20, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.pa-submission-page .field-topics-container {
    border-bottom: 1px solid rgba(32, 27, 20, 0.08);
    margin-bottom: 18px;
    padding-bottom: 14px;
}

.pa-submission-page .field-topics-price-container {
    align-items: baseline;
    background: #fbf5e9;
    border: 1px solid rgba(199, 137, 19, 0.16);
    border-radius: 999px;
    color: rgba(31, 29, 26, 0.68);
    display: inline-flex;
    gap: 6px;
    padding: 8px 14px;
}

.pa-submission-page .price-value {
    color: #c78913;
    font-size: 20px;
    font-family: var(--pa-font-body);
}

.pa-submission-page .topic-checkbox-group .grouped-topics-container {
    gap: 14px !important;
}

.pa-submission-page .ui.checkbox.topic-checkbox,
.pa-submission-page .ui.radio.checkbox {
    background: #fffefa;
    border: 1px solid rgba(32, 27, 20, 0.09);
    border-radius: 12px;
    margin: 0 0 10px;
    padding: 13px 14px;
}

.pa-submission-page .ui.checkbox.topic-checkbox:hover,
.pa-submission-page .ui.radio.checkbox:hover {
    background: #fff9ef;
    border-color: rgba(199, 137, 19, 0.42);
}

.pa-submission-page .ui.checkbox input[type="checkbox"],
.pa-submission-page .ui.radio.checkbox input[type="radio"] {
    accent-color: #c78913;
    height: 18px;
    width: 18px;
}

.pa-submission-page .ui.checkbox label,
.pa-submission-page .ui.radio.checkbox label {
    color: #2a241c;
    font-size: 15px;
}

.pa-submission-page .pa-category-picker {
    color: #171511;
    margin-top: 18px;
}

.pa-submission-page .pa-category-search-wrap {
    margin-bottom: 22px;
    position: relative;
}

.pa-submission-page .pa-category-search-wrap::before {
    color: rgba(23, 21, 17, 0.42);
    content: "⌕";
    font-family: var(--pa-font-body);
    font-size: 22px;
    left: 18px;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.pa-submission-page #event-registration-form .pa-category-search {
    border-radius: 14px;
    font-size: 15px;
    height: 54px;
    padding-left: 52px;
}

.pa-submission-page .pa-category-picker-layout {
    align-items: stretch;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.pa-submission-page .pa-category-main {
    min-width: 0;
}

.pa-submission-page .pa-category-summary {
    background: #fffefa;
    border: 1px solid rgba(32, 27, 20, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(32, 27, 20, 0.06);
    min-height: 280px;
    padding: 26px;
}

.pa-submission-page .pa-category-summary h3 {
    border-bottom: 1px solid rgba(32, 27, 20, 0.1);
    color: #171511;
    font-family: var(--pa-font-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 22px;
    padding-bottom: 18px;
    text-transform: uppercase;
}

.pa-submission-page .pa-category-empty {
    color: rgba(31, 29, 26, 0.52);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.pa-submission-page .pa-category-summary-group {
    border-bottom: 1px solid rgba(32, 27, 20, 0.08);
    padding: 0 0 16px;
    margin-bottom: 16px;
}

.pa-submission-page .pa-category-summary-group:last-child {
    border-bottom: 0;
}

.pa-submission-page .pa-category-summary-heading {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pa-submission-page .pa-category-summary-heading strong {
    color: #171511;
    font-size: 15px;
    font-weight: 700;
}

.pa-submission-page .pa-category-summary-heading span,
.pa-submission-page .pa-category-summary-heading button {
    color: #b06e00;
    font-size: 12px;
    font-weight: 700;
}

.pa-submission-page .pa-category-summary-heading button {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.pa-submission-page .pa-category-summary ul {
    color: rgba(31, 29, 26, 0.66);
    font-size: 13px;
    line-height: 1.8;
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
}

.pa-submission-page .pa-category-summary li::before {
    content: "- ";
}

.pa-submission-page .pa-category-summary-totals {
    align-items: center;
    border-top: 1px solid rgba(32, 27, 20, 0.1);
    color: rgba(31, 29, 26, 0.7);
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
}

.pa-submission-page .pa-category-summary-totals strong {
    color: #171511;
}

.pa-submission-page .pa-category-summary-note,
.pa-submission-page .pa-category-help-note {
    background: #fbf5e9;
    border: 1px solid rgba(199, 137, 19, 0.13);
    border-radius: 13px;
    color: rgba(31, 29, 26, 0.68);
    font-size: 13px;
    line-height: 1.55;
    margin-top: 18px;
    padding: 14px 16px;
}

.pa-submission-page .pa-selected-chip-row {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0 0 16px;
}

.pa-submission-page .pa-selected-chip-row > div {
    flex: 1;
}

.pa-submission-page .pa-selected-chip-row span {
    color: #171511;
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pa-submission-page .pa-selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pa-submission-page .pa-selected-chip {
    background: #fffefa;
    border: 1px solid rgba(32, 27, 20, 0.12);
    border-radius: 8px;
    color: rgba(31, 29, 26, 0.76);
    cursor: pointer;
    font-size: 13px;
    padding: 8px 11px;
}

.pa-submission-page .pa-clear-category-selection {
    background: none;
    border: 0;
    color: #b06e00;
    cursor: pointer;
    font-size: 13px;
    padding: 28px 0 0;
    text-decoration: underline;
    white-space: nowrap;
}

.pa-submission-page .pa-category-limit-row {
    align-items: center;
    color: rgba(31, 29, 26, 0.62);
    display: flex;
    font-size: 13px;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pa-submission-page .pa-simple-category-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pa-submission-page .pa-category-card {
    align-items: center;
    background: #fffefa;
    border: 1px solid rgba(32, 27, 20, 0.1);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(32, 27, 20, 0.035);
    cursor: pointer;
    display: flex;
    justify-content: center;
    min-height: 132px;
    padding: 22px;
    text-align: center;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.pa-submission-page .pa-category-card:hover,
.pa-submission-page .pa-category-card.is-selected {
    background: linear-gradient(135deg, #fffefa, #fff7eb);
    border-color: rgba(199, 137, 19, 0.62);
    box-shadow: 0 18px 46px rgba(199, 137, 19, 0.09);
    transform: translateY(-1px);
}

.pa-submission-page .pa-category-card input,
.pa-submission-page .pa-subcategory-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pa-submission-page .pa-category-card span {
    color: #171511;
    font-size: 16px;
    font-weight: 800;
}

.pa-submission-page .pa-category-row {
    background: #fffefa;
    border: 1px solid rgba(32, 27, 20, 0.1);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
}

.pa-submission-page .pa-category-row.has-selection {
    border-color: rgba(199, 137, 19, 0.4);
}

.pa-submission-page .pa-category-row-header {
    align-items: center;
    background: transparent;
    border: 0;
    color: #171511;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: 34px 1fr auto auto;
    padding: 13px 16px;
    text-align: left;
    width: 100%;
}

.pa-submission-page .pa-category-index {
    align-items: center;
    background: #f6f1e8;
    border-radius: 999px;
    color: rgba(31, 29, 26, 0.72);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.pa-submission-page .pa-category-name {
    font-size: 15px;
    font-weight: 800;
}

.pa-submission-page .pa-category-count {
    background: #fbf5e9;
    border: 1px solid rgba(199, 137, 19, 0.13);
    border-radius: 7px;
    color: #b06e00;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
}

.pa-submission-page .pa-category-toggle-text {
    color: rgba(31, 29, 26, 0.62);
    font-size: 12px;
}

.pa-submission-page .pa-subcategory-grid {
    display: none;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 16px 16px;
}

.pa-submission-page .pa-category-row.is-open .pa-subcategory-grid {
    display: grid;
}

.pa-submission-page .pa-subcategory-option {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(32, 27, 20, 0.1);
    border-radius: 10px;
    color: #171511;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    min-height: 42px;
    padding: 10px 14px 10px 42px;
    position: relative;
}

.pa-submission-page .pa-subcategory-option::before {
    border: 1px solid rgba(31, 29, 26, 0.36);
    border-radius: 4px;
    content: "";
    height: 15px;
    left: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
}

.pa-submission-page .pa-subcategory-option.is-selected::before {
    background: #171511;
    border-color: #171511;
    box-shadow: inset 0 0 0 3px #171511;
}

.pa-submission-page .pa-subcategory-option.is-selected::after {
    color: #ffffff;
    content: "✓";
    font-size: 12px;
    font-weight: 800;
    left: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.pa-submission-page .pa-subcategory-option:hover,
.pa-submission-page .pa-subcategory-option.is-selected {
    border-color: rgba(199, 137, 19, 0.46);
    background: #fffaf3;
}

.pa-submission-page .field-free-entry {
    background: linear-gradient(135deg, #f7fbf8, #ffffff) !important;
    border: 1px solid rgba(42, 120, 86, 0.18) !important;
    border-radius: 16px !important;
}

.pa-submission-page .field-free-entry label {
    align-items: center;
    color: #173f2c;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 10px;
}

.pa-submission-page .field-free-entry input {
    height: 18px;
    width: 18px;
}

.pa-submission-page .field-free-entry p {
    color: rgba(23, 63, 44, 0.66);
    font-size: 13px;
    line-height: 1.55;
    margin: 8px 0 0 28px;
}

.pa-submission-page .topic-selection-info small,
.pa-submission-page .upload-help,
.pa-submission-page .char-counter {
    color: rgba(31, 29, 26, 0.55);
}

.pa-submission-page .image-upload-area {
    background:
        linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(255, 255, 255, 0.92)),
        radial-gradient(circle at 20% 20%, rgba(199, 137, 19, 0.12), transparent 26%);
    border: 1px dashed rgba(199, 137, 19, 0.42);
    border-radius: 18px;
    padding: 34px;
}

.pa-submission-page .image-upload-area:hover {
    background:
        linear-gradient(135deg, rgba(255, 247, 232, 0.98), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at 20% 20%, rgba(199, 137, 19, 0.16), transparent 26%);
    border-color: #c78913;
}

.pa-submission-page .upload-input-div {
    margin: 0 auto 18px;
    max-width: 360px;
}

.pa-submission-page .upload-input-div:before {
    background: linear-gradient(135deg, #22201b, #11100e);
    border-radius: 12px;
    box-shadow: 0 18px 34px rgba(18, 14, 8, 0.18);
    font-weight: 800;
}

.pa-submission-page .upload-input-div:hover:before {
    background: linear-gradient(135deg, #343029, #171512);
}

.pa-submission-page span.upload-input-div input {
    height: 52px;
}

.pa-submission-page .upload-preview img,
.pa-submission-page .photo-preview img {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 18px 34px rgba(18, 14, 8, 0.16);
    max-height: 190px;
    max-width: 190px;
}

.pa-submission-page .remove-photo {
    background: #be3f48;
    border: 3px solid #fffdfa;
    box-shadow: 0 10px 18px rgba(110, 30, 37, 0.22);
}

.pa-submission-page .upload-instructions {
    background: #fff9ef;
    border: 1px solid rgba(199, 137, 19, 0.18);
    border-left: 4px solid #d99a22;
    border-radius: 14px;
    color: rgba(31, 29, 26, 0.72);
}

.pa-submission-page .series-upload-item {
    border-color: rgba(32, 27, 20, 0.09);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(42, 35, 24, 0.045);
}

.pa-submission-page #submit-entry.ui.button.primary {
    background: linear-gradient(135deg, #22201b, #11100e);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(18, 14, 8, 0.18);
    font-size: 15px;
    font-weight: 900;
    min-height: 54px;
}

.pa-submission-page #submit-entry.ui.button.primary:hover {
    background: linear-gradient(135deg, #343029, #171512);
}

.pa-submission-page .ui.message {
    border-radius: 14px;
}

.pa-payment-review {
    background: #fffefa;
    border: 1px solid rgba(32, 27, 20, 0.1);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(42, 35, 24, 0.045);
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
    padding: 24px;
}

.pa-payment-review > div {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.pa-payment-review span {
    color: rgba(31, 29, 26, 0.55);
    font-size: 13px;
}

.pa-payment-review strong {
    color: #171512;
    font-family: var(--pa-font-display);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
}

.pa-payment-review p {
    color: rgba(31, 29, 26, 0.64);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.pa-entry-edit-page .pa-existing-images-section {
    background: linear-gradient(135deg, #fffefa, #ffffff);
    border: 1px solid rgba(32, 27, 20, 0.09);
    border-radius: 18px;
    margin-bottom: 18px;
    padding: 18px;
}

.pa-entry-edit-page .pa-existing-images-header {
    align-items: center;
    border-bottom: 1px solid rgba(32, 27, 20, 0.08);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.pa-entry-edit-page .pa-existing-images-header p,
.pa-entry-edit-page .pa-no-existing-images p {
    color: #1e1b17;
    font-family: var(--pa-font-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin: 0;
    text-transform: uppercase;
}

.pa-entry-edit-page .pa-change-images-button {
    min-height: 40px;
    padding: 10px 16px;
    width: auto;
}

.pa-entry-edit-page .pa-existing-images-preview {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.pa-entry-edit-page .existing-image-item {
    background: #14120f;
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(35, 28, 18, 0.12);
    min-height: 140px;
    overflow: hidden;
    position: relative;
}

.pa-entry-edit-page .existing-image-item img {
    display: block;
    height: 150px;
    object-fit: cover;
    width: 100%;
}

.pa-entry-edit-page .pa-image-change-note {
    background: #fff8e8;
    border: 1px solid rgba(199, 137, 19, 0.22);
    color: rgba(31, 29, 26, 0.76);
    margin: 0 0 16px;
    padding: 14px 16px;
}

.pa-entry-edit-page .pa-edit-submit-actions {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 12px !important;
}

.pa-entry-edit-page .cancel-edit-entry-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
}

.pa-step-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 22px;
}

.pa-step-next,
.pa-step-prev {
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--pa-font-body) !important;
    font-size: 13px;
    font-weight: 800;
    min-height: 46px;
    padding: 12px 22px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pa-step-next {
    background: #171512;
    border: 1px solid #171512;
    color: #fff;
    margin-left: auto;
}

.pa-step-next:hover {
    background: #2c2923;
    color: #fff;
    transform: translateY(-1px);
}

.pa-step-prev {
    background: #fff;
    border: 1px solid rgba(32, 27, 20, 0.16);
    color: rgba(31, 29, 26, 0.72);
}

.pa-step-prev:hover {
    background: #f7f3ec;
    color: #171512;
}

@media (max-width: 800px) {
    .event-registration-container.pa-submission-page {
        padding: 34px 14px 56px;
    }

    .pa-submission-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-submission-step:nth-child(2) {
        border-right: 0;
    }

    .pa-submission-page #event-registration-form.pa-submission-form {
        padding: 18px;
    }

    .pa-submission-page #event-registration-form .field {
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .pa-submission-page .event-title {
        font-size: 40px;
    }

    .pa-submission-steps {
        grid-template-columns: 1fr;
    }

    .pa-submission-step {
        border-right: 0;
        border-bottom: 1px solid rgba(190, 143, 58, 0.14);
        padding: 14px 16px;
    }

    .pa-submission-step:last-child {
        border-bottom: 0;
    }

    .pa-submission-page .field-topics-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .pa-submission-page .image-upload-area {
        padding: 24px 16px;
    }

    .pa-payment-review > div,
    .pa-entry-edit-page .pa-existing-images-header,
    .pa-entry-edit-page .pa-edit-submit-actions,
    .pa-step-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pa-entry-edit-page .pa-edit-submit-actions {
        display: flex;
    }

    .pa-step-next,
    .pa-step-prev {
        width: 100%;
    }
}


.single-entry-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--pa-font-body);
    width: 100%;
}

.entry-header {
    background: #ffffff;
    padding: 24px;
    margin-bottom: 24px;
}

.entry-title {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.entry-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.entry-meta span {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
}

.entry-type {
    background: #f3f4f6;
    color: #6b7280;
}

.entry-cost {
    background: #dbeafe;
    color: #1e40af;
}

.payment-status {
    font-weight: 600;
}

.status-wpi-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-wpi-paid, .status-publish {
}

.status-wpi-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.status-wpi-refunded {
    background: #e0f2fe;
    color: #0284c7;
}

.entry-content {
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.detail-section {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 16px;
}

.detail-section h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 svg {
    color: #6b7280;
    flex-shrink: 0;
}

.entry-images h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.entry-images h3 svg {
    color: #6b7280;
    flex-shrink: 0;
}

.detail-section p {
    margin: 0 0 8px 0;
    color: #374151;
    line-height: 1.5;
}

.certificate-link {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.certificate-link:hover {
    background: #aa7102;
    color: white;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.image-item {
    position: relative;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.entry-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px;
    background: #f9fafb;
    border-radius: 8px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: unset;
    border-radius: 0;
}

.action-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.pay-btn {
    background: #10b981;
    color: white;
    border-color: #10b981;
    order: 2;
}

.pay-btn:hover {
    background: #059669;
    color: white;
}

.edit-btn {order: 1;}

.edit-btn:hover {
    /* background: #d97706; */
    /* color: white; */
}

.delete-btn {
    /* background: #ef4444; */
    color: #ef4444;
    /* border-color: #ef4444; */
}

.delete-btn:hover {
    background: #dc2626;
    color: white;
}

.back-btn {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    order: -1;
    margin-right: auto;
}

.back-btn:hover {
    background: #4b5563;
    color: white;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

body .modal-content {
    background: white;
    padding: 24px;
    border-radius: 0;
    max-width: 400px;
    width: 90%;
}

.modal-actions .btn {width: 100%;}


.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}


.entry-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
    gap: 1rem;
    margin: 0;
}

.detail-section p:last-child {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .entry-content {
        grid-template-columns: 1fr;
    }

    .entry-actions {
        flex-direction: column;
    }

    .action-btn {
        justify-content: center;
    }
}


/* Entries List Container */
.entries-list-container {
    margin-top: 20px;
}

/* Entry Row */
.entry-row {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.entry-row:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

/* Row Image */
.entry-row-image {
    width: 80px;
    height: 80px;
    margin-right: 16px;
    position: relative;
    flex-shrink: 0;
}

.entry-row-image a.entry-row-image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.entry-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.entry-row-image:hover img {
    transform: scale(1.05);
}

.entry-row-title a.entry-title-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.entry-row-title a.entry-title-link:hover {
    color: #3b82f6;
}

.entry-row-image.no-image {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-placeholder {
    color: #9ca3af;
}

.image-count-indicator {
    position: absolute;
    bottom: -4px;
    left: -4px;
    background: #999999;
    color: white;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

/* Row Content */
.entry-row-content {
    flex: 1;
    margin-right: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.entry-row-title {
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}

.entry-row-title h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.entry-type-badge {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 6px 0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-row-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.entry-detail-item {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
}

.entry-detail-item svg {
    margin-right: 6px;
    flex-shrink: 0;
}

.status-item {
    font-weight: 500;
}

.entry-row-certificates {
    margin-top: 4px;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    text-decoration: none;
    font-size: 12px;
    margin-right: 12px;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.certificate-link:hover {
    color: #1d4ed8;
}

.certificate-link svg {
    margin-right: 4px;
}

/* Certificate Awards Section */
.entry-row-certificates-awards {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.certificate-award-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.certificate-award-item:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Award level specific styling */
.certificate-award-item.certificate-award-gold {
    border-left: 4px solid #FFD700;
    background: linear-gradient(to right, #fffbf0 0%, #fff 10%);
}

.certificate-award-item.certificate-award-silver {
    border-left: 4px solid #C0C0C0;
    background: linear-gradient(to right, #f8f8f8 0%, #fff 10%);
}

.certificate-award-item.certificate-award-bronze {
    border-left: 4px solid #CD7F32;
    background: linear-gradient(to right, #faf7f3 0%, #fff 10%);
}

.certificate-award-item.certificate-award-mention {
    border-left: 4px solid #6c757d;
    background: linear-gradient(to right, #f5f5f5 0%, #fff 10%);
}

.certificate-award-item .award-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    flex: 1;
}

.award-label .award-level-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.award-label-gold .award-level-text {
    color: #B8860B;
}

.award-label-silver .award-level-text {
    color: #808080;
}

.award-label-bronze .award-level-text {
    color: #CD7F32;
}

.award-label-mention .award-level-text {
    color: #6c757d;
}

.award-label .award-separator {
    color: #999;
    font-weight: 400;
    font-size: 13px;
    text-transform: lowercase;
}

.award-label .award-topic-text {
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.certificate-download-btn,
.certificate-generate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.certificate-download-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.certificate-download-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    transform: translateY(-1px);
}

.certificate-generate-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.certificate-generate-btn:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
    transform: translateY(-1px);
}

.certificate-generate-btn:active,
.certificate-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.certificate-generate-btn:disabled {
    background: #9e9e9e;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}

.certificate-generate-btn:disabled:hover {
    background: #9e9e9e;
    box-shadow: none;
    transform: none;
}

.certificate-download-btn svg,
.certificate-generate-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.certificate-generate-btn .btn-text,
.certificate-generate-btn .btn-loading {
    display: inline-block;
}

.certificate-generate-btn.loading .btn-text {
    display: none;
}

.certificate-generate-btn.loading .btn-loading {
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certificate-award-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .certificate-award-item .award-label {
        width: 100%;
    }

    .certificate-download-btn,
    .certificate-generate-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Row Actions */
.entry-row-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    /* height: 100%; */
    justify-content: space-between;
}

.pay-button {
    display: inline-flex;
    align-items: center;
    background: #10b981;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.pay-button:hover {
    background: #059669;
    color: white;
}

.pay-button svg {
    margin-right: 4px;
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.action-btn {
}

.action-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

.view-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #3b82f6;
}

.edit-btn:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #f59e0b;
}

.delete-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .entry-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .entry-row-image {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .entry-row-content {
        margin-right: 0;
        margin-bottom: 12px;
        width: 100%;
    }

    .entry-row-details {
        flex-direction: column;
        gap: 8px;
    }

    .entry-row-actions {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
}

/* Summary and No Entries */
.entries-summary p {margin: 0;}

.no-entries {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 20px 0;
}

.no-entries p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 20px;
}

/* ===== PREMIUM MY ENTRIES DASHBOARD ===== */
.pa-dashboard-shell .pa-my-entries-v2,
.pa-my-entries-v2 {
    color: #171512;
    font-family: var(--pa-font-accent);
    padding: 0;
}

.pa-my-entries-v2 .pa-my-entries-hero {
    border-bottom: 1px solid rgba(40, 32, 22, 0.1);
    margin-bottom: 28px;
    padding-bottom: 24px;
}

.pa-my-entries-v2 .pa-dashboard-kicker {
    color: #c88407;
    display: block;
    font-family: var(--pa-font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pa-my-entries-v2 h1 {
    color: #171512;
    font-family: var(--pa-font-display);
    font-size: clamp(48px, 6.2vw, 82px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0 0 12px;
}

.pa-my-entries-v2 .pa-my-entries-hero p {
    color: rgba(23, 21, 18, 0.62);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.pa-my-entries-v2 .entries-summary {
    background: #fffefa;
    border: 1px solid rgba(40, 32, 22, 0.1);
    border-radius: 20px;
    box-shadow: 0 18px 54px rgba(45, 36, 24, 0.06);
    display: grid;
    gap: 18px;
    margin: 0 0 26px;
    padding: 22px;
}

.pa-my-entries-v2 .entries-summary-count {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.pa-my-entries-v2 .entries-summary-count span,
.pa-my-entries-v2 .unpaid-invoices-copy span {
    color: rgba(23, 21, 18, 0.52);
    font-family: var(--pa-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pa-my-entries-v2 .entries-summary-count strong {
    color: #171512;
    font-family: var(--pa-font-display);
    font-size: 44px;
    font-weight: 400;
    line-height: 1;
}

.pa-my-entries-v2 .unpaid-invoices-summary {
    align-items: center;
    background: linear-gradient(135deg, #fbf6eb, #fffefa);
    border: 1px solid rgba(199, 137, 19, 0.22);
    border-radius: 18px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 20px;
}

.pa-my-entries-v2 .unpaid-invoices-copy {
    display: grid;
    gap: 7px;
}

.pa-my-entries-v2 .unpaid-invoices-copy strong {
    color: #171512;
    font-size: 18px;
    font-weight: 800;
}

.pa-my-entries-v2 .unpaid-invoices-copy p {
    color: rgba(23, 21, 18, 0.62);
    font-size: 14px;
    margin: 0;
}

.pa-my-entries-v2 #pay-all-btn.pay-all-button {
    background: #171512;
    border: 1px solid #171512;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-family: var(--pa-font-body);
    font-size: 13px;
    font-weight: 800;
    min-height: 46px;
    padding: 12px 20px;
    white-space: nowrap;
}

.pa-my-entries-v2 #pay-all-btn.pay-all-button:hover {
    background: #2c2923;
    color: #fff;
}

.pa-my-entries-v2 #pay-all-loading {
    color: rgba(23, 21, 18, 0.55);
    display: none;
    font-size: 13px;
}

.pa-my-entries-v2 #pay-all-message {
    display: none;
    grid-column: 1 / -1;
    margin-top: 0;
}

.pa-my-entries-v2 .entries-list-container {
    display: grid;
    gap: 16px;
    margin: 0;
}

.pa-my-entries-v2 .entry-row {
    align-items: center;
    background: #fffefa;
    border: 1px solid rgba(40, 32, 22, 0.1);
    border-radius: 18px;
    box-shadow: 0 16px 46px rgba(45, 36, 24, 0.055);
    display: grid;
    gap: 18px;
    grid-template-columns: 108px minmax(0, 1fr) auto;
    margin: 0;
    padding: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pa-my-entries-v2 .entry-row:hover {
    border-color: rgba(199, 137, 19, 0.26);
    box-shadow: 0 22px 60px rgba(45, 36, 24, 0.09);
    transform: translateY(-1px);
}

.pa-my-entries-v2 .entry-row-image {
    background: #15130f;
    border-radius: 14px;
    height: 96px;
    margin: 0;
    overflow: hidden;
    position: relative;
    width: 96px;
}

.pa-my-entries-v2 .entry-row-image a,
.pa-my-entries-v2 .entry-row-image a.entry-row-image-link {
    display: block;
    height: 100%;
    width: 100%;
}

.pa-my-entries-v2 .entry-row-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
    width: 100%;
}

.pa-my-entries-v2 .entry-row-image:hover img {
    transform: scale(1.04);
}

.pa-my-entries-v2 .no-image-placeholder {
    align-items: center;
    background: #f5f0e8;
    color: rgba(23, 21, 18, 0.42);
    display: flex;
    height: 100%;
    justify-content: center;
}

.pa-my-entries-v2 .image-count-indicator {
    background: rgba(23, 21, 18, 0.82);
    border-radius: 999px;
    bottom: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    left: 8px;
    padding: 4px 8px;
}

.pa-my-entries-v2 .entry-row-content {
    display: grid;
    gap: 13px;
    justify-content: center;
    margin: 0;
    min-width: 0;
}

.pa-my-entries-v2 .entry-row-title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.pa-my-entries-v2 .entry-row-title h3 {
    color: #171512;
    font-family: var(--pa-font-body);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0;
}

.pa-my-entries-v2 .entry-row-title a.entry-title-link {
    color: inherit;
    text-decoration: none;
}

.pa-my-entries-v2 .entry-row-title a.entry-title-link:hover h3 {
    color: #8c5a05;
}

.pa-my-entries-v2 .entry-type-badge {
    background: #f3eee6;
    border: 1px solid rgba(40, 32, 22, 0.08);
    border-radius: 999px;
    color: rgba(23, 21, 18, 0.58);
    display: inline-flex;
    font-family: var(--pa-font-body);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    padding: 7px 10px;
    text-transform: uppercase;
}

.pa-my-entries-v2 .entry-row-details {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0;
}

.pa-my-entries-v2 .entry-detail-item {
    color: rgba(23, 21, 18, 0.58);
    display: inline-flex;
    font-size: 13px;
    gap: 7px;
    line-height: 1.4;
}

.pa-my-entries-v2 .entry-detail-item svg {
    margin: 0;
    opacity: 0.72;
}

.pa-my-entries-v2 .entry-row-actions {
    align-items: flex-end;
    display: grid;
    gap: 12px;
    justify-items: end;
}

.pa-my-entries-v2 .pay-button {
    background: #171512;
    border: 1px solid #171512;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
    min-height: 42px;
    padding: 10px 17px;
    text-decoration: none;
}

.pa-my-entries-v2 .pay-button:hover {
    background: #2c2923;
    color: #fff;
}

.pa-my-entries-v2 .action-buttons {
    display: flex;
    gap: 8px;
}

.pa-my-entries-v2 .action-btn {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(40, 32, 22, 0.12);
    border-radius: 999px;
    color: rgba(23, 21, 18, 0.72);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    padding: 0;
    width: 40px;
}

.pa-my-entries-v2 .view-btn:hover,
.pa-my-entries-v2 .edit-btn:hover {
    background: #f5efe4;
    border-color: rgba(199, 137, 19, 0.42);
    color: #8c5a05;
}

.pa-my-entries-v2 .delete-btn:hover {
    background: #fff3f3;
    border-color: rgba(181, 57, 65, 0.34);
    color: #a73842;
}

.pa-my-entries-v2 .entries-pagination {
    gap: 10px;
    margin: 34px 0 0;
}

.pa-my-entries-v2 .pagination-btn,
.pa-my-entries-v2 .pagination-number {
    background: #fffefa;
    border: 1px solid rgba(40, 32, 22, 0.12);
    border-radius: 999px;
    color: rgba(23, 21, 18, 0.72);
    font-family: var(--pa-font-body);
    font-weight: 800;
}

.pa-my-entries-v2 .pagination-number.current,
.pa-my-entries-v2 .pagination-btn:hover,
.pa-my-entries-v2 .pagination-number:hover {
    background: #171512;
    border-color: #171512;
    color: #fff;
}

@media (max-width: 960px) {
    .pa-my-entries-v2 .entry-row {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .pa-my-entries-v2 .entry-row-image {
        height: 78px;
        width: 78px;
    }

    .pa-my-entries-v2 .entry-row-actions {
        align-items: center;
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        justify-items: stretch;
    }
}

@media (max-width: 640px) {
    .pa-my-entries-v2 h1 {
        font-size: 44px;
    }

    .pa-my-entries-v2 .unpaid-invoices-summary,
    .pa-my-entries-v2 .entry-row {
        grid-template-columns: 1fr;
    }

    .pa-my-entries-v2 .entry-row-image {
        height: 180px;
        width: 100%;
    }

    .pa-my-entries-v2 .entry-row-actions {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .pa-my-entries-v2 .pay-button {
        justify-content: center;
        width: 100%;
    }

    .pa-my-entries-v2 .action-buttons {
        justify-content: center;
    }
}


.btn:hover {
    background: #aa7102;
    color: white;
}

.btn-link:hover {
    background:unset;
    color:#aa7102;

}

.btn-primary {
    background: #3b82f6;
}

.btn-primary:hover {
    background: #aa7102;
}

/* Pagination Styles */
.entries-pagination {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 30px 0;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 6px;
}

.pagination-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

.pagination-number.current {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .entries-pagination {
        gap: 8px;
    }

    .pagination-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .pagination-dots {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

.bsui .row {
    margin: 0;
}

.event-info .event-title {
    text-align: left;
}

.photo-award-profile-container .button {
    border-radius: unset !important;

}

/* Countdown Shortcode Styles */
.photo-award-countdown-wrapper {
    margin: 20px 0;
    text-align: center;
}

.countdown-active {
    display: block;
}

.countdown-expired {
    display: block;
    padding: 16px 16px 19px;
    border: 1px solid #eee;
}

.countdown-message {
    margin: 0 !important;
    font-size: 36px;
}

.countdown-timer {
    margin: 20px 0;
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    font-weight: bold;
    font-family: var(--pa-font-body);
    color: #333;
    margin-bottom: 10px;
}

.countdown-days,
.countdown-hours,
.countdown-minutes,
.countdown-seconds {
    padding: 10px 15px 4px;
    min-width: 60px;
    border: 1px solid #eee;
}

.countdown-separator {
    font-size: 24px;
    color: #999;
    font-weight: normal;
}

.countdown-labels {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.countdown-labels span {
    min-width: 96px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.countdown-link {
    margin-top: 20px;
}

.countdown-register-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.countdown-register-btn:hover {
    background-color: #333;
    color: #fff;
}

.countdown-error {
    color: #d63638;
    padding: 10px;
    background-color: #fef0f0;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Responsive countdown styles */
@media (max-width: 768px) {
    .countdown-display {
        font-size: 24px;
        gap: 5px;
    }

    .countdown-days,
    .countdown-hours,
    .countdown-minutes,
    .countdown-seconds {
        padding: 8px 10px;
        min-width: 45px;
        font-size: 20px;
    }

    .countdown-separator {
        font-size: 18px;
    }

    .countdown-labels {
        font-size: 10px;
        gap: 5px;
    }

    .countdown-labels span {
        min-width: 45px;
    }
}

/* ===== PREMIUM WHITE USER DASHBOARD REDESIGN ===== */
.photo-award-profile-page {
    background:
        radial-gradient(circle at 74% 8%, rgba(202, 151, 61, 0.1), transparent 28rem),
        linear-gradient(180deg, #fffdf8 0%, #f7f3ec 100%);
    color: #1c1914;
}

.photo-award-profile-page .site-content,
.photo-award-profile-page .entry-content,
.photo-award-profile-page .wp-site-blocks {
    background: transparent;
}

.photo-award-profile-page .wp-site-blocks > header,
.photo-award-profile-page .site-header,
.photo-award-profile-page #masthead,
.photo-award-profile-page .wp-site-blocks > footer,
.photo-award-profile-page .site-footer {
    background: transparent;
    border-color: rgba(198, 151, 73, 0.16);
}

.photo-award-profile-container {
    --pa-ivory: #fffdf8;
    --pa-paper: rgba(255, 255, 255, 0.88);
    --pa-soft: #f8f3ea;
    --pa-ink: #1c1914;
    --pa-muted: #746f67;
    --pa-faint: #a8a097;
    --pa-line: rgba(34, 28, 19, 0.1);
    --pa-gold: #c98b19;
    --pa-gold-soft: rgba(201, 139, 25, 0.1);
    --pa-shadow: 0 24px 70px rgba(42, 32, 18, 0.08);
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 42px);
    max-width: 1640px;
    min-height: calc(100vh - 80px);
    margin: 0 auto;
    padding: clamp(22px, 3vw, 48px);
    color: var(--pa-ink);
    box-sizing: border-box;
}

.photo-award-profile-container *,
.photo-award-profile-container *::before,
.photo-award-profile-container *::after {
    box-sizing: border-box;
}

.profile-sidebar {
    position: sticky;
    top: 24px;
    min-height: calc(100vh - 96px);
    padding: 18px;
    border: 0;
    border-right: 1px solid var(--pa-line);
    background: rgba(255, 255, 255, 0.52);
    box-shadow: none;
}

.profile-sidebar-brand {
    margin: 6px 0 44px;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: 24px;
    letter-spacing: 0.02em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.profile-sidebar-brand::first-letter {
    color: var(--pa-gold);
}

.profile-user-info {
    display: none;
}

.profile-nav ul {
    display: grid;
    gap: 8px;
}

.profile-nav li {
    border-radius: 9px;
}

.profile-nav a {
    min-height: 50px;
    padding: 12px 16px;
    border: 0;
    border-radius: 9px;
    color: #2a251d;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

.profile-nav a:hover {
    background: rgba(201, 139, 25, 0.08);
    color: var(--pa-gold);
    border-left-color: transparent;
}

.profile-nav li.active a {
    background: linear-gradient(135deg, #fff8ec, #f3eadc);
    color: var(--pa-gold);
    box-shadow: 0 12px 26px rgba(112, 79, 31, 0.08);
}

.profile-nav li:nth-last-child(4) {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.profile-nav .profile-nav-section {
    margin: 18px 0 2px;
    padding: 18px 4px 0;
    border-top: 1px solid var(--pa-line);
    border-radius: 0;
}

.profile-nav .profile-nav-section span {
    color: var(--pa-muted);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.profile-nav .profile-nav-special a {
    background: rgba(201, 137, 25, .04);
    border: 1px solid rgba(201, 137, 25, .12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.48);
}

.profile-nav .profile-nav-special a:hover,
.profile-nav .profile-nav-special.active a {
    background: linear-gradient(135deg, rgba(255,248,236,.98), rgba(244,232,212,.9));
    border-color: rgba(201, 137, 25, .28);
    color: var(--pa-gold);
}

.profile-nav .nav-icon {
    width: 18px;
    height: 18px;
    margin-right: 14px;
    stroke-width: 1.8;
}

.profile-content > .judge-scoring-page {
    color: var(--pa-ink);
}

.profile-content > .judge-scoring-page .pa-scoring-selection-header {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
}

.profile-content > .judge-scoring-page .pa-scoring-selection-header span {
    color: var(--pa-gold);
    font-family: var(--pa-font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-content > .judge-scoring-page .pa-scoring-selection-header h1 {
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(52px, 7vw, 78px);
    font-weight: 400;
    line-height: 0.95;
    margin: 0;
}

.profile-content > .judge-scoring-page .pa-scoring-selection-header p,
.profile-content > .judge-scoring-page .pa-scoring-empty-state p {
    color: rgba(31, 28, 24, 0.66);
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
    max-width: 660px;
}

.profile-content > .judge-scoring-page .pa-scoring-empty-state {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(45, 36, 23, 0.055);
    max-width: 680px;
    padding: 26px;
}

.profile-content > .judge-scoring-page .pa-scoring-empty-state h2 {
    color: #171512;
    font-family: var(--pa-font-body);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
}

.profile-sidebar::after {
    content: "";
    display: none;
}

.pa-sidebar-messages {
    margin-top: 34px;
    display: grid;
    gap: 12px;
}

.pa-sidebar-message {
    display: block;
    white-space: pre-line;
    margin-top: 0;
    padding: 24px 20px;
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(244, 238, 227, 0.9)),
        radial-gradient(circle at 55% 12%, rgba(201, 139, 25, 0.12), transparent 120px);
    color: var(--pa-muted);
    font-size: 13px;
    line-height: 1.5;
    box-shadow: inset 0 0 0 1px rgba(34, 28, 19, 0.05);
}

.pa-sidebar-message span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(201, 139, 25, 0.1);
    color: var(--pa-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pa-sidebar-message p {
    margin: 0;
    color: var(--pa-muted);
}

.pa-sidebar-message--announcement {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(239, 246, 255, 0.92)),
        radial-gradient(circle at 55% 12%, rgba(73, 143, 208, 0.12), transparent 120px);
}

.pa-sidebar-message--announcement span {
    background: rgba(73, 143, 208, 0.12);
    color: #3378af;
}

.pa-sidebar-message--deadline span {
    background: rgba(182, 85, 63, 0.1);
    color: #b6553f;
}

.profile-content {
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-width: 0;
}

.pa-white-dashboard {
    position: relative;
    display: grid;
    gap: 22px;
    width: 100%;
    min-width: 0;
}

.pa-white-dashboard::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 0;
    width: min(58%, 720px);
    height: 250px;
    border-radius: 140px 0 0 140px;
    background:
        radial-gradient(circle at 80% 40%, rgba(64, 48, 30, 0.16), transparent 80px),
        linear-gradient(135deg, rgba(251, 247, 239, 0.38), rgba(218, 204, 184, 0.48));
    opacity: 0.84;
    pointer-events: none;
}

.pa-white-dashboard > * {
    position: relative;
    z-index: 1;
}

.pa-dashboard-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 0 0 clamp(64px, 7vw, 104px);
    border: 0;
}

.pa-dashboard-hero .dashboard-kicker {
    display: inline-flex;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
    color: var(--pa-gold);
    font-family: var(--pa-font-body);
    font-size: 12px;
    letter-spacing: 0.16em;
}

.pa-dashboard-hero h1 {
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(48px, 6vw, 74px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.pa-dashboard-hero p {
    margin: 18px 0 0;
    color: var(--pa-muted);
    font-size: 16px;
}

.pa-dashboard-hero p strong,
.pa-dashboard-hero p b {
    color: var(--pa-gold);
}

.pa-profile-topbar {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 18px;
    padding: 0 clamp(14px, 2vw, 26px) 0 0;
    position: relative;
    z-index: 20;
}

.pa-dashboard-user {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-end;
    max-width: 100%;
    min-width: 0;
    padding-top: 4px;
    width: 100%;
}

.pa-dashboard-bell,
.pa-dashboard-avatar,
.pa-stat-icon,
.pa-empty-state > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
}

.pa-dashboard-bell {
    width: 38px;
    height: 38px;
    border: 1px solid var(--pa-line);
    color: var(--pa-gold);
    background: rgba(255, 255, 255, 0.66);
}

.pa-dashboard-portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px 0 6px;
    border: 1px solid rgba(209, 146, 30, 0.32);
    border-radius: 999px;
    background: rgba(255, 251, 242, 0.86);
    color: var(--pa-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(178, 119, 8, 0.08);
}

.pa-dashboard-awards-link {
    padding-right: 16px;
}

.pa-dashboard-portfolio-icon {
    align-items: center;
    background: linear-gradient(135deg, #fffdf8, #f4ead9);
    border: 1px solid rgba(201, 139, 25, 0.22);
    border-radius: 50%;
    color: var(--pa-gold);
    display: inline-flex;
    flex: 0 0 28px;
    font-size: 12px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    overflow: hidden;
    width: 28px;
}

.pa-dashboard-awards-icon {
    background: rgba(209, 146, 30, 0.1);
    color: var(--pa-gold);
}

.pa-dashboard-awards-icon svg {
    display: block;
}

.pa-dashboard-portfolio-icon img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pa-dashboard-portfolio-link:hover {
    background: #fff7e6;
    color: #9f6205;
}

.pa-dashboard-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e2af49, #b8740a);
    color: #fff;
    font-weight: 800;
    overflow: hidden;
}

.pa-dashboard-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pa-dashboard-user strong,
.pa-dashboard-user small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pa-dashboard-user strong {
    color: var(--pa-ink);
    font-size: 14px;
}

.pa-dashboard-user small {
    color: var(--pa-muted);
    font-size: 12px;
}

.pa-account-menu {
    flex: 0 1 clamp(260px, 28vw, 340px);
    max-width: min(360px, 36vw);
    min-width: 0;
    position: relative;
}

.pa-account-menu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--pa-ink);
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: 48px minmax(0, 1fr) 16px;
    min-height: 56px;
    padding: 4px 4px;
    text-align: left;
    width: 100%;
}

.pa-account-summary {
    display: block;
    min-width: 0;
}

.pa-account-chevron {
    color: var(--pa-muted);
    font-size: 18px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.pa-account-menu.is-open .pa-account-chevron {
    transform: rotate(180deg);
}

.pa-account-menu-panel {
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid var(--pa-line);
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(42, 32, 18, 0.16);
    display: none;
    min-width: min(240px, calc(100vw - 36px));
    overflow: hidden;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 60;
}

.pa-account-menu.is-open .pa-account-menu-panel {
    display: grid;
}

.pa-account-menu-panel a {
    border-radius: 10px;
    color: var(--pa-ink);
    font-size: 13px;
    font-weight: 800;
    padding: 11px 12px;
    text-decoration: none;
}

.pa-account-menu-panel a:hover {
    background: rgba(201, 137, 25, 0.1);
    color: var(--pa-gold);
}

.pa-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: -36px;
}

.pa-awards-page {
    --pa-awards-surface: rgba(255, 255, 255, 0.86);
    --pa-awards-soft: rgba(255, 248, 235, 0.78);
    --pa-awards-line: rgba(209, 146, 30, 0.22);
}

.pa-awards-hero {
    padding-bottom: clamp(42px, 5vw, 72px);
}

.pa-awards-summary {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -28px;
}

.pa-awards-summary article,
.pa-award-card,
.pa-awards-empty {
    background: var(--pa-awards-surface);
    border: 1px solid var(--pa-line);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(35, 28, 18, 0.07);
}

.pa-awards-summary article {
    padding: 20px;
}

.pa-awards-summary span,
.pa-award-copy dt,
.pa-award-pending {
    color: var(--pa-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pa-awards-summary strong {
    color: var(--pa-ink);
    display: block;
    font-family: var(--pa-font-display);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
    line-height: 1;
    margin-top: 10px;
}

.pa-awards-grid {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.pa-award-card {
    display: grid;
    gap: 22px;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    overflow: hidden;
    padding: 16px;
}

.pa-award-art {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(209, 146, 30, 0.12), rgba(36, 32, 26, 0.04));
    border: 1px solid var(--pa-awards-line);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.pa-award-art img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pa-award-art img.pa-award-badge-thumb {
    width: min(100%, 180px);
    height: min(100%, 180px);
    padding: 16px;
    object-fit: contain;
}

.pa-award-art span {
    color: var(--pa-gold);
    font-size: 34px;
}

.pa-award-copy {
    align-self: center;
    min-width: 0;
}

.pa-award-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pa-award-badge {
    background: var(--pa-awards-soft);
    border: 1px solid var(--pa-awards-line);
    border-radius: 999px;
    color: var(--pa-gold);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 8px 12px;
    text-transform: uppercase;
}

.pa-award-inline-badge-thumb {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(42, 32, 18, 0.1);
}

.pa-award-card--silver .pa-award-badge {
    color: #7a7d82;
}

.pa-award-card--bronze .pa-award-badge {
    color: #a86b32;
}

.pa-award-copy h2 {
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 14px 0 16px;
}

.pa-award-copy dl {
    display: grid;
    gap: 10px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.pa-award-copy dd {
    color: var(--pa-muted);
    font-size: 15px;
    margin: 4px 0 0;
}

.pa-award-actions {
    align-items: flex-end;
    align-self: stretch;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    min-width: 190px;
}

.pa-award-certificate-btn,
.pa-award-badge-download,
.pa-award-entry-link {
    border-radius: 999px;
    justify-content: center;
    min-height: 42px;
    width: 100%;
}

.pa-awards-page .pa-award-certificate-btn {
    background: linear-gradient(135deg, var(--pa-gold), #b87509) !important;
    border: 1px solid rgba(140, 86, 6, 0.18) !important;
    box-shadow: 0 12px 26px rgba(178, 119, 8, 0.18) !important;
    color: #fff !important;
    font-weight: 800;
}

.pa-awards-page .pa-award-certificate-btn:hover {
    background: linear-gradient(135deg, #c98d18, #9f6205) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.pa-award-badge-download {
    align-items: center;
    background: #fff9ee;
    border: 1px solid rgba(201, 137, 25, 0.34);
    color: #9f6205;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    text-decoration: none;
}

.pa-award-badge-download:hover {
    background: #fff2d8;
    border-color: rgba(201, 137, 25, 0.58);
    color: #7a4e00;
    transform: translateY(-1px);
}

.pa-award-entry-link {
    align-items: center;
    border: 1px solid var(--pa-line);
    color: var(--pa-gold);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.pa-award-entry-link:hover {
    background: var(--pa-accent-soft);
    border-color: var(--pa-gold);
    color: var(--pa-gold);
}

.pa-award-pending {
    align-items: center;
    background: var(--pa-awards-soft);
    border: 1px solid var(--pa-awards-line);
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    text-align: center;
    width: 100%;
}

.pa-awards-empty {
    display: grid;
    justify-items: center;
    margin-top: -28px;
    padding: clamp(34px, 6vw, 70px) 24px;
    text-align: center;
}

.pa-awards-empty-mark {
    align-items: center;
    background: var(--pa-awards-soft);
    border: 1px solid var(--pa-awards-line);
    border-radius: 50%;
    color: var(--pa-gold);
    display: inline-flex;
    font-size: 34px;
    height: 76px;
    justify-content: center;
    margin-bottom: 20px;
    width: 76px;
}

.pa-awards-empty h2 {
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(34px, 6vw, 58px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 14px;
}

.pa-awards-empty p {
    color: var(--pa-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto 24px;
    max-width: 560px;
}

.pa-awards-empty .pa-empty-state-action {
    align-items: center;
    background: transparent !important;
    border: 1px solid rgba(201, 137, 25, .34) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: var(--pa-gold) !important;
    display: inline-flex;
    font-size: 13px !important;
    font-weight: 800 !important;
    gap: 8px;
    justify-content: center;
    letter-spacing: .08em;
    line-height: 1;
    min-height: 42px;
    padding: 0 18px !important;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.pa-awards-empty .pa-empty-state-action::after {
    content: "→";
    font-size: 14px;
    line-height: 1;
}

.pa-awards-empty .pa-empty-state-action:hover,
.pa-awards-empty .pa-empty-state-action:focus-visible {
    background: rgba(201, 137, 25, .09) !important;
    border-color: rgba(201, 137, 25, .58) !important;
    color: #8f5b00 !important;
    transform: translateY(-1px);
}

.pa-stat-card,
.pa-dashboard-panel {
    border: 1px solid rgba(34, 28, 19, 0.08);
    border-radius: 18px;
    background: var(--pa-paper);
    box-shadow: var(--pa-shadow);
    backdrop-filter: blur(18px);
    min-width: 0;
}

.pa-stat-card {
    display: grid;
    gap: 8px;
    min-height: 176px;
    padding: 26px;
}

.pa-stat-icon {
    width: 54px;
    height: 54px;
    background: var(--pa-gold-soft);
    color: var(--pa-gold);
    font-size: 24px;
}

.pa-stat-card h2 {
    margin: 4px 0 0;
    color: var(--pa-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pa-stat-card p,
.pa-stat-card .wallet-balance-amount {
    margin: 0 !important;
    color: var(--pa-ink) !important;
    font-family: var(--pa-font-display);
    font-size: clamp(30px, 4vw, 44px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: left;
}

.pa-stat-card small {
    color: var(--pa-muted);
    font-size: 12px;
}

.pa-stat-card a,
.pa-panel-heading a,
.pa-monthly-copy a,
.pa-competition-copy a,
.pa-empty-state a {
    width: fit-content;
    margin-top: auto;
    color: var(--pa-gold);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pa-competition-grid,
.pa-competition-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.pa-competition-card {
    display: grid;
    grid-template-columns: minmax(96px, 0.52fr) minmax(0, 1fr);
    min-height: 292px;
    overflow: hidden;
    border: 1px solid var(--pa-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 42px rgba(42, 32, 18, 0.05);
}

.pa-competition-card--annual {
    grid-column: span 2;
    border-color: rgba(201, 139, 25, 0.32);
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(255, 255, 255, 0.82)),
        radial-gradient(circle at 82% 14%, rgba(201, 139, 25, 0.12), transparent 210px);
    box-shadow: 0 28px 70px rgba(83, 57, 20, 0.12);
}

.pa-competition-card--list.pa-competition-card--annual {
    grid-column: span 2;
}

.pa-competition-art {
    min-height: 100%;
    background: #eee7da;
    overflow: hidden;
}

.pa-competition-art.has-image {
    background: #ede5d8;
}

.pa-competition-art img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.pa-competition-art-1 {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.55), transparent 42%),
        repeating-linear-gradient(132deg, #f3eee5 0 34px, #ded4c4 36px 40px, #fffaf0 42px 74px);
}

.pa-competition-art-2 {
    background:
        radial-gradient(circle at 65% 30%, rgba(255,255,255,0.15), transparent 70px),
        linear-gradient(135deg, #171514, #4d453f);
}

.pa-competition-art-3 {
    background:
        radial-gradient(circle at 50% 52%, #8a765a 0 2px, transparent 3px),
        linear-gradient(180deg, #f4efe6 0%, #d8c8b1 100%);
}

.pa-competition-copy {
    display: grid;
    align-content: center;
    gap: 12px;
    min-width: 0;
    padding: 24px;
}

.pa-competition-card--annual .pa-competition-copy {
    padding: 30px;
}

.pa-competition-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--pa-faint);
    font-size: 12px;
}

.pa-competition-badge {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7f0e5;
    color: var(--pa-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pa-competition-card--annual .pa-competition-badge {
    background: linear-gradient(135deg, #d8a038, #a96c08);
    color: #fff;
    box-shadow: 0 10px 22px rgba(201, 139, 25, 0.18);
}

.pa-competition-copy h3 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(20px, 1.8vw, 28px);
    font-weight: 400;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.pa-competition-card--annual .pa-competition-copy h3 {
    font-size: clamp(26px, 2.5vw, 38px);
}

.pa-competition-copy dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0;
}

.pa-competition-copy dl div {
    display: grid;
    gap: 2px;
}

.pa-competition-copy dt {
    color: var(--pa-faint);
    font-size: 11px;
    text-transform: uppercase;
}

.pa-competition-copy dd {
    margin: 0;
    color: var(--pa-muted);
    font-size: 13px;
}

.dashboard-page .pa-active-competitions .pa-competition-list {
    gap: 12px;
}

.dashboard-page .pa-active-competitions .pa-competition-card {
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
    min-height: 190px;
    border-radius: 14px;
}

.dashboard-page .pa-active-competitions .pa-competition-art {
    min-height: 190px;
}

.dashboard-page .pa-active-competitions .pa-competition-copy,
.dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-copy {
    gap: 6px;
    padding: 16px 22px;
}

.dashboard-page .pa-active-competitions .pa-competition-topline {
    gap: 10px;
    font-size: 11px;
}

.dashboard-page .pa-active-competitions .pa-competition-badge,
.dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-badge {
    padding: 5px 10px;
    background: linear-gradient(135deg, #c98412, #8d5704);
    color: #fffaf0 !important;
    font-size: 10px;
    letter-spacing: 0.07em;
    text-shadow: 0 1px 1px rgba(64, 38, 0, 0.38);
}

.dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-copy h3 {
    font-size: clamp(23px, 1.9vw, 30px);
    line-height: 1.08;
}

.dashboard-page .pa-active-competitions .pa-competition-copy dl {
    gap: 5px 16px;
}

.dashboard-page .pa-active-competitions .pa-competition-copy dt {
    font-size: 10px;
}

.dashboard-page .pa-active-competitions .pa-competition-copy dd {
    font-size: 12px;
}

.dashboard-page .pa-active-competitions .pa-competition-copy a {
    font-size: 13px;
}

.pa-competitions-page {
    gap: 24px;
}

.pa-competitions-hero {
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.pa-competitions-hero .dashboard-kicker {
    color: var(--pa-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.pa-competitions-hero h1 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 400;
    line-height: 1;
}

.pa-competitions-hero p {
    margin: 0;
    color: var(--pa-muted);
    font-size: 16px;
}

.pa-competition-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pa-competition-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--pa-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--pa-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pa-competition-filters a.active {
    border-color: rgba(201, 139, 25, 0.32);
    background: #f7f0e5;
    color: var(--pa-gold);
}

.pa-stat-card a {
    padding-top: 14px;
    border-top: 1px solid var(--pa-line);
    width: 100%;
}

.dashboard-page .pa-dashboard-stats {
    gap: 14px;
}

.dashboard-page .pa-stat-card {
    gap: 6px;
    min-height: 150px;
    padding: 18px 20px !important;
}

.dashboard-page .pa-stat-card.wallet-balance-section {
    margin: 0;
}

.dashboard-page .pa-stat-icon {
    width: 44px;
    height: 44px;
    font-size: 19px;
}

.dashboard-page .pa-stat-card h2 {
    margin-top: 2px;
    font-size: 11px;
}

.dashboard-page .pa-stat-card p,
.dashboard-page .pa-stat-card .wallet-balance-amount {
    font-size: clamp(26px, 3vw, 36px) !important;
}

.dashboard-page .pa-stat-card small {
    font-size: 11px;
}

.dashboard-page .pa-stat-card a {
    padding-top: 10px;
    font-size: 12px;
}

.pa-dashboard-panel {
    padding: 26px;
}

.pa-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.pa-panel-heading h2 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: 24px;
    font-weight: 400;
}

.pa-monthly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.pa-monthly-card {
    display: grid;
    grid-template-columns: minmax(96px, 0.54fr) minmax(0, 1fr);
    min-height: 292px;
    overflow: hidden;
    border: 1px solid var(--pa-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.pa-monthly-art {
    min-height: 100%;
    background: #eee7da;
}

.pa-monthly-art-1 {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.55), transparent 42%),
        repeating-linear-gradient(132deg, #f3eee5 0 34px, #ded4c4 36px 40px, #fffaf0 42px 74px);
}

.pa-monthly-art-2 {
    background:
        radial-gradient(circle at 65% 30%, rgba(255,255,255,0.15), transparent 70px),
        linear-gradient(135deg, #171514, #4d453f);
}

.pa-monthly-art-3 {
    background:
        radial-gradient(circle at 50% 52%, #8a765a 0 2px, transparent 3px),
        linear-gradient(180deg, #f4efe6 0%, #d8c8b1 100%);
}

.pa-monthly-copy {
    display: grid;
    align-content: center;
    gap: 12px;
    min-width: 0;
    padding: 24px;
}

.pa-monthly-copy > span {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 7px;
    background: #f7f0e5;
    color: var(--pa-gold);
    font-size: 12px;
    font-weight: 800;
}

.pa-monthly-copy h3 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(19px, 1.6vw, 25px);
    font-weight: 400;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.pa-monthly-copy dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.pa-monthly-copy dl div {
    display: grid;
    gap: 1px;
}

.pa-monthly-copy dt {
    color: var(--pa-faint);
    font-size: 12px;
}

.pa-monthly-copy dd {
    margin: 0;
    color: var(--pa-muted);
    font-size: 13px;
}

.pa-monthly-copy a,
.pa-empty-state a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid rgba(201, 139, 25, 0.35);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.54);
}

.pa-dashboard-bottom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.pa-mini-panel {
    min-height: 250px;
}

.pa-empty-state {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 9px;
    min-height: 158px;
    text-align: center;
}

.pa-empty-state > span {
    width: 70px;
    height: 70px;
    background: var(--pa-gold-soft);
    color: var(--pa-gold);
    font-size: 26px;
}

.pa-empty-state h3 {
    margin: 8px 0 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: 20px;
    font-weight: 400;
}

.pa-empty-state p {
    margin: 0 !important;
    color: var(--pa-muted) !important;
    font-size: 13px;
}

.pa-recent-list {
    display: grid;
    gap: 10px;
}

.pa-recent-entry-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--pa-line);
}

.pa-recent-entry-card:last-child {
    border-bottom: 0;
}

.pa-recent-entry-thumb {
    display: block;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--pa-gold-soft);
    color: var(--pa-gold);
    text-decoration: none;
}

.pa-recent-entry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pa-recent-entry-thumb span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.pa-recent-entry-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.pa-recent-entry-copy a {
    color: var(--pa-ink);
    text-decoration: none;
}

.pa-recent-entry-copy strong {
    display: block;
    font-family: var(--pa-font-display);
    font-size: 18px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.pa-recent-entry-copy span,
.pa-recent-entry-copy small {
    color: var(--pa-muted);
    font-size: 12px;
}

.pa-recent-entry-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.pa-recent-entry-badges em {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(34, 28, 19, 0.05);
    color: var(--pa-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.pa-recent-entry-badges .pa-payment-badge {
    background: rgba(201, 139, 25, 0.1);
    color: var(--pa-gold);
}

.pa-white-dashboard .wallet-transactions-section {
    margin: 0;
    padding: 26px;
    overflow-x: auto;
}

.pa-white-dashboard .wallet-transactions-section .pa-panel-heading h2 {
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: 24px;
    font-weight: 400;
    text-transform: none;
}

.pa-white-dashboard .wallet-transactions-table {
    min-width: 0;
    margin-top: 0;
    color: var(--pa-ink);
}

.pa-white-dashboard .wallet-transactions-table th,
.pa-white-dashboard .wallet-transactions-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--pa-line);
    color: inherit;
    font-size: 12px;
}

.pa-white-dashboard .wallet-transactions-table th {
    color: var(--pa-muted);
    font-size: 11px;
}

.pa-white-dashboard .wallet-amount-credit {
    color: var(--pa-gold);
}

.pa-white-dashboard .wallet-amount-debit {
    color: #b6553f;
}

.pa-transaction-status {
    display: block;
    margin-top: 3px;
    color: var(--pa-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pa-dashboard-bell {
    position: relative;
    font-size: 12px;
    font-weight: 800;
}

.pa-dashboard-bell:empty::after {
    content: "0";
}

.pa-notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: 8px;
    border-radius: 999px;
    background: var(--pa-gold);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
}

.pa-mark-read-form button {
    border: 0;
    background: transparent;
    color: var(--pa-gold);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.pa-notification-list {
    display: grid;
    gap: 10px;
}

.pa-notification-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 13px 0 13px 14px;
    border-bottom: 1px solid var(--pa-line);
    border-left: 3px solid rgba(34, 28, 19, 0.08);
}

.pa-notification-item.is-unread {
    border-left-color: var(--pa-gold);
}

.pa-notification-success {
    border-left-color: rgba(34, 149, 96, 0.42);
}

.pa-notification-warning {
    border-left-color: rgba(182, 85, 63, 0.42);
}

.pa-notification-item strong {
    display: block;
    color: var(--pa-ink);
    font-size: 14px;
}

.pa-notification-item p {
    margin: 4px 0 !important;
    color: var(--pa-muted) !important;
    font-size: 12px;
    line-height: 1.45;
}

.pa-notification-item small {
    color: var(--pa-faint);
    font-size: 11px;
}

.pa-notification-item a {
    align-self: start;
    color: var(--pa-gold);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1280px) {
    .photo-award-profile-container {
        grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
        padding: 24px;
    }

    .pa-dashboard-stats,
    .pa-dashboard-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-monthly-grid,
    .pa-competition-grid,
    .pa-competition-list {
        grid-template-columns: 1fr;
    }

    .pa-monthly-card,
    .pa-competition-card,
    .pa-competition-card--annual,
    .pa-competition-card--list.pa-competition-card--annual {
        grid-column: auto;
        min-height: 238px;
    }
}

@media (max-width: 860px) {
    .photo-award-profile-container {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
        min-height: 0;
        order: 2;
        border-right: 0;
        border-top: 1px solid var(--pa-line);
    }

    .profile-sidebar-brand,
    .profile-sidebar::before,
    .profile-sidebar::after,
    .pa-sidebar-messages,
    .pa-sidebar-message {
        display: none;
    }

    .profile-content {
        order: 1;
    }

    .pa-dashboard-hero {
        flex-direction: column;
        padding-bottom: 42px;
    }

    .pa-profile-topbar {
        justify-content: flex-start;
        padding-right: 0;
    }

    .pa-dashboard-user {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .pa-account-menu {
        flex: 1 1 280px;
        max-width: min(100%, 360px);
    }

    .pa-white-dashboard::before {
        width: 100%;
        height: 220px;
        opacity: 0.5;
    }

    .pa-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .pa-awards-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: -52px;
    }

    .pa-award-card {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .pa-award-actions {
        align-items: stretch;
        grid-column: 2;
        min-width: 0;
    }

    .dashboard-page .pa-dashboard-stats {
        gap: 10px;
        margin-top: -28px;
    }

    .dashboard-page .pa-stat-card {
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: 4px 12px;
        min-height: 0;
        padding: 14px 16px !important;
    }

    .dashboard-page .pa-stat-icon {
        grid-row: 1 / span 4;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .dashboard-page .pa-stat-card h2,
    .dashboard-page .pa-stat-card p,
    .dashboard-page .pa-stat-card .wallet-balance-amount,
    .dashboard-page .pa-stat-card small,
    .dashboard-page .pa-stat-card a {
        grid-column: 2;
    }

    .dashboard-page .pa-stat-card p,
    .dashboard-page .pa-stat-card .wallet-balance-amount {
        font-size: 28px !important;
    }

    .dashboard-page .pa-stat-card a {
        margin-top: 4px;
        padding-top: 8px;
    }

    .pa-dashboard-bottom-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-page .pa-active-competitions .pa-competition-card {
        grid-template-columns: minmax(92px, 112px) minmax(0, 1fr);
        min-height: 144px;
    }

    .dashboard-page .pa-active-competitions .pa-competition-art {
        min-height: 144px;
    }

    .dashboard-page .pa-active-competitions .pa-competition-copy,
    .dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-copy {
        gap: 6px;
        padding: 14px;
    }

    .dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-copy h3 {
        font-size: clamp(20px, 4vw, 24px);
    }

    .dashboard-page .pa-active-competitions .pa-competition-copy dl {
        gap: 6px 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .photo-award-profile-container {
        padding: 14px;
    }

    .pa-dashboard-user {
        min-width: 0;
        width: 100%;
    }

    .pa-profile-topbar {
        margin-bottom: 12px;
    }

    .pa-account-menu {
        flex-basis: 100%;
        max-width: 100%;
    }

    .pa-account-menu-toggle {
        grid-template-columns: 42px minmax(0, 1fr) 16px;
    }

    .pa-dashboard-avatar {
        height: 42px;
        width: 42px;
    }

    .pa-dashboard-portfolio-link {
        font-size: 11px;
        min-height: 34px;
        padding: 0 12px 0 5px;
    }

    .pa-dashboard-portfolio-icon {
        flex-basis: 24px;
        height: 24px;
        width: 24px;
    }

    .pa-awards-summary {
        grid-template-columns: 1fr;
    }

    .pa-award-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .pa-award-art {
        max-height: 220px;
    }

    .pa-award-actions {
        grid-column: auto;
    }

    .pa-award-copy dl {
        grid-template-columns: 1fr;
    }

    .pa-monthly-card,
    .pa-competition-card {
        grid-template-columns: 1fr;
    }

    .pa-monthly-art,
    .pa-competition-art {
        min-height: 150px;
    }

    .pa-competition-copy,
    .pa-competition-card--annual .pa-competition-copy {
        padding: 22px;
    }

    .dashboard-page .pa-active-competitions .pa-competition-card {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 142px;
    }

    .dashboard-page .pa-active-competitions .pa-competition-art {
        min-height: 142px;
    }

    .dashboard-page .pa-active-competitions .pa-competition-copy,
    .dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-copy {
        gap: 6px;
        padding: 14px;
    }

    .dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-copy h3 {
        font-size: clamp(20px, 5.8vw, 24px);
    }

    .dashboard-page .pa-active-competitions .pa-competition-copy dl {
        gap: 6px 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-competition-copy dl {
        grid-template-columns: 1fr;
    }

    .dashboard-page .pa-active-competitions .pa-competition-copy dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-competition-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-page .pa-active-competitions .pa-competition-topline {
        flex-direction: row;
        align-items: center;
    }

    .pa-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Active Competitions page */
.pa-competitions-page {
    gap: 26px;
}

.pa-competitions-page .pa-competitions-hero {
    max-width: 920px;
    gap: 10px;
}

.pa-competitions-page .pa-competitions-hero .dashboard-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0;
    background: transparent;
    color: #c98b19;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pa-competitions-page .pa-competitions-hero h1 {
    max-width: 860px;
    letter-spacing: 0;
}

.pa-competitions-page .pa-competitions-hero p {
    max-width: 680px;
    color: rgba(31, 28, 24, 0.62);
    font-size: 15px;
}

.pa-competitions-page .pa-competition-filters {
    gap: 12px;
}

.pa-competitions-page .pa-competition-filters a {
    min-height: 42px;
    padding: 0 20px;
    border-color: rgba(40, 33, 23, 0.12);
    background: rgba(255, 255, 255, 0.76);
    color: rgba(31, 28, 24, 0.68);
    font-weight: 600;
    box-shadow: 0 8px 26px rgba(45, 36, 23, 0.03);
}

.pa-competitions-page .pa-competition-filters a:hover,
.pa-competitions-page .pa-competition-filters a.active {
    border-color: rgba(201, 139, 25, 0.46);
    background: rgba(255, 250, 240, 0.86);
    color: #b7780d;
}

.pa-featured-competition-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
    min-height: 350px;
    overflow: hidden;
    border: 1px solid rgba(201, 139, 25, 0.42);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 100%, rgba(201, 139, 25, 0.13), transparent 300px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 245, 0.88));
    box-shadow: 0 28px 80px rgba(74, 54, 23, 0.11);
}

.pa-featured-competition-card .pa-competition-art {
    min-height: 350px;
}

.pa-featured-competition-copy {
    display: grid;
    align-content: center;
    gap: 24px;
    min-width: 0;
    padding: clamp(34px, 5vw, 58px);
}

.pa-featured-competition-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(31, 28, 24, 0.54);
    font-size: 13px;
}

.pa-competition-date::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border: 1px solid currentColor;
    border-radius: 2px;
    opacity: 0.55;
}

.pa-featured-competition-copy h2 {
    max-width: 620px;
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.02;
}

.pa-featured-competition-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 34px;
    margin: 0;
}

.pa-featured-competition-meta div,
.pa-competitions-page .pa-competition-copy dl div {
    position: relative;
    padding-left: 18px;
}

.pa-featured-competition-meta div::before,
.pa-competitions-page .pa-competition-copy dl div::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(31, 28, 24, 0.35);
    border-radius: 50%;
}

.pa-featured-competition-meta dt,
.pa-competitions-page .pa-competition-copy dt {
    margin-bottom: 4px;
    color: rgba(31, 28, 24, 0.46);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pa-featured-competition-meta dd,
.pa-competitions-page .pa-competition-copy dd {
    margin: 0;
    color: rgba(31, 28, 24, 0.74);
    font-size: 13px;
    line-height: 1.35;
}

.pa-featured-competition-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d9a338, #b7780d);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 18px 32px rgba(201, 139, 25, 0.24);
}

.pa-competitions-section-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin: 6px 0 18px;
}

.pa-competitions-section-heading h2 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 400;
}

.pa-competitions-section-heading span {
    height: 1px;
    background: rgba(201, 139, 25, 0.38);
}

.pa-competitions-page .pa-competition-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.pa-competitions-page .pa-competition-card,
.pa-competitions-page .pa-competition-card--annual,
.pa-competitions-page .pa-competition-card--list.pa-competition-card--annual {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 50px rgba(45, 36, 23, 0.06);
}

.pa-competitions-page .pa-competition-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 139, 25, 0.28);
    box-shadow: 0 26px 62px rgba(45, 36, 23, 0.1);
}

.pa-competitions-page .pa-competition-art {
    position: relative;
    display: block;
    min-height: 0;
    aspect-ratio: 16 / 8.8;
    overflow: hidden;
    background: #f3ece0;
}

.pa-competitions-page .pa-competition-art.has-image {
    background: #ede5d8;
}

.pa-competitions-page .pa-competition-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pa-featured-competition-card .pa-competition-art {
    height: 100%;
    min-height: 350px;
    aspect-ratio: auto;
}

.pa-competitions-page .pa-competition-art-1 {
    background:
        radial-gradient(circle at 72% 52%, rgba(255, 255, 255, 0.68) 0 22%, transparent 23%),
        repeating-linear-gradient(90deg, rgba(181, 135, 71, 0.22) 0 6px, transparent 7px 16px),
        linear-gradient(135deg, #ead7bb, #fbf7ee 70%);
}

.pa-competitions-page .pa-competition-art-2 {
    background:
        linear-gradient(128deg, rgba(255, 255, 255, 0.9) 0 24%, transparent 25%),
        linear-gradient(135deg, #171513, #5b5248);
}

.pa-competitions-page .pa-competition-art-3 {
    background:
        radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.7), transparent 70px),
        linear-gradient(135deg, #f8f3ea, #d9c6aa);
}

.pa-competitions-page .pa-competition-placeholder-mark {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 999px 999px 0 0;
    opacity: 0.72;
}

.pa-competitions-page .pa-competition-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-content: initial;
    gap: 14px;
    padding: 22px;
}

.pa-competitions-page .pa-competition-card--annual .pa-competition-copy {
    padding: 22px;
}

.pa-competitions-page .pa-competition-topline {
    justify-content: flex-start;
}

.pa-competitions-page .pa-competition-topline > span:last-child {
    margin-left: auto;
    color: rgba(31, 28, 24, 0.5);
    font-size: 11px;
}

.pa-competitions-page .pa-competition-badge {
    padding: 6px 10px;
    background: rgba(201, 139, 25, 0.12);
    color: #b7780d;
    font-size: 10px;
    box-shadow: none;
}

.pa-competitions-page .pa-competition-card--annual .pa-competition-badge,
.pa-featured-competition-card .pa-competition-badge {
    background: linear-gradient(135deg, #d9a338, #b7780d);
    color: #fff;
}

.pa-competitions-page .pa-competition-copy h3 {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.08;
}

.pa-competitions-page .pa-competition-card--annual .pa-competition-copy h3 {
    font-size: clamp(22px, 2vw, 30px);
}

.pa-competitions-page .pa-competition-copy dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.pa-competitions-page .pa-competition-copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #b7780d;
}

.pa-competitions-page .pa-competition-copy a::after {
    content: "\2192";
}

@media (max-width: 1180px) {
    .pa-competitions-page .pa-competition-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-featured-competition-card {
        grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    }
}

@media (max-width: 900px) {
    .pa-featured-competition-card {
        grid-template-columns: 1fr;
    }

    .pa-featured-competition-card .pa-competition-art {
        min-height: 280px;
    }

    .pa-featured-competition-topline {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .pa-competitions-page .pa-competitions-hero h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .pa-competitions-page .pa-competition-list {
        grid-template-columns: 1fr;
    }

    .pa-featured-competition-copy,
    .pa-competitions-page .pa-competition-copy {
        padding: 22px;
    }

    .pa-featured-competition-meta,
    .pa-competitions-page .pa-competition-copy dl {
        grid-template-columns: 1fr;
    }

    .pa-competitions-section-heading {
        grid-template-columns: 1fr;
    }

    .pa-competitions-section-heading span {
        width: 100%;
    }
}

/* Credit Bundles page */
.pa-bundles-page {
    gap: 30px;
}

.pa-bundles-page::before {
    width: min(42vw, 560px);
    height: 260px;
    opacity: 0.52;
    background:
        repeating-linear-gradient(90deg, rgba(181, 135, 71, 0.22) 0 6px, transparent 7px 16px),
        radial-gradient(circle at 36% 105%, rgba(255, 255, 255, 0.9) 0 100px, transparent 102px),
        linear-gradient(135deg, rgba(241, 221, 190, 0.82), rgba(255, 255, 255, 0.2));
}

.pa-bundles-hero {
    display: grid;
    gap: 12px;
    max-width: 820px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(201, 139, 25, 0.28);
}

.pa-bundles-hero .dashboard-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0;
    background: transparent;
    color: #c98b19;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pa-bundles-hero h1 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(54px, 7vw, 88px);
    font-weight: 400;
    line-height: 0.98;
}

.pa-bundles-hero p {
    margin: 0 !important;
    color: rgba(31, 28, 24, 0.62) !important;
    font-size: clamp(16px, 1.6vw, 21px);
}

.pa-bundles-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 900px;
}

.pa-bundles-intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(201, 139, 25, 0.2);
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.86);
    color: #c98b19;
    font-size: 22px;
}

.pa-bundles-intro h2 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 400;
}

.pa-bundles-intro p {
    margin: 3px 0 0 !important;
    color: rgba(31, 28, 24, 0.58) !important;
    font-size: 14px;
}

.pa-bundles-page .photo-award-credit-bundles {
    margin: 0;
}

.pa-bundles-page .bundles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pa-bundles-page .bundle-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 476px;
    padding: 36px 28px 28px;
    border: 1px solid rgba(40, 33, 23, 0.11);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 54px rgba(45, 36, 23, 0.07);
    text-align: center;
}

.pa-bundles-page .bundle-card-featured {
    border-color: rgba(201, 139, 25, 0.52);
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 139, 25, 0.11), transparent 180px),
        rgba(255, 252, 246, 0.92);
    box-shadow: 0 28px 74px rgba(90, 62, 25, 0.12);
}

.pa-bundles-page .bundle-popular-badge {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d9a338, #b7780d);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pa-bundles-page .bundle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border: 1px solid rgba(201, 139, 25, 0.18);
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.72);
    color: #c98b19;
    font-size: 30px;
    line-height: 1;
}

.pa-bundles-page .bundle-card-featured .bundle-icon {
    margin-top: 18px;
}

.pa-bundles-page .bundle-name {
    max-width: 220px;
    min-height: 64px;
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(25px, 2vw, 32px);
    font-weight: 400;
    line-height: 1.06;
}

.pa-bundles-page .bundle-name::after {
    content: "";
    display: block;
    width: 46px;
    height: 1px;
    margin: 22px auto 0;
    background: #c98b19;
}

.pa-bundles-page .bundle-details {
    display: grid;
    gap: 16px;
    width: 100%;
    margin: 24px 0 20px;
}

.pa-bundles-page .bundle-details p {
    margin: 0 !important;
    color: rgba(31, 28, 24, 0.74) !important;
    font-size: 15px;
    line-height: 1.42;
}

.pa-bundles-page .bundle-pay {
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(40, 33, 23, 0.14);
}

.pa-bundles-page .bundle-details strong {
    color: rgba(31, 28, 24, 0.54);
    font-weight: 600;
}

.pa-bundles-page .bundle-credit {
    max-width: 200px;
    justify-self: center;
}

.pa-bundles-page .bundle-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    margin: auto 0 20px !important;
    padding: 10px 12px;
    border: 1px solid rgba(40, 33, 23, 0.08);
    border-radius: 8px;
    background: rgba(255, 252, 246, 0.74);
    color: rgba(31, 28, 24, 0.58) !important;
    font-size: 13px;
    line-height: 1.35;
}

.pa-bundles-page .bundle-note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(201, 139, 25, 0.36);
    border-radius: 50%;
    color: #c98b19;
    font-size: 11px;
}

.pa-bundles-page .bundle-buy-btn,
.pa-bundles-page .open-login-bundle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid rgba(201, 139, 25, 0.58);
    border-radius: 8px;
    background: transparent;
    color: #b7780d;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.pa-bundles-page .bundle-buy-btn::after,
.pa-bundles-page .open-login-bundle::after {
    content: "\2192";
    margin-left: auto;
}

.pa-bundles-page .bundle-card-featured .bundle-buy-btn {
    border-color: transparent;
    background: linear-gradient(135deg, #d9a338, #b7780d);
    color: #fff;
    box-shadow: 0 18px 32px rgba(201, 139, 25, 0.24);
}

.pa-bundles-page .bundle-buy-btn:hover,
.pa-bundles-page .open-login-bundle:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 139, 25, 0.78);
    box-shadow: 0 14px 30px rgba(201, 139, 25, 0.16);
}

.pa-bundles-page .bundle-buy-btn:disabled,
.pa-bundles-page .open-login-bundle:disabled {
    transform: none;
    border-color: rgba(40, 33, 23, 0.12);
    background: rgba(40, 33, 23, 0.08);
    color: rgba(31, 28, 24, 0.44);
    cursor: wait;
    box-shadow: none;
}

.pa-bundles-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 40px rgba(45, 36, 23, 0.05);
}

.pa-bundles-trust-strip article {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 24px 30px;
}

.pa-bundles-trust-strip article + article {
    border-left: 1px solid rgba(201, 139, 25, 0.22);
}

.pa-bundles-trust-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(201, 139, 25, 0.36);
    border-radius: 50%;
    color: #b7780d;
    font-size: 22px;
}

.pa-bundles-trust-strip strong {
    display: block;
    color: var(--pa-ink);
    font-size: 15px;
}

.pa-bundles-trust-strip p {
    margin: 3px 0 0 !important;
    color: rgba(31, 28, 24, 0.54) !important;
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 1280px) {
    .pa-bundles-page .bundles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .pa-bundles-page {
        gap: 24px;
    }

    .pa-bundles-hero h1 {
        font-size: clamp(44px, 14vw, 62px);
    }

    .pa-bundles-intro {
        align-items: flex-start;
    }

    .pa-bundles-page .bundles-grid,
    .pa-bundles-trust-strip {
        grid-template-columns: 1fr;
    }

    .pa-bundles-page .bundle-card {
        min-height: 0;
    }

    .pa-bundles-trust-strip article + article {
        border-top: 1px solid rgba(201, 139, 25, 0.22);
        border-left: 0;
    }
}

/* New Entry page */
.pa-new-entry-page {
    gap: 26px;
}

.pa-new-entry-page::before {
    width: min(38vw, 500px);
    height: 230px;
    opacity: 0.42;
    background:
        radial-gradient(circle at 54% 56%, rgba(255, 255, 255, 0.82) 0 78px, transparent 80px),
        repeating-linear-gradient(90deg, rgba(181, 135, 71, 0.16) 0 6px, transparent 7px 16px),
        linear-gradient(135deg, rgba(245, 229, 201, 0.68), rgba(255, 255, 255, 0.18));
}

.pa-new-entry-hero {
    display: grid;
    gap: 10px;
    max-width: 820px;
}

.pa-new-entry-hero .dashboard-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0;
    background: transparent;
    color: #c98b19;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pa-new-entry-hero h1 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: clamp(52px, 6vw, 78px);
    font-weight: 400;
    line-height: 1;
}

.pa-new-entry-hero p {
    margin: 0 !important;
    color: rgba(31, 28, 24, 0.62) !important;
    font-size: clamp(16px, 1.5vw, 19px);
}

.pa-new-entry-page .pa-events-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 18px 22px;
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-left: 4px solid #c98b19;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 42px rgba(45, 36, 23, 0.05);
}

.pa-events-summary-icon {
    position: relative;
    display: inline-flex;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(201, 139, 25, 0.22);
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.88);
}

.pa-events-summary-icon::before,
.pa-events-summary-icon::after {
    content: "";
    position: absolute;
    border: 1px solid #c98b19;
}

.pa-events-summary-icon::before {
    inset: 15px 13px 12px;
    border-radius: 4px;
}

.pa-events-summary-icon::after {
    top: 22px;
    left: 18px;
    width: 14px;
    height: 0;
    border-width: 1px 0 0;
}

.pa-new-entry-page .pa-events-summary p {
    margin: 0 !important;
    color: var(--pa-ink) !important;
    font-family: var(--pa-font-display);
    font-size: 20px;
}

.pa-new-entry-page .events-grid {
    display: grid;
    gap: 14px;
    margin: 0;
}

.pa-new-entry-page .event-card-wide {
    overflow: hidden;
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 40px rgba(45, 36, 23, 0.055);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pa-new-entry-page .event-card-wide:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 139, 25, 0.32);
    box-shadow: 0 24px 60px rgba(45, 36, 23, 0.09);
}

.pa-new-entry-page .event-card-content {
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr) minmax(220px, auto);
    align-items: center;
    gap: 24px;
    padding: 12px;
}

.pa-new-entry-event-thumb {
    position: relative;
    display: block;
    min-height: 112px;
    overflow: hidden;
    border-radius: 10px;
    background:
        radial-gradient(circle at 68% 26%, rgba(255, 255, 255, 0.74), transparent 56px),
        linear-gradient(135deg, #efe3d1, #fbf7ee);
}

.pa-new-entry-event-thumb.has-image {
    background: #ede5d8;
}

.pa-new-entry-event-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 112px;
    object-fit: cover;
}

.pa-event-thumb-placeholder {
    position: absolute;
    inset: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 999px 999px 0 0;
    opacity: 0.8;
}

.pa-new-entry-page .event-info {
    gap: 10px;
    justify-content: center;
}

.pa-new-entry-page .event-title {
    margin: 0;
    font-family: var(--pa-font-display);
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 400;
    line-height: 1.15;
}

.pa-new-entry-page .event-title a {
    color: var(--pa-ink);
}

.pa-new-entry-page .event-title a:hover {
    color: #b7780d;
}

.pa-new-entry-page .event-badges {
    gap: 7px;
}

.pa-new-entry-page .type-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.pa-new-entry-page .type-badge.single {
    border: 1px solid rgba(70, 130, 205, 0.18);
    background: rgba(70, 130, 205, 0.1);
    color: #3b76bd;
}

.pa-new-entry-page .type-badge.series {
    border: 1px solid rgba(65, 145, 88, 0.18);
    background: rgba(65, 145, 88, 0.1);
    color: #3d8b52;
}

.pa-new-entry-page .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pa-new-entry-page .meta-item {
    color: rgba(31, 28, 24, 0.62);
    font-size: 13px;
}

.pa-new-entry-page .event-card-right {
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
}

.pa-new-entry-page .countdown-timer {
    min-width: 0;
    margin: 0;
    text-align: right;
}

.pa-new-entry-page .countdown-display {
    display: grid;
    gap: 4px;
    color: #3e8c4d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
}

.pa-new-entry-page .countdown-text::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 7px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.7;
}

.pa-new-entry-page .countdown-display small {
    color: rgba(31, 28, 24, 0.48);
    font-size: 11px;
    font-weight: 600;
}

.pa-new-entry-page .event-action .btn {
    justify-content: center;
    min-width: 176px;
    min-height: 46px;
    max-width: 100%;
    padding: 0 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d9a338, #b7780d);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(201, 139, 25, 0.18);
}

.pa-new-entry-page .event-action .btn:hover {
    background: linear-gradient(135deg, #e0ad42, #a96c08);
    color: #fff;
    box-shadow: 0 18px 34px rgba(201, 139, 25, 0.24);
}

.pa-new-entry-page .event-action .btn span {
    margin-left: 10px;
}

.pa-new-entry-page .no-events {
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 42px rgba(45, 36, 23, 0.05);
}

@media (max-width: 1180px) {
    .pa-new-entry-page .event-card-content {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .pa-new-entry-page .event-card-right {
        grid-column: 2;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }

    .pa-new-entry-page .countdown-timer {
        text-align: left;
    }
}

@media (max-width: 900px) {
    .pa-new-entry-page .event-card-content {
        grid-template-columns: 136px minmax(0, 1fr);
        gap: 16px;
    }

    .pa-new-entry-page .event-card-right {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
        width: 100%;
    }

    .pa-new-entry-page .event-action,
    .pa-new-entry-page .event-action .btn {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .pa-new-entry-hero h1 {
        font-size: clamp(44px, 14vw, 62px);
    }

    .pa-new-entry-page .event-card-content {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
    }

    .pa-new-entry-event-thumb,
    .pa-new-entry-event-thumb img {
        min-height: 180px;
    }

    .pa-new-entry-page .event-card-right {
        grid-column: auto;
        align-items: stretch;
        flex-direction: column;
        display: flex;
    }

    .pa-new-entry-page .countdown-timer {
        text-align: left;
    }

    .pa-new-entry-page .event-action .btn {
        width: 100%;
    }

    .pa-new-entry-page .pa-events-summary {
        align-items: flex-start;
    }
}

/* Phase 2 public profile gallery, winning works, and interview UI */
.pa-profile-form-subcard {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-radius: 16px;
    background: rgba(255, 252, 247, 0.76);
}

.pa-profile-form-subcard input[type="file"] {
    max-width: 100%;
}

.pa-profile-form-subcard h3 {
    margin: 0 0 8px;
    font-family: var(--pa-font-display);
    font-size: 24px;
    font-weight: 400;
    color: #16120c;
}

.pa-profile-form-subcard p {
    margin: 0 0 14px;
    color: rgba(22, 18, 12, 0.66);
}

.pa-profile-gallery-status-grid,
.pa-public-work-grid,
.pa-public-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.pa-profile-gallery-status-card,
.pa-public-work-card {
    overflow: hidden;
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(41, 32, 18, 0.06);
}

.pa-profile-gallery-status-card img,
.pa-public-work-card img,
.pa-public-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.pa-profile-gallery-status-card {
    padding-bottom: 12px;
}

.pa-gallery-status,
.pa-public-award-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 12px 12px 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f5efe5;
    color: #9b6a10;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pa-gallery-status-approved { background: #e8f6ed; color: #157245; }
.pa-gallery-status-pending { background: #fff5d7; color: #8a5a00; }
.pa-gallery-status-rejected { background: #fde8e8; color: #a11b1b; }
.pa-gallery-status-hidden { background: #edf0f3; color: #59616b; }

.pa-profile-gallery-status-card small {
    display: block;
    margin: 8px 12px 0;
    color: rgba(22, 18, 12, 0.62);
}

.pa-public-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.pa-public-section-heading span {
    color: rgba(22, 18, 12, 0.58);
    font-size: 13px;
}

.pa-public-work-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pa-public-work-card > div {
    padding: 16px;
}

.pa-public-work-card h3 {
    margin: 10px 0 6px;
    font-size: 18px;
}

.pa-public-work-card p,
.pa-public-work-card small {
    display: block;
    margin: 0;
    color: rgba(22, 18, 12, 0.65);
}

.pa-public-award-gold,
.pa-public-award-photographer-of-the-year {
    background: linear-gradient(135deg, #f3c96a, #b8780d);
    color: #fff;
}

.pa-public-award-silver { background: linear-gradient(135deg, #f3f4f6, #aeb4bf); color: #3c424b; }
.pa-public-award-bronze { background: linear-gradient(135deg, #d9a17b, #8f5632); color: #fff; }
.pa-public-award-honorable-mention,
.pa-public-award-jury-choice,
.pa-public-award-acceptance { background: #111; color: #f8f1e6; }

.pa-public-work-placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f6f0e7;
    color: rgba(22, 18, 12, 0.5);
}

.pa-public-gallery-grid a {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(40, 33, 23, 0.1);
    background: #fff;
}

.pa-public-interview-copy {
    color: rgba(22, 18, 12, 0.75);
    font-size: 16px;
    line-height: 1.75;
}

.pa-public-hero-badges,
.pa-public-badge-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pa-public-hero-badges {
    display: inline-flex;
    margin: 0 0 0 10px;
    vertical-align: middle;
}

.pa-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid rgba(176, 126, 31, 0.22);
    border-radius: 999px;
    background: rgba(255, 251, 244, 0.92);
    color: #4c3720;
    font-family: var(--pa-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(42, 32, 18, 0.08);
}

.pa-badge-pill img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.pa-badge-mark {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c98919;
    color: #fff;
    font-size: 11px;
}

.pa-badge-pill-verified_photographer,
.pa-badge-pill-verified_judge {
    border-color: rgba(28, 139, 84, 0.24);
    background: rgba(233, 248, 239, 0.96);
    color: #116b3d;
}

.pa-badge-pill-verified_photographer .pa-badge-mark,
.pa-badge-pill-verified_judge .pa-badge-mark {
    background: #18a35d;
}

.pa-public-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pa-public-badge-card {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 190px;
    padding: 18px;
    border: 1px solid rgba(40, 33, 23, 0.1);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff, #fffaf2);
    box-shadow: 0 14px 34px rgba(42, 32, 18, 0.06);
}

.pa-public-badge-art {
    display: block;
    width: min(100%, 180px);
    max-height: 180px;
    object-fit: contain;
}

.pa-public-badge-card p {
    margin: 12px 0 0;
    color: rgba(22, 18, 12, 0.63);
    font-size: 13px;
    line-height: 1.6;
}

.pa-public-badge-evidence {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 12px;
    color: rgba(22, 18, 12, 0.52);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.pa-public-badge-evidence-muted {
    color: rgba(22, 18, 12, 0.52);
    font-weight: 700;
}

@media (max-width: 900px) {
    .pa-profile-gallery-status-grid,
    .pa-public-work-grid,
    .pa-public-gallery-grid,
    .pa-public-badges-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .pa-profile-gallery-status-grid,
    .pa-public-work-grid,
    .pa-public-gallery-grid,
    .pa-public-badges-grid {
        grid-template-columns: 1fr;
    }

    .pa-public-section-heading {
        display: block;
    }
}

/* Premium change password page */
.pa-password-page {
    min-height: 100%;
    gap: 18px;
}

.pa-password-hero {
    padding-bottom: clamp(18px, 3vw, 34px);
}

.pa-password-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 22px;
    align-items: start;
}

.pa-password-card,
.pa-password-security-note {
    border: 1px solid rgba(34, 28, 19, 0.09);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 26px 70px rgba(42, 32, 18, 0.08);
    backdrop-filter: blur(18px);
}

.pa-password-card {
    display: grid;
    gap: 22px;
    padding: clamp(22px, 4vw, 34px);
}

.pa-password-card-header {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(34, 28, 19, 0.08);
}

.pa-password-lock,
.pa-password-security-note > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(199, 136, 19, 0.2);
    border-radius: 50%;
    background: rgba(249, 241, 226, 0.92);
    color: var(--pa-gold);
    font-size: 22px;
}

.pa-password-card h2,
.pa-password-security-note h3 {
    margin: 0;
    color: var(--pa-ink);
    font-family: var(--pa-font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
}

.pa-password-card-header p,
.pa-password-security-note p,
.pa-password-security-note li {
    color: var(--pa-muted);
    font-size: 14px;
    line-height: 1.65;
}

.pa-password-card-header p {
    margin: 6px 0 0;
}

.pa-password-field {
    display: grid;
    gap: 9px;
    margin: 0;
}

.pa-password-field label {
    color: var(--pa-ink);
    font-size: 13px;
    font-weight: 700;
}

.pa-password-input-wrap {
    position: relative;
}

.pa-password-input-wrap input[type="password"],
.pa-password-input-wrap input[type="text"] {
    width: 100%;
    min-height: 54px;
    padding: 0 88px 0 16px;
    border: 1px solid rgba(34, 28, 19, 0.13);
    border-radius: 14px;
    background: #fff;
    color: var(--pa-ink);
    font-size: 15px;
    line-height: 54px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.photo-award-profile-container .pa-password-page .pa-password-field label {
    color: var(--pa-ink) !important;
}

.photo-award-profile-container .pa-password-page .pa-password-input-wrap input[type="password"],
.photo-award-profile-container .pa-password-page .pa-password-input-wrap input[type="text"] {
    border: 1px solid rgba(34, 28, 19, 0.13) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--pa-ink) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.photo-award-profile-container .pa-password-page .pa-password-input-wrap input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: var(--pa-ink) !important;
}

.pa-password-input-wrap input:focus {
    border-color: rgba(199, 136, 19, 0.55);
    outline: none;
    box-shadow: 0 0 0 4px rgba(199, 136, 19, 0.12);
}

.pa-password-toggle {
    position: absolute;
    top: 9px;
    right: 9px;
    min-width: 64px;
    height: 36px;
    border: 1px solid rgba(199, 136, 19, 0.22);
    border-radius: 999px;
    background: rgba(249, 241, 226, 0.86);
    color: var(--pa-gold);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.pa-password-strength {
    display: grid;
    gap: 8px;
}

.pa-password-strength strong {
    color: var(--pa-muted);
    font-size: 12px;
}

.pa-password-strength b {
    color: var(--pa-ink);
}

.pa-password-strength-bar {
    display: block;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(34, 28, 19, 0.08);
}

.pa-password-strength-bar i {
    display: block;
    width: 8%;
    height: 100%;
    border-radius: inherit;
    background: #b6553f;
    transition: width 0.2s ease, background 0.2s ease;
}

.pa-password-strength.is-weak .pa-password-strength-bar i {
    background: #d99122;
}

.pa-password-strength.is-good .pa-password-strength-bar i {
    background: #c78a13;
}

.pa-password-strength.is-strong .pa-password-strength-bar i {
    background: #2e9b62;
}

.pa-password-requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(34, 28, 19, 0.08);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 250, 242, 0.9), rgba(255, 255, 255, 0.86));
}

.pa-password-requirements span {
    position: relative;
    padding-left: 24px;
    color: var(--pa-muted);
    font-size: 13px;
}

.pa-password-requirements span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(34, 28, 19, 0.18);
    border-radius: 50%;
    background: #fff;
}

.pa-password-requirements span.is-met {
    color: #176f44;
}

.pa-password-requirements span.is-met::before {
    border-color: rgba(23, 111, 68, 0.32);
    background: #2e9b62;
    box-shadow: inset 0 0 0 3px #fff;
}

.pa-password-actions {
    margin: 0;
}

.pa-gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border: 1px solid rgba(199, 136, 19, 0.42);
    border-radius: 12px;
    background: linear-gradient(135deg, #d79a20, #bd7808);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(199, 136, 19, 0.2);
}

.photo-award-profile-container .pa-password-page .pa-password-actions .pa-gold-button,
.photo-award-profile-container .pa-password-page .pa-password-actions .btn-primary {
    background: linear-gradient(135deg, #22201b, #11100e) !important;
    border-color: #171512 !important;
    color: #ffffff !important;
    box-shadow: 0 18px 34px rgba(18, 14, 8, 0.16) !important;
}

.photo-award-profile-container .pa-password-page .pa-password-actions .pa-gold-button:hover,
.photo-award-profile-container .pa-password-page .pa-password-actions .btn-primary:hover {
    background: linear-gradient(135deg, #343029, #171512) !important;
    border-color: #171512 !important;
    color: #ffffff !important;
}

.pa-gold-button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.pa-password-security-note {
    padding: 26px;
}

.pa-password-security-note h3 {
    margin-top: 16px;
}

.pa-password-security-note p {
    margin: 10px 0 18px;
}

.pa-password-security-note ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(34, 28, 19, 0.08);
    list-style: none;
}

.pa-password-security-note li {
    position: relative;
    padding-left: 18px;
}

.pa-password-security-note li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pa-gold);
}

@media (max-width: 980px) {
    .pa-password-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pa-password-card-header,
    .pa-password-hero {
        display: block;
    }

    .pa-password-lock {
        margin-bottom: 14px;
    }

    .pa-password-requirements {
        grid-template-columns: 1fr;
    }

    .pa-password-input-wrap input[type="password"],
    .pa-password-input-wrap input[type="text"] {
        padding-right: 78px;
    }
}
.pa-dashboard-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 24px 0 0;
}

.pa-dashboard-pagination a {
    align-items: center;
    border: 1px solid rgba(190, 132, 36, 0.28);
    border-radius: 999px;
    color: #9a6508;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    min-width: 36px;
    padding: 0 12px;
    text-decoration: none;
}

.pa-dashboard-pagination a.is-active,
.pa-dashboard-pagination a:hover {
    background: #d39414;
    border-color: #d39414;
    color: #fff;
}

@media (max-width: 1100px) {
    .pa-submission-page .pa-category-picker-layout {
        grid-template-columns: 1fr;
    }

    .pa-submission-page .pa-category-summary {
        min-height: 0;
        position: sticky;
        bottom: 18px;
        z-index: 5;
    }

    .pa-submission-page .pa-simple-category-grid,
    .pa-submission-page .pa-subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .pa-submission-page .pa-selected-chip-row,
    .pa-submission-page .pa-category-limit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .pa-submission-page .pa-clear-category-selection {
        padding: 0;
        text-align: left;
    }

    .pa-submission-page .pa-simple-category-grid,
    .pa-submission-page .pa-subcategory-grid {
        grid-template-columns: 1fr;
    }

    .pa-submission-page .pa-category-card {
        min-height: 96px;
    }

    .pa-submission-page .pa-category-row-header {
        grid-template-columns: 30px 1fr;
    }

    .pa-submission-page .pa-category-count,
    .pa-submission-page .pa-category-toggle-text {
        grid-column: 2;
    }

    .pa-submission-page .pa-category-summary {
        border-radius: 16px;
        bottom: 10px;
        padding: 18px;
    }
}

/* =========================================================
   Global Visual Theme System
   Visual-only overrides driven by Photo Award settings.
   ========================================================= */
:root,
html[data-pa-theme="white-gold"],
body.pa-theme-white-gold {
    --pa-bg: #FAF8F2;
    --pa-surface: #FFFFFF;
    --pa-surface-soft: #F6F0E6;
    --pa-surface-alt: #F7EACF;
    --pa-text: #1F1A16;
    --pa-text-soft: #6F665D;
    --pa-border: #E4D8C8;
    --pa-border-strong: #CBBBA7;
    --pa-accent: #C8911F;
    --pa-accent-2: #D9A441;
    --pa-accent-soft: #F7EACF;
    --pa-info: #7A9CCB;
    --pa-success: #3C9C70;
    --pa-warning: #C79A2B;
    --pa-danger: #C94B4B;
    --pa-accent-contrast: #17120C;
    --pa-radius: 18px;
    --pa-radius-sm: 10px;
    --pa-shadow: 0 18px 48px rgba(31, 26, 22, 0.08);
    --pa-shadow-soft: 0 10px 30px rgba(31, 26, 22, 0.06);
    --pa-transition: 150ms ease;
    --pa-font-body: "Jost";
    --pa-font-display: "Italiana";
}

html[data-pa-theme="white-gold"][data-pa-mode="dark"],
body.pa-theme-white-gold.pa-mode-dark {
    --pa-bg: #11100E;
    --pa-surface: #181612;
    --pa-surface-soft: #211D17;
    --pa-surface-alt: #2A241B;
    --pa-text: #F7F1E7;
    --pa-text-soft: #B5AA9B;
    --pa-border: #3A3124;
    --pa-border-strong: #5B4A32;
    --pa-accent: #D9A441;
    --pa-accent-2: #F0C15A;
    --pa-accent-soft: rgba(217, 164, 65, 0.14);
    --pa-accent-contrast: #0E0D0B;
    --pa-shadow: 0 20px 52px rgba(0, 0, 0, 0.3);
    --pa-shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
}

html[data-pa-theme="black-gold"],
body.pa-theme-black-gold,
html[data-pa-theme="black-gold"][data-pa-mode="light"],
body.pa-theme-black-gold.pa-mode-light,
html[data-pa-theme="black-gold"][data-pa-mode="dark"],
body.pa-theme-black-gold.pa-mode-dark {
    --pa-bg: #080808;
    --pa-surface: #111111;
    --pa-surface-soft: #181818;
    --pa-surface-alt: #1E1B16;
    --pa-text: #F6F1E8;
    --pa-text-soft: #AFA69B;
    --pa-border: #2B2620;
    --pa-border-strong: #4D3D25;
    --pa-accent: #D6A12F;
    --pa-accent-2: #F0C15A;
    --pa-accent-soft: rgba(214, 161, 47, 0.14);
    --pa-info: #8AA4C8;
    --pa-success: #7EA46A;
    --pa-warning: #D5A63F;
    --pa-danger: #E06D6D;
    --pa-accent-contrast: #080808;
    --pa-radius: 18px;
    --pa-radius-sm: 10px;
    --pa-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
    --pa-shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.32);
    --pa-transition: 150ms ease;
    --pa-font-body: "Jost";
    --pa-font-display: "Italiana";
}

html[data-pa-theme="white-blue"],
body.pa-theme-white-blue {
    --pa-bg: #F7FAFC;
    --pa-surface: #FFFFFF;
    --pa-surface-soft: #EEF5FA;
    --pa-surface-alt: #E7F0F8;
    --pa-text: #111827;
    --pa-text-soft: #64748B;
    --pa-border: #D8E4EE;
    --pa-border-strong: #BED2E3;
    --pa-accent: #2563EB;
    --pa-accent-2: #4F8CF7;
    --pa-accent-soft: #EAF2FF;
    --pa-info: #0EA5E9;
    --pa-success: #3C9C70;
    --pa-warning: #C79A2B;
    --pa-danger: #D94B4B;
    --pa-accent-contrast: #FFFFFF;
    --pa-radius: 16px;
    --pa-radius-sm: 10px;
    --pa-shadow: 0 18px 45px rgba(17, 24, 39, 0.07);
    --pa-shadow-soft: 0 10px 26px rgba(37, 99, 235, 0.08);
    --pa-transition: 150ms ease;
    --pa-font-body: "Jost";
    --pa-font-display: "Italiana";
}

html[data-pa-theme="white-blue"][data-pa-mode="dark"],
body.pa-theme-white-blue.pa-mode-dark {
    --pa-bg: #08111C;
    --pa-surface: #0F1B2A;
    --pa-surface-soft: #142235;
    --pa-surface-alt: #192B42;
    --pa-text: #F5F9FF;
    --pa-text-soft: #A8B7C8;
    --pa-border: #24364D;
    --pa-border-strong: #35506E;
    --pa-accent: #5B9BFF;
    --pa-accent-2: #86B7FF;
    --pa-accent-soft: rgba(91, 155, 255, 0.14);
    --pa-info: #38BDF8;
    --pa-success: #68C58E;
    --pa-warning: #D9AE45;
    --pa-danger: #EF7A7A;
    --pa-accent-contrast: #06101B;
    --pa-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
    --pa-shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.24);
}

html[data-pa-theme="contact-sheet-minimal"],
body.pa-theme-contact-sheet-minimal {
    --pa-bg: #FAF8F3;
    --pa-surface: #FFFFFF;
    --pa-surface-soft: #F7F2EB;
    --pa-surface-alt: #F3EDE4;
    --pa-text: #1B1715;
    --pa-text-soft: #6D655F;
    --pa-border: #E7DED2;
    --pa-border-strong: #D9CCBE;
    --pa-accent: #E86B43;
    --pa-accent-2: #F08A62;
    --pa-accent-soft: #FCE9E2;
    --pa-success: #6A9B57;
    --pa-warning: #C49A3A;
    --pa-info: #7A9CCB;
    --pa-danger: #D85649;
    --pa-sage: #BCC9AE;
    --pa-gold-soft: #CBB47A;
    --pa-accent-contrast: #FFFFFF;
    --pa-radius: 14px;
    --pa-radius-sm: 8px;
    --pa-shadow: 0 18px 42px rgba(27, 23, 21, 0.06);
    --pa-shadow-soft: 0 8px 22px rgba(27, 23, 21, 0.05);
    --pa-transition: 140ms ease;
    --pa-font-body: "Jost";
    --pa-font-display: "Italiana";
}

html[data-pa-theme="contact-sheet-minimal"][data-pa-mode="dark"],
body.pa-theme-contact-sheet-minimal.pa-mode-dark {
    --pa-bg: #0B0B0D;
    --pa-surface: #111216;
    --pa-surface-soft: #17181D;
    --pa-surface-alt: #1C1D22;
    --pa-text: #F6F2EA;
    --pa-text-soft: #AAA39A;
    --pa-border: #2A2725;
    --pa-border-strong: #3A342E;
    --pa-accent: #E2A92E;
    --pa-accent-2: #F0B43C;
    --pa-accent-soft: rgba(226, 169, 46, 0.12);
    --pa-success: #7EA46A;
    --pa-warning: #D5A63F;
    --pa-info: #8AA4C8;
    --pa-danger: #E06D6D;
    --pa-glow-soft: rgba(226, 169, 46, 0.08);
    --pa-accent-contrast: #0B0B0D;
    --pa-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
    --pa-shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.26);
}

@media (prefers-color-scheme: dark) {
    html[data-pa-theme="white-gold"][data-pa-mode="system"],
    body.pa-theme-white-gold.pa-mode-system {
        --pa-bg: #11100E;
        --pa-surface: #181612;
        --pa-surface-soft: #211D17;
        --pa-surface-alt: #2A241B;
        --pa-text: #F7F1E7;
        --pa-text-soft: #B5AA9B;
        --pa-border: #3A3124;
        --pa-border-strong: #5B4A32;
        --pa-accent: #D9A441;
        --pa-accent-2: #F0C15A;
        --pa-accent-soft: rgba(217, 164, 65, 0.14);
        --pa-accent-contrast: #0E0D0B;
    }

    html[data-pa-theme="white-blue"][data-pa-mode="system"],
    body.pa-theme-white-blue.pa-mode-system {
        --pa-bg: #08111C;
        --pa-surface: #0F1B2A;
        --pa-surface-soft: #142235;
        --pa-surface-alt: #192B42;
        --pa-text: #F5F9FF;
        --pa-text-soft: #A8B7C8;
        --pa-border: #24364D;
        --pa-border-strong: #35506E;
        --pa-accent: #5B9BFF;
        --pa-accent-2: #86B7FF;
        --pa-accent-soft: rgba(91, 155, 255, 0.14);
        --pa-accent-contrast: #06101B;
    }

    html[data-pa-theme="contact-sheet-minimal"][data-pa-mode="system"],
    body.pa-theme-contact-sheet-minimal.pa-mode-system {
        --pa-bg: #0B0B0D;
        --pa-surface: #111216;
        --pa-surface-soft: #17181D;
        --pa-surface-alt: #1C1D22;
        --pa-text: #F6F2EA;
        --pa-text-soft: #AAA39A;
        --pa-border: #2A2725;
        --pa-border-strong: #3A342E;
        --pa-accent: #E2A92E;
        --pa-accent-2: #F0B43C;
        --pa-accent-soft: rgba(226, 169, 46, 0.12);
        --pa-accent-contrast: #0B0B0D;
    }
}

body[class*="pa-theme-"] {
    --pa-primary: var(--pa-accent);
    --pa-primary-dark: var(--pa-accent-2);
    --pa-card: var(--pa-surface);
    --pa-light: var(--pa-bg);
    --pa-gold: var(--pa-accent);
    --pa-dashboard-black: var(--pa-bg);
    --pa-dashboard-panel: var(--pa-surface);
    --pa-dashboard-panel-strong: var(--pa-surface-soft);
    --pa-dashboard-line: var(--pa-border);
    --pa-dashboard-text: var(--pa-text);
    --pa-dashboard-muted: var(--pa-text-soft);
    --pa-dashboard-gold: var(--pa-accent);
    --pa-dashboard-gold-soft: var(--pa-accent-soft);
    --pa-text-light: var(--pa-text-soft);
}

body[class*="pa-theme-"],
body[class*="pa-theme-"] .photo-award-profile-container,
body[class*="pa-theme-"] .pa-white-dashboard,
body[class*="pa-theme-"] .pa-submission-page,
body[class*="pa-theme-"] .photo-award-event-main,
body[class*="pa-theme-"] .pa-entry-public,
body[class*="pa-theme-"] .pa-single-entry,
body[class*="pa-theme-"] .pa-public-profile-page,
body[class*="pa-theme-"] .photo-award-auth-ui {
    background: var(--pa-bg) !important;
    color: var(--pa-text) !important;
    font-family: var(--pa-font-body);
}

body[class*="pa-theme-"] .photo-award-profile-container h1,
body[class*="pa-theme-"] .photo-award-profile-container h2,
body[class*="pa-theme-"] .photo-award-profile-container h3,
body[class*="pa-theme-"] .pa-submission-page h1,
body[class*="pa-theme-"] .pa-submission-page h2,
body[class*="pa-theme-"] .photo-award-event-main h1,
body[class*="pa-theme-"] .photo-award-event-main h2,
body[class*="pa-theme-"] .pa-entry-public h1,
body[class*="pa-theme-"] .pa-public-profile-page h1 {
    color: var(--pa-text) !important;
}

body.pa-theme-white-gold .photo-award-profile-container h1,
body.pa-theme-white-gold .pa-submission-page h1,
body.pa-theme-black-gold .photo-award-profile-container h1,
body.pa-theme-black-gold .pa-submission-page h1,
body.pa-theme-contact-sheet-minimal .photo-award-profile-container h1,
body.pa-theme-contact-sheet-minimal .pa-submission-page h1 {
    font-family: var(--pa-font-display);
    font-weight: 400;
    letter-spacing: 0;
}

body[class*="pa-theme-"] .profile-sidebar,
body[class*="pa-theme-"] .pa-dashboard-sidebar,
body[class*="pa-theme-"] .photo-award-dashboard-sidebar {
    background: color-mix(in srgb, var(--pa-surface) 90%, var(--pa-bg)) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .profile-nav a,
body[class*="pa-theme-"] .pa-dashboard-sidebar a,
body[class*="pa-theme-"] .photo-award-dashboard-sidebar a {
    color: var(--pa-text) !important;
    transition: background-color var(--pa-transition), border-color var(--pa-transition), color var(--pa-transition), transform var(--pa-transition);
}

body[class*="pa-theme-"] .profile-nav li.active a,
body[class*="pa-theme-"] .profile-nav a:hover,
body[class*="pa-theme-"] .pa-dashboard-sidebar .is-active,
body[class*="pa-theme-"] .pa-dashboard-sidebar a:hover {
    background: var(--pa-accent-soft) !important;
    border-color: var(--pa-accent) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .profile-content,
body[class*="pa-theme-"] .pa-dashboard-card,
body[class*="pa-theme-"] .pa-stat-card,
body[class*="pa-theme-"] .pa-card,
body[class*="pa-theme-"] .pa-panel,
body[class*="pa-theme-"] .pa-competition-card,
body[class*="pa-theme-"] .pa-event-card,
body[class*="pa-theme-"] .pa-bundle-card,
body[class*="pa-theme-"] .pa-entry-card,
body[class*="pa-theme-"] .pa-profile-form-card,
body[class*="pa-theme-"] .pa-profile-summary-card,
body[class*="pa-theme-"] .pa-password-card,
body[class*="pa-theme-"] .pa-password-checklist,
body[class*="pa-theme-"] .pa-submission-card,
body[class*="pa-theme-"] .pa-category-picker-card,
body[class*="pa-theme-"] .pa-category-summary,
body[class*="pa-theme-"] .pa-category-row,
body[class*="pa-theme-"] .pa-category-card,
body[class*="pa-theme-"] .pa-public-profile-card,
body[class*="pa-theme-"] .photo-award-auth-ui .auth-modal-content,
body[class*="pa-theme-"] .photo-award-auth-ui .pa-auth-card {
    background: var(--pa-surface) !important;
    border: 1px solid var(--pa-border) !important;
    border-radius: var(--pa-radius) !important;
    box-shadow: var(--pa-shadow-soft) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .pa-competition-card:hover,
body[class*="pa-theme-"] .pa-event-card:hover,
body[class*="pa-theme-"] .pa-bundle-card:hover,
body[class*="pa-theme-"] .pa-entry-card:hover,
body[class*="pa-theme-"] .pa-category-card:hover {
    border-color: var(--pa-accent) !important;
    transform: translateY(-1px);
}

body[class*="pa-theme-"] input[type="text"],
body[class*="pa-theme-"] input[type="email"],
body[class*="pa-theme-"] input[type="password"],
body[class*="pa-theme-"] input[type="url"],
body[class*="pa-theme-"] input[type="tel"],
body[class*="pa-theme-"] input[type="date"],
body[class*="pa-theme-"] input[type="number"],
body[class*="pa-theme-"] select,
body[class*="pa-theme-"] textarea {
    background: color-mix(in srgb, var(--pa-surface) 94%, var(--pa-bg)) !important;
    border: 1px solid var(--pa-border) !important;
    border-radius: var(--pa-radius-sm) !important;
    color: var(--pa-text) !important;
    box-shadow: none !important;
    transition: border-color var(--pa-transition), box-shadow var(--pa-transition), background-color var(--pa-transition);
}

body[class*="pa-theme-"] input:focus,
body[class*="pa-theme-"] select:focus,
body[class*="pa-theme-"] textarea:focus {
    border-color: var(--pa-accent) !important;
    box-shadow: 0 0 0 3px var(--pa-accent-soft) !important;
    outline: none !important;
}

body[class*="pa-theme-"] label,
body[class*="pa-theme-"] .pa-field-label,
body[class*="pa-theme-"] .form-label {
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] p,
body[class*="pa-theme-"] .pa-muted,
body[class*="pa-theme-"] .pa-field-help,
body[class*="pa-theme-"] .pa-field-hint,
body[class*="pa-theme-"] .pa-entry-meta,
body[class*="pa-theme-"] .pa-card-meta,
body[class*="pa-theme-"] .pa-dashboard-muted {
    color: var(--pa-text-soft) !important;
}

body[class*="pa-theme-"] .pa-btn,
body[class*="pa-theme-"] .pa-primary-button,
body[class*="pa-theme-"] .pa-submit-entry-button,
body[class*="pa-theme-"] .pa-register-entry-button,
body[class*="pa-theme-"] .pa-save-button,
body[class*="pa-theme-"] .pa-btn-save,
body[class*="pa-theme-"] .photo-award-auth-ui button[type="submit"],
body[class*="pa-theme-"] .photo-award-auth-ui .auth-submit,
body[class*="pa-theme-"] .pa-form-actions input[type="submit"],
body[class*="pa-theme-"] button.button-primary {
    background: var(--pa-accent) !important;
    border-color: var(--pa-accent) !important;
    border-radius: var(--pa-radius-sm) !important;
    color: var(--pa-accent-contrast) !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    transition: background-color var(--pa-transition), border-color var(--pa-transition), color var(--pa-transition), transform var(--pa-transition);
}

body[class*="pa-theme-"] .pa-btn:hover,
body[class*="pa-theme-"] .pa-primary-button:hover,
body[class*="pa-theme-"] .pa-submit-entry-button:hover,
body[class*="pa-theme-"] .pa-register-entry-button:hover,
body[class*="pa-theme-"] .pa-save-button:hover,
body[class*="pa-theme-"] .photo-award-auth-ui button[type="submit"]:hover {
    background: var(--pa-accent-2) !important;
    border-color: var(--pa-accent-2) !important;
    transform: translateY(-1px);
}

body[class*="pa-theme-"] .pa-btn-outline,
body[class*="pa-theme-"] .pa-secondary-button,
body[class*="pa-theme-"] .pa-dashboard-portfolio-link,
body[class*="pa-theme-"] .pa-dashboard-awards-link,
body[class*="pa-theme-"] .photo-award-auth-ui .auth-toggle-button,
body[class*="pa-theme-"] .button:not(.button-primary) {
    background: transparent !important;
    border-color: var(--pa-border-strong) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-dashboard-awards-icon {
    background: var(--pa-accent-soft) !important;
    border-color: var(--pa-border-strong) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-awards-page {
    --pa-awards-surface: var(--pa-card-bg);
    --pa-awards-soft: var(--pa-accent-soft);
    --pa-awards-line: var(--pa-border-strong);
}

body[class*="pa-theme-"] .pa-awards-summary article,
body[class*="pa-theme-"] .pa-award-card,
body[class*="pa-theme-"] .pa-awards-empty {
    background: var(--pa-card-bg) !important;
    border-color: var(--pa-border) !important;
}

body[class*="pa-theme-"] .pa-awards-summary strong,
body[class*="pa-theme-"] .pa-award-copy h2,
body[class*="pa-theme-"] .pa-awards-empty h2 {
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .pa-awards-summary span,
body[class*="pa-theme-"] .pa-award-copy dt,
body[class*="pa-theme-"] .pa-award-copy dd,
body[class*="pa-theme-"] .pa-award-pending,
body[class*="pa-theme-"] .pa-awards-empty p {
    color: var(--pa-muted) !important;
}

body[class*="pa-theme-"] .pa-award-art,
body[class*="pa-theme-"] .pa-award-badge,
body[class*="pa-theme-"] .pa-award-pending,
body[class*="pa-theme-"] .pa-awards-empty-mark {
    background: var(--pa-accent-soft) !important;
    border-color: var(--pa-border-strong) !important;
}

body[class*="pa-theme-"] .pa-awards-empty .pa-empty-state-action {
    background: transparent !important;
    border-color: color-mix(in srgb, var(--pa-accent) 46%, var(--pa-border)) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: var(--pa-accent) !important;
    text-decoration: none !important;
}

body[class*="pa-theme-"] .pa-awards-empty .pa-empty-state-action:hover,
body[class*="pa-theme-"] .pa-awards-empty .pa-empty-state-action:focus-visible {
    background: var(--pa-accent-soft) !important;
    border-color: var(--pa-accent) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-award-entry-link {
    border-color: var(--pa-border-strong) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-awards-page .pa-award-certificate-btn {
    background: var(--pa-accent) !important;
    border-color: var(--pa-accent) !important;
    color: var(--pa-button-text) !important;
}

body[class*="pa-theme-"] .pa-badge,
body[class*="pa-theme-"] .pa-tag,
body[class*="pa-theme-"] .pa-status-badge,
body[class*="pa-theme-"] .pa-entry-type-badge,
body[class*="pa-theme-"] .pa-event-type-badge,
body[class*="pa-theme-"] .pa-category-count,
body[class*="pa-theme-"] .pa-selected-chip {
    background: var(--pa-accent-soft) !important;
    border-color: color-mix(in srgb, var(--pa-accent) 35%, var(--pa-border)) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-danger,
body[class*="pa-theme-"] .pa-delete-entry,
body[class*="pa-theme-"] .pa-btn-danger {
    --pa-accent: var(--pa-danger);
    --pa-accent-2: color-mix(in srgb, var(--pa-danger) 82%, #000);
}

body[class*="pa-theme-"] input[type="checkbox"],
body[class*="pa-theme-"] input[type="radio"] {
    accent-color: var(--pa-accent);
}

body[class*="pa-theme-"] .pa-submission-stepper,
body[class*="pa-theme-"] .pa-stepper,
body[class*="pa-theme-"] .pa-step {
    background: var(--pa-surface) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text-soft) !important;
}

body[class*="pa-theme-"] .pa-step.is-active,
body[class*="pa-theme-"] .pa-step.active,
body[class*="pa-theme-"] .pa-submission-step.is-active,
body[class*="pa-theme-"] .pa-submission-step.active {
    background: var(--pa-accent-soft) !important;
    border-color: var(--pa-accent) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-step-number,
body[class*="pa-theme-"] .step-number {
    background: var(--pa-surface-soft) !important;
    border-color: var(--pa-border-strong) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .is-active .pa-step-number,
body[class*="pa-theme-"] .active .step-number {
    background: var(--pa-accent) !important;
    color: var(--pa-accent-contrast) !important;
}

body[class*="pa-theme-"] .pa-upload-dropzone,
body[class*="pa-theme-"] .pa-upload-box,
body[class*="pa-theme-"] .upload-area {
    background: color-mix(in srgb, var(--pa-surface-soft) 60%, var(--pa-surface)) !important;
    border-color: var(--pa-border-strong) !important;
    color: var(--pa-text-soft) !important;
}

body[class*="pa-theme-"] table,
body[class*="pa-theme-"] .pa-table,
body[class*="pa-theme-"] .pa-history-table {
    background: var(--pa-surface) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] th,
body[class*="pa-theme-"] td,
body[class*="pa-theme-"] .pa-list-row {
    border-color: var(--pa-border) !important;
}

body[class*="pa-theme-"] a {
    color: var(--pa-accent);
}

body[class*="pa-theme-"] .pa-alert,
body[class*="pa-theme-"] .pa-notice,
body[class*="pa-theme-"] .pa-empty-state {
    background: var(--pa-surface-soft) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .pa-alert-success {
    border-color: var(--pa-success) !important;
    color: var(--pa-success) !important;
}

body[class*="pa-theme-"] .pa-alert-warning {
    border-color: var(--pa-warning) !important;
    color: var(--pa-warning) !important;
}

body[class*="pa-theme-"] .pa-alert-error,
body[class*="pa-theme-"] .pa-alert-danger {
    border-color: var(--pa-danger) !important;
    color: var(--pa-danger) !important;
}

body.pa-theme-white-blue .pa-dashboard-portfolio-link,
body.pa-theme-white-blue .pa-dashboard-awards-link,
body.pa-theme-white-blue .profile-nav li.active a,
body.pa-theme-white-blue .pa-status-badge,
body.pa-theme-white-blue .pa-entry-type-badge {
    color: var(--pa-accent) !important;
}

body.pa-theme-contact-sheet-minimal .photo-award-profile-container,
body.pa-theme-contact-sheet-minimal .pa-white-dashboard,
body.pa-theme-contact-sheet-minimal .pa-submission-page {
    position: relative;
}

body.pa-theme-contact-sheet-minimal .photo-award-profile-container::before,
body.pa-theme-contact-sheet-minimal .pa-white-dashboard::before,
body.pa-theme-contact-sheet-minimal .pa-submission-page::before {
    background-image:
        radial-gradient(circle, color-mix(in srgb, var(--pa-accent) 32%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, transparent 0 28px, color-mix(in srgb, var(--pa-border) 58%, transparent) 28px 29px, transparent 29px 100%),
        radial-gradient(circle at 78% 14%, transparent 0 88px, color-mix(in srgb, var(--pa-border) 42%, transparent) 89px 90px, transparent 91px);
    background-position: right 64px top 76px, left 28px bottom 80px, right top;
    background-size: 18px 18px, 64px 64px, 520px 520px;
    content: "";
    inset: 0;
    opacity: 0.55;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

body.pa-theme-contact-sheet-minimal .profile-content,
body.pa-theme-contact-sheet-minimal .pa-dashboard-main,
body.pa-theme-contact-sheet-minimal .pa-submission-page > * {
    position: relative;
    z-index: 1;
}

body.pa-theme-contact-sheet-minimal .pa-card,
body.pa-theme-contact-sheet-minimal .pa-dashboard-card,
body.pa-theme-contact-sheet-minimal .pa-event-card,
body.pa-theme-contact-sheet-minimal .pa-competition-card {
    box-shadow: none !important;
}

body.pa-theme-contact-sheet-minimal .pa-card::after,
body.pa-theme-contact-sheet-minimal .pa-event-card::after,
body.pa-theme-contact-sheet-minimal .pa-competition-card::after {
    border-left: 1px solid var(--pa-accent);
    border-top: 1px solid var(--pa-accent);
    content: "";
    height: 12px;
    opacity: 0.55;
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 12px;
}

body.pa-theme-black-gold .photo-award-auth-ui,
body.pa-theme-white-gold.pa-mode-dark .photo-award-auth-ui,
body.pa-theme-white-blue.pa-mode-dark .photo-award-auth-ui,
body.pa-theme-contact-sheet-minimal.pa-mode-dark .photo-award-auth-ui {
    --pa-auth-bg: var(--pa-bg);
    --pa-auth-card: var(--pa-surface);
    --pa-auth-text: var(--pa-text);
    --pa-auth-muted: var(--pa-text-soft);
    --pa-auth-border: var(--pa-border);
    --pa-auth-accent: var(--pa-accent);
}

@media (max-width: 900px) {
    body[class*="pa-theme-"] .profile-sidebar,
    body[class*="pa-theme-"] .pa-dashboard-sidebar,
    body[class*="pa-theme-"] .photo-award-dashboard-sidebar {
        border-bottom: 1px solid var(--pa-border) !important;
        border-right: 0 !important;
    }

    body[class*="pa-theme-"] .pa-submission-stepper,
    body[class*="pa-theme-"] .pa-stepper {
        overflow-x: auto;
        scrollbar-width: thin;
    }
}

/* Final visual theme repair layer
   Keeps plugin behavior intact while forcing the real frontend components
   to honor the selected theme tokens. */
html[data-pa-theme],
body[class*="pa-theme-"] {
    --pa-button-bg: var(--pa-accent);
    --pa-button-bg-hover: var(--pa-accent-2);
    --pa-button-text: var(--pa-accent-contrast, #111111);
    --pa-page-max: 1180px;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"],
body.pa-theme-black-gold.pa-mode-dark,
body.pa-mode-dark {
    --pa-field-bg: #101010;
    --pa-field-text: var(--pa-text);
    --pa-field-placeholder: rgba(246, 241, 232, 0.52);
    --pa-card-fill: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
    --pa-card-fill-strong: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
    --pa-readability-panel: #141414;
}

html[data-pa-mode="light"] body[class*="pa-theme-"],
body.pa-mode-light {
    --pa-field-bg: #ffffff;
    --pa-field-text: var(--pa-text);
    --pa-field-placeholder: rgba(31, 26, 22, 0.48);
    --pa-card-fill: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82));
    --pa-card-fill-strong: linear-gradient(145deg, #ffffff, color-mix(in srgb, var(--pa-surface-soft) 42%, #ffffff));
    --pa-readability-panel: #ffffff;
}

body[class*="pa-theme-"] {
    background: var(--pa-bg) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .wp-site-blocks > header.wp-block-template-part,
body[class*="pa-theme-"] .wp-site-blocks > footer.wp-block-template-part {
    display: none !important;
}

body[class*="pa-theme-"] .photo-award-profile-container,
body[class*="pa-theme-"] .pa-white-dashboard,
body[class*="pa-theme-"] .event-registration-container,
body[class*="pa-theme-"] .pa-submission-page,
body[class*="pa-theme-"] .photo-award-event-main,
body[class*="pa-theme-"] .pa-entry-public,
body[class*="pa-theme-"] .pa-single-entry,
body[class*="pa-theme-"] .pa-public-profile-page,
body[class*="pa-theme-"] .photo-award-auth-ui {
    background: var(--pa-bg) !important;
    color: var(--pa-text) !important;
    font-family: var(--pa-font-body) !important;
}

body[class*="pa-theme-"] .photo-award-profile-container::before,
body[class*="pa-theme-"] .photo-award-profile-container::after,
body[class*="pa-theme-"] .pa-white-dashboard::before,
body[class*="pa-theme-"] .pa-white-dashboard::after,
body[class*="pa-theme-"] .event-registration-container::before,
body[class*="pa-theme-"] .event-registration-container::after,
body[class*="pa-theme-"] .pa-submission-page::before,
body[class*="pa-theme-"] .pa-submission-page::after {
    opacity: 0.10 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

body[class*="pa-theme-"] .profile-content,
body[class*="pa-theme-"] .pa-dashboard-main,
body[class*="pa-theme-"] .event-registration-container > *,
body[class*="pa-theme-"] .pa-submission-page > * {
    position: relative;
    z-index: 1;
}

body[class*="pa-theme-"] h1,
body[class*="pa-theme-"] h2,
body[class*="pa-theme-"] h3,
body[class*="pa-theme-"] h4,
body[class*="pa-theme-"] .page-title,
body[class*="pa-theme-"] .pa-page-title,
body[class*="pa-theme-"] .bundle-name,
body[class*="pa-theme-"] .pa-card-title,
body[class*="pa-theme-"] .pa-section-title,
body[class*="pa-theme-"] .entry-title,
body[class*="pa-theme-"] .entry-row-title,
body[class*="pa-theme-"] .entry-row-title h3 {
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] p,
body[class*="pa-theme-"] small,
body[class*="pa-theme-"] .page-subtitle,
body[class*="pa-theme-"] .pa-page-subtitle,
body[class*="pa-theme-"] .pa-muted,
body[class*="pa-theme-"] .pa-card-meta,
body[class*="pa-theme-"] .entry-meta,
body[class*="pa-theme-"] .entry-row-meta,
body[class*="pa-theme-"] .countdown,
body[class*="pa-theme-"] .pa-dashboard-subtitle,
body[class*="pa-theme-"] .pa-field-help,
body[class*="pa-theme-"] .pa-field-hint {
    color: var(--pa-text-soft) !important;
}

body[class*="pa-theme-"] label,
body[class*="pa-theme-"] .form-label,
body[class*="pa-theme-"] .field-label,
body[class*="pa-theme-"] .pa-field-label,
body[class*="pa-theme-"] .profile-form label,
body[class*="pa-theme-"] .pa-password-card label,
body[class*="pa-theme-"] .pa-submission-page label {
    color: var(--pa-text) !important;
    opacity: 1 !important;
}

body[class*="pa-theme-"] input[type="text"],
body[class*="pa-theme-"] input[type="email"],
body[class*="pa-theme-"] input[type="password"],
body[class*="pa-theme-"] input[type="url"],
body[class*="pa-theme-"] input[type="tel"],
body[class*="pa-theme-"] input[type="date"],
body[class*="pa-theme-"] input[type="number"],
body[class*="pa-theme-"] select,
body[class*="pa-theme-"] textarea {
    appearance: auto !important;
    background: var(--pa-field-bg) !important;
    border: 1px solid var(--pa-border) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: var(--pa-field-text) !important;
    font-family: var(--pa-font-body) !important;
}

body[class*="pa-theme-"] input::placeholder,
body[class*="pa-theme-"] textarea::placeholder {
    color: var(--pa-field-placeholder) !important;
    opacity: 1 !important;
}

body[class*="pa-theme-"] input:focus,
body[class*="pa-theme-"] select:focus,
body[class*="pa-theme-"] textarea:focus {
    border-color: var(--pa-accent) !important;
    box-shadow: 0 0 0 3px var(--pa-accent-soft) !important;
    outline: none !important;
}

body[class*="pa-theme-"] input[type="checkbox"],
body[class*="pa-theme-"] input[type="radio"] {
    accent-color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-profile-media-preview {
    background: var(--pa-card-fill-strong) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text-soft) !important;
}

body[class*="pa-theme-"] .pa-profile-media-field input[type="file"],
body[class*="pa-theme-"] .pa-profile-form-subcard input[type="file"] {
    background: var(--pa-field-bg) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-field-text) !important;
}

body[class*="pa-theme-"] .pa-account-menu-toggle {
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .pa-account-menu-panel {
    background: var(--pa-readability-panel) !important;
    border-color: var(--pa-border) !important;
}

body[class*="pa-theme-"] .pa-account-menu-panel a {
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .pa-account-menu-panel a:hover {
    background: var(--pa-accent-soft) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .profile-nav .profile-nav-section {
    border-color: var(--pa-border) !important;
}

body[class*="pa-theme-"] .profile-nav .profile-nav-section span {
    color: var(--pa-muted) !important;
}

body[class*="pa-theme-"] .profile-nav .profile-nav-special a {
    background: var(--pa-readability-panel) !important;
    border-color: color-mix(in srgb, var(--pa-accent) 22%, var(--pa-border)) !important;
    box-shadow: none !important;
}

body[class*="pa-theme-"] .profile-nav .profile-nav-special a:hover,
body[class*="pa-theme-"] .profile-nav .profile-nav-special.active a {
    background: var(--pa-accent-soft) !important;
    border-color: var(--pa-accent) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .profile-sidebar,
body[class*="pa-theme-"] .pa-dashboard-sidebar,
body[class*="pa-theme-"] .photo-award-dashboard-sidebar {
    background: color-mix(in srgb, var(--pa-bg) 88%, var(--pa-surface)) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .profile-sidebar a,
body[class*="pa-theme-"] .pa-dashboard-sidebar a,
body[class*="pa-theme-"] .photo-award-dashboard-sidebar a,
body[class*="pa-theme-"] .profile-nav a {
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .profile-nav li.active a,
body[class*="pa-theme-"] .profile-nav a:hover,
body[class*="pa-theme-"] .pa-dashboard-sidebar .active,
body[class*="pa-theme-"] .pa-dashboard-sidebar a:hover {
    background: var(--pa-accent-soft) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-dashboard-card,
body[class*="pa-theme-"] .pa-stat-card,
body[class*="pa-theme-"] .pa-dashboard-panel,
body[class*="pa-theme-"] .dashboard-card,
body[class*="pa-theme-"] .profile-card,
body[class*="pa-theme-"] .profile-form-card,
body[class*="pa-theme-"] .pa-profile-form-card,
body[class*="pa-theme-"] .pa-profile-summary-card,
body[class*="pa-theme-"] .pa-password-card,
body[class*="pa-theme-"] .pa-password-checklist,
body[class*="pa-theme-"] .pa-competition-card,
body[class*="pa-theme-"] .pa-event-card,
body[class*="pa-theme-"] .event-card,
body[class*="pa-theme-"] .entry-row,
body[class*="pa-theme-"] .entry-card,
body[class*="pa-theme-"] .pa-entry-card,
body[class*="pa-theme-"] .bundle-card,
body[class*="pa-theme-"] .pa-bundle-card,
body[class*="pa-theme-"] .pa-card,
body[class*="pa-theme-"] .pa-panel,
body[class*="pa-theme-"] .pa-submission-card,
body[class*="pa-theme-"] .pa-submission-panel,
body[class*="pa-theme-"] .pa-category-picker-card,
body[class*="pa-theme-"] .pa-category-summary,
body[class*="pa-theme-"] .pa-category-row,
body[class*="pa-theme-"] .pa-category-card,
body[class*="pa-theme-"] .pa-subcategory-option,
body[class*="pa-theme-"] .field,
body[class*="pa-theme-"] .entry-info-card,
body[class*="pa-theme-"] .pa-entry-public-card,
body[class*="pa-theme-"] .pa-auth-card,
body[class*="pa-theme-"] .auth-modal-content {
    background: var(--pa-card-fill) !important;
    border: 1px solid var(--pa-border) !important;
    box-shadow: var(--pa-shadow-soft, 0 18px 44px rgba(0,0,0,0.08)) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .pa-dashboard-card:hover,
body[class*="pa-theme-"] .pa-stat-card:hover,
body[class*="pa-theme-"] .pa-competition-card:hover,
body[class*="pa-theme-"] .pa-event-card:hover,
body[class*="pa-theme-"] .event-card:hover,
body[class*="pa-theme-"] .entry-row:hover,
body[class*="pa-theme-"] .bundle-card:hover,
body[class*="pa-theme-"] .pa-category-card:hover {
    border-color: color-mix(in srgb, var(--pa-accent) 45%, var(--pa-border)) !important;
    transform: translateY(-1px);
}

body[class*="pa-theme-"] .pa-btn,
body[class*="pa-theme-"] .button,
body[class*="pa-theme-"] button,
body[class*="pa-theme-"] input[type="submit"],
body[class*="pa-theme-"] .pa-primary-button,
body[class*="pa-theme-"] .pa-submit-entry-button,
body[class*="pa-theme-"] .pa-register-entry-button,
body[class*="pa-theme-"] .pa-save-button,
body[class*="pa-theme-"] .pa-form-actions input[type="submit"],
body[class*="pa-theme-"] .auth-submit,
body[class*="pa-theme-"] .buy-button,
body[class*="pa-theme-"] .bundle-buy-button {
    border-radius: 12px !important;
    font-family: var(--pa-font-body) !important;
}

body[class*="pa-theme-"] .pa-primary-button,
body[class*="pa-theme-"] .pa-submit-entry-button,
body[class*="pa-theme-"] .pa-register-entry-button,
body[class*="pa-theme-"] .pa-save-button,
body[class*="pa-theme-"] .pa-form-actions input[type="submit"],
body[class*="pa-theme-"] .auth-submit,
body[class*="pa-theme-"] .buy-button,
body[class*="pa-theme-"] .bundle-buy-button,
body[class*="pa-theme-"] button[type="submit"] {
    background: var(--pa-button-bg) !important;
    border-color: var(--pa-button-bg) !important;
    color: var(--pa-button-text) !important;
}

body[class*="pa-theme-"] .pa-btn-outline,
body[class*="pa-theme-"] .pa-secondary-button,
body[class*="pa-theme-"] .pa-dashboard-portfolio-link,
body[class*="pa-theme-"] .pa-dashboard-awards-link,
body[class*="pa-theme-"] .auth-toggle-button,
body[class*="pa-theme-"] .button:not(.button-primary):not([type="submit"]) {
    background: transparent !important;
    border: 1px solid var(--pa-border-strong) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-badge,
body[class*="pa-theme-"] .pa-tag,
body[class*="pa-theme-"] .badge,
body[class*="pa-theme-"] .status-badge,
body[class*="pa-theme-"] .pa-status-badge,
body[class*="pa-theme-"] .pa-entry-type-badge,
body[class*="pa-theme-"] .pa-event-type-badge,
body[class*="pa-theme-"] .entry-type-badge,
body[class*="pa-theme-"] .event-type-badge,
body[class*="pa-theme-"] .pa-selected-chip,
body[class*="pa-theme-"] .pa-category-count {
    background: var(--pa-accent-soft) !important;
    border: 1px solid color-mix(in srgb, var(--pa-accent) 35%, var(--pa-border)) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-public-badge-evidence-muted {
    color: var(--pa-text-soft) !important;
}

body[class*="pa-theme-"] .pa-award-badge-download {
    background: var(--pa-accent-soft) !important;
    border-color: color-mix(in srgb, var(--pa-accent) 42%, var(--pa-border)) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] table,
body[class*="pa-theme-"] .pa-table,
body[class*="pa-theme-"] .pa-history-table,
body[class*="pa-theme-"] .transaction-history table {
    background: var(--pa-readability-panel) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] th,
body[class*="pa-theme-"] td {
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .pa-alert,
body[class*="pa-theme-"] .pa-notice,
body[class*="pa-theme-"] .pa-empty-state,
body[class*="pa-theme-"] .empty-state,
body[class*="pa-theme-"] .profile-message,
body[class*="pa-theme-"] .unpaid-invoices-summary,
body[class*="pa-theme-"] .entries-summary {
    background: var(--pa-card-fill-strong) !important;
    border: 1px solid var(--pa-border) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .pa-submission-stepper,
body[class*="pa-theme-"] .pa-stepper,
body[class*="pa-theme-"] .steps,
body[class*="pa-theme-"] .submission-steps {
    background: var(--pa-surface) !important;
    border: 1px solid var(--pa-border) !important;
    color: var(--pa-text-soft) !important;
}

body[class*="pa-theme-"] .pa-step,
body[class*="pa-theme-"] .step {
    background: transparent !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text-soft) !important;
}

body[class*="pa-theme-"] .pa-step.is-active,
body[class*="pa-theme-"] .pa-step.active,
body[class*="pa-theme-"] .step.active,
body[class*="pa-theme-"] .step.current {
    background: var(--pa-accent-soft) !important;
    color: var(--pa-accent) !important;
}

body[class*="pa-theme-"] .pa-step-number,
body[class*="pa-theme-"] .step-number,
body[class*="pa-theme-"] .step-index {
    background: var(--pa-surface-soft) !important;
    border: 1px solid var(--pa-border-strong) !important;
    color: var(--pa-text) !important;
}

body[class*="pa-theme-"] .active .pa-step-number,
body[class*="pa-theme-"] .active .step-number,
body[class*="pa-theme-"] .current .step-number,
body[class*="pa-theme-"] .is-active .pa-step-number {
    background: var(--pa-accent) !important;
    color: var(--pa-button-text) !important;
}

body[class*="pa-theme-"] .pa-upload-dropzone,
body[class*="pa-theme-"] .pa-upload-box,
body[class*="pa-theme-"] .upload-area,
body[class*="pa-theme-"] .image-upload-area,
body[class*="pa-theme-"] .current-images-container {
    background: color-mix(in srgb, var(--pa-surface-soft) 50%, transparent) !important;
    border-color: var(--pa-border-strong) !important;
    color: var(--pa-text-soft) !important;
}

body.pa-theme-black-gold.pa-mode-dark .bundle-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .bundle-card {
    background: linear-gradient(145deg, #121212, #17140f) !important;
}

body.pa-theme-black-gold.pa-mode-dark .bundle-card.featured,
body.pa-theme-black-gold.pa-mode-dark .bundle-card-featured,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .bundle-card.featured,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .bundle-card-featured {
    background: linear-gradient(145deg, #20180b, #111111) !important;
    border-color: var(--pa-accent) !important;
}

body.pa-theme-black-gold.pa-mode-dark .pa-my-entries-v2 .entry-row,
body.pa-theme-black-gold.pa-mode-dark .pa-my-entries-v2 .entries-summary,
body.pa-theme-black-gold.pa-mode-dark .pa-dashboard-panel,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .entry-row,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .entries-summary,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-dashboard-panel {
    background: #111111 !important;
}

body.pa-theme-black-gold.pa-mode-dark .pa-my-entries-v2 .unpaid-invoices-summary,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .unpaid-invoices-summary {
    background: #17130a !important;
    border-color: rgba(214, 161, 47, 0.34) !important;
}

body.pa-theme-black-gold.pa-mode-dark .event-registration-container .pa-submission-form,
body.pa-theme-black-gold.pa-mode-dark .event-registration-container form,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .event-registration-container .pa-submission-form,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .event-registration-container form {
    background: transparent !important;
    color: var(--pa-text) !important;
}

body.pa-theme-black-gold.pa-mode-dark .event-registration-container .pa-category-card,
body.pa-theme-black-gold.pa-mode-dark .event-registration-container .pa-subcategory-option,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .event-registration-container .pa-category-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .event-registration-container .pa-subcategory-option {
    background: #151515 !important;
    color: var(--pa-text) !important;
}

body.pa-theme-black-gold.pa-mode-dark .event-registration-container .pa-category-card.is-selected,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .event-registration-container .pa-category-card.is-selected {
    background: #20180b !important;
    border-color: var(--pa-accent) !important;
}

body.pa-theme-white-blue,
body.pa-theme-white-blue.pa-mode-light,
html[data-pa-theme="white-blue"][data-pa-mode="light"] body {
    --pa-button-bg: #2563eb;
    --pa-button-bg-hover: #4f8cf7;
    --pa-button-text: #ffffff;
}

body.pa-theme-contact-sheet-minimal,
body.pa-theme-contact-sheet-minimal.pa-mode-light,
html[data-pa-theme="contact-sheet-minimal"][data-pa-mode="light"] body {
    --pa-button-bg: #e86b43;
    --pa-button-bg-hover: #f08a62;
    --pa-button-text: #ffffff;
}

body.pa-theme-contact-sheet-minimal .photo-award-profile-container::before,
body.pa-theme-contact-sheet-minimal .pa-white-dashboard::before,
body.pa-theme-contact-sheet-minimal .event-registration-container::before {
    opacity: 0.18 !important;
}

.pa-theme-toggle {
    align-items: center;
    background: transparent !important;
    border: 1px solid var(--pa-border-strong) !important;
    border-radius: 999px !important;
    color: var(--pa-text) !important;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    height: 38px;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 0 13px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pa-theme-toggle:hover {
    background: var(--pa-accent-soft) !important;
    border-color: var(--pa-accent) !important;
    color: var(--pa-accent) !important;
}

.pa-theme-toggle-icon {
    align-items: center;
    display: inline-flex;
    height: 14px;
    justify-content: center;
    width: 14px;
}

.pa-theme-toggle-icon::before {
    content: "☾";
    font-size: 14px;
    line-height: 1;
}

html[data-pa-mode="dark"] .pa-theme-toggle-icon::before {
    content: "☀";
}

@media (max-width: 780px) {
    .pa-theme-toggle {
        height: 34px;
        padding: 0 10px;
    }

    .pa-theme-toggle-text {
        display: none;
    }

    body[class*="pa-theme-"] .pa-dashboard-card,
    body[class*="pa-theme-"] .pa-stat-card,
    body[class*="pa-theme-"] .entry-row,
    body[class*="pa-theme-"] .event-card,
    body[class*="pa-theme-"] .bundle-card {
        transform: none !important;
    }
}

/* Authoritative light/dark readability repair.
   This sits last so the user dashboard switch can override admin defaults without
   changing plugin logic, routes, payment, submission, or judging behavior. */
html[data-pa-mode="light"] body.pa-theme-black-gold,
body.pa-theme-black-gold.pa-mode-light {
    --pa-bg: #FAF8F2;
    --pa-surface: #FFFFFF;
    --pa-surface-soft: #F6F0E6;
    --pa-surface-alt: #EFE6D8;
    --pa-text: #1F1A16;
    --pa-text-soft: #6F665D;
    --pa-border: #E4D8C8;
    --pa-border-strong: #D3C1A9;
    --pa-accent: #C8911F;
    --pa-accent-2: #D9A441;
    --pa-accent-soft: #F7EACF;
    --pa-accent-contrast: #111111;
    --pa-button-bg: #171412;
    --pa-button-bg-hover: #2B241D;
    --pa-button-text: #FFFFFF;
    --pa-field-bg: #FFFFFF;
    --pa-field-text: #1F1A16;
    --pa-field-placeholder: rgba(31, 26, 22, 0.48);
    --pa-card-fill: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9));
    --pa-card-fill-strong: linear-gradient(145deg, #FFFFFF, #F8F1E6);
    --pa-readability-panel: #FFFFFF;
    --pa-shadow-soft: 0 18px 44px rgba(45, 35, 20, 0.08);
}

html[data-pa-mode="light"] body[class*="pa-theme-"],
body[class*="pa-theme-"].pa-mode-light {
    background: var(--pa-bg) !important;
    color: var(--pa-text) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .photo-award-profile-container,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-white-dashboard,
html[data-pa-mode="light"] body[class*="pa-theme-"] .event-registration-container,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-submission-page,
body[class*="pa-theme-"].pa-mode-light .photo-award-profile-container,
body[class*="pa-theme-"].pa-mode-light .pa-white-dashboard,
body[class*="pa-theme-"].pa-mode-light .event-registration-container,
body[class*="pa-theme-"].pa-mode-light .pa-submission-page {
    background: var(--pa-bg) !important;
    color: var(--pa-text) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-sidebar,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-sidebar,
html[data-pa-mode="light"] body[class*="pa-theme-"] .photo-award-dashboard-sidebar,
body[class*="pa-theme-"].pa-mode-light .profile-sidebar,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-sidebar,
body[class*="pa-theme-"].pa-mode-light .photo-award-dashboard-sidebar {
    background: color-mix(in srgb, var(--pa-surface) 94%, var(--pa-bg)) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-stat-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-panel,
html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-form-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-password-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-password-checklist,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-competition-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-event-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .event-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .entry-row,
html[data-pa-mode="light"] body[class*="pa-theme-"] .entry-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .bundle-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-panel,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-submission-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-submission-panel,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-category-summary,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-category-row,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-category-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-subcategory-option,
html[data-pa-mode="light"] body[class*="pa-theme-"] .field,
html[data-pa-mode="light"] body[class*="pa-theme-"] .entry-info-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-auth-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .auth-modal-content,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-card,
body[class*="pa-theme-"].pa-mode-light .pa-stat-card,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-panel,
body[class*="pa-theme-"].pa-mode-light .profile-card,
body[class*="pa-theme-"].pa-mode-light .profile-form-card,
body[class*="pa-theme-"].pa-mode-light .pa-password-card,
body[class*="pa-theme-"].pa-mode-light .pa-password-checklist,
body[class*="pa-theme-"].pa-mode-light .pa-competition-card,
body[class*="pa-theme-"].pa-mode-light .pa-event-card,
body[class*="pa-theme-"].pa-mode-light .event-card,
body[class*="pa-theme-"].pa-mode-light .entry-row,
body[class*="pa-theme-"].pa-mode-light .entry-card,
body[class*="pa-theme-"].pa-mode-light .bundle-card,
body[class*="pa-theme-"].pa-mode-light .pa-card,
body[class*="pa-theme-"].pa-mode-light .pa-panel,
body[class*="pa-theme-"].pa-mode-light .pa-submission-card,
body[class*="pa-theme-"].pa-mode-light .pa-submission-panel,
body[class*="pa-theme-"].pa-mode-light .pa-category-summary,
body[class*="pa-theme-"].pa-mode-light .pa-category-row,
body[class*="pa-theme-"].pa-mode-light .pa-category-card,
body[class*="pa-theme-"].pa-mode-light .pa-subcategory-option,
body[class*="pa-theme-"].pa-mode-light .field,
body[class*="pa-theme-"].pa-mode-light .entry-info-card,
body[class*="pa-theme-"].pa-mode-light .pa-auth-card,
body[class*="pa-theme-"].pa-mode-light .auth-modal-content {
    background: var(--pa-card-fill) !important;
    border-color: var(--pa-border) !important;
    box-shadow: var(--pa-shadow-soft) !important;
    color: var(--pa-text) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .bundle-card.featured,
html[data-pa-mode="light"] body[class*="pa-theme-"] .bundle-card-featured,
body[class*="pa-theme-"].pa-mode-light .bundle-card.featured,
body[class*="pa-theme-"].pa-mode-light .bundle-card-featured {
    background: var(--pa-card-fill-strong) !important;
    border-color: var(--pa-accent) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] h1,
html[data-pa-mode="light"] body[class*="pa-theme-"] h2,
html[data-pa-mode="light"] body[class*="pa-theme-"] h3,
html[data-pa-mode="light"] body[class*="pa-theme-"] h4,
html[data-pa-mode="light"] body[class*="pa-theme-"] label,
html[data-pa-mode="light"] body[class*="pa-theme-"] p,
html[data-pa-mode="light"] body[class*="pa-theme-"] span,
html[data-pa-mode="light"] body[class*="pa-theme-"] li,
html[data-pa-mode="light"] body[class*="pa-theme-"] td,
body[class*="pa-theme-"].pa-mode-light h1,
body[class*="pa-theme-"].pa-mode-light h2,
body[class*="pa-theme-"].pa-mode-light h3,
body[class*="pa-theme-"].pa-mode-light h4,
body[class*="pa-theme-"].pa-mode-light label,
body[class*="pa-theme-"].pa-mode-light p,
body[class*="pa-theme-"].pa-mode-light span,
body[class*="pa-theme-"].pa-mode-light li,
body[class*="pa-theme-"].pa-mode-light td {
    color: inherit;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-section-eyebrow,
html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-hero-label,
html[data-pa-mode="light"] body[class*="pa-theme-"] .page-eyebrow,
body[class*="pa-theme-"].pa-mode-light .pa-section-eyebrow,
body[class*="pa-theme-"].pa-mode-light .profile-hero-label,
body[class*="pa-theme-"].pa-mode-light .page-eyebrow {
    color: var(--pa-accent) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] input,
html[data-pa-mode="light"] body[class*="pa-theme-"] select,
html[data-pa-mode="light"] body[class*="pa-theme-"] textarea,
body[class*="pa-theme-"].pa-mode-light input,
body[class*="pa-theme-"].pa-mode-light select,
body[class*="pa-theme-"].pa-mode-light textarea {
    background: var(--pa-field-bg) !important;
    border-color: var(--pa-border-strong) !important;
    color: var(--pa-field-text) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] input::placeholder,
html[data-pa-mode="light"] body[class*="pa-theme-"] textarea::placeholder,
body[class*="pa-theme-"].pa-mode-light input::placeholder,
body[class*="pa-theme-"].pa-mode-light textarea::placeholder {
    color: var(--pa-field-placeholder) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-submission-stepper,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-stepper,
html[data-pa-mode="light"] body[class*="pa-theme-"] .steps,
html[data-pa-mode="light"] body[class*="pa-theme-"] .submission-steps,
body[class*="pa-theme-"].pa-mode-light .pa-submission-stepper,
body[class*="pa-theme-"].pa-mode-light .pa-stepper,
body[class*="pa-theme-"].pa-mode-light .steps,
body[class*="pa-theme-"].pa-mode-light .submission-steps {
    background: var(--pa-surface) !important;
    color: var(--pa-text-soft) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-dashboard-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-stat-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-dashboard-panel,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .profile-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .profile-form-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-checklist,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .bundle-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .entry-row,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-submission-card,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-submission-panel,
body[class*="pa-theme-"].pa-mode-dark .pa-dashboard-card,
body[class*="pa-theme-"].pa-mode-dark .pa-stat-card,
body[class*="pa-theme-"].pa-mode-dark .pa-dashboard-panel,
body[class*="pa-theme-"].pa-mode-dark .profile-card,
body[class*="pa-theme-"].pa-mode-dark .profile-form-card,
body[class*="pa-theme-"].pa-mode-dark .pa-password-card,
body[class*="pa-theme-"].pa-mode-dark .pa-password-checklist,
body[class*="pa-theme-"].pa-mode-dark .bundle-card,
body[class*="pa-theme-"].pa-mode-dark .entry-row,
body[class*="pa-theme-"].pa-mode-dark .pa-submission-card,
body[class*="pa-theme-"].pa-mode-dark .pa-submission-panel {
    background: var(--pa-card-fill) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-active-competitions .pa-competition-card,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-active-competitions .pa-competition-card {
    background:
        linear-gradient(135deg, rgba(29, 23, 15, 0.96), rgba(16, 14, 12, 0.96)),
        radial-gradient(circle at 82% 16%, rgba(214, 161, 47, 0.12), transparent 190px) !important;
    border-color: rgba(214, 161, 47, 0.26) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-active-competitions .pa-competition-art,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-active-competitions .pa-competition-art {
    border-right: 1px solid rgba(214, 161, 47, 0.18);
    opacity: 0.92;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-active-competitions .pa-competition-badge,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-badge,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-active-competitions .pa-competition-badge,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-active-competitions .pa-competition-card--annual .pa-competition-badge {
    background: linear-gradient(135deg, #f0bf58, #b8790c) !important;
    color: #140f08 !important;
    text-shadow: none !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-active-competitions .pa-competition-copy h3,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-active-competitions .pa-competition-copy h3 {
    color: var(--pa-text) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-active-competitions .pa-competition-copy dd,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-active-competitions .pa-competition-copy dd {
    color: var(--pa-text-soft) !important;
}

/* Final mode fence: old black/gold styles used theme-only selectors, so the
   effective light/dark mode must win last for every shared frontend surface. */
html[data-pa-mode="light"] body.pa-theme-black-gold,
body.pa-theme-black-gold.pa-mode-light {
    --pa-bg: #FAF8F2;
    --pa-surface: #FFFFFF;
    --pa-surface-soft: #F6F0E6;
    --pa-surface-alt: #F3E8D6;
    --pa-text: #1F1A16;
    --pa-text-soft: #6F665D;
    --pa-border: #E4D8C8;
    --pa-border-strong: #D2BE9F;
    --pa-accent: #C8911F;
    --pa-accent-2: #D9A441;
    --pa-accent-soft: #F7EACF;
    --pa-field-bg: #FFFFFF;
    --pa-field-text: #1F1A16;
    --pa-field-placeholder: rgba(31, 26, 22, 0.48);
    --pa-card-fill: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88));
    --pa-card-fill-strong: linear-gradient(145deg, #FFFFFF, #FFF7EA);
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-sidebar,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-sidebar,
html[data-pa-mode="light"] body[class*="pa-theme-"] .photo-award-profile-container,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-white-dashboard,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-page,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-competitions-page,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-bundles-page,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-my-entries-v2,
html[data-pa-mode="light"] body[class*="pa-theme-"] .event-registration-container,
body[class*="pa-theme-"].pa-mode-light .profile-sidebar,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-sidebar,
body[class*="pa-theme-"].pa-mode-light .photo-award-profile-container,
body[class*="pa-theme-"].pa-mode-light .pa-white-dashboard,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-page,
body[class*="pa-theme-"].pa-mode-light .pa-competitions-page,
body[class*="pa-theme-"].pa-mode-light .pa-bundles-page,
body[class*="pa-theme-"].pa-mode-light .pa-my-entries-v2,
body[class*="pa-theme-"].pa-mode-light .event-registration-container {
    background: var(--pa-bg) !important;
    color: var(--pa-text) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-stat-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-panel,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-featured-competition-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-competition-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-monthly-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-event-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .event-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .bundle-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-bundle-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .entry-row,
html[data-pa-mode="light"] body[class*="pa-theme-"] .entry-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-form-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-password-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-password-checklist,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-submission-form,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-submission-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-submission-panel,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-category-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-subcategory-option,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-category-summary,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-auth-card,
html[data-pa-mode="light"] body[class*="pa-theme-"] .auth-modal-content,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-card,
body[class*="pa-theme-"].pa-mode-light .pa-stat-card,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-panel,
body[class*="pa-theme-"].pa-mode-light .pa-featured-competition-card,
body[class*="pa-theme-"].pa-mode-light .pa-competition-card,
body[class*="pa-theme-"].pa-mode-light .pa-monthly-card,
body[class*="pa-theme-"].pa-mode-light .pa-event-card,
body[class*="pa-theme-"].pa-mode-light .event-card,
body[class*="pa-theme-"].pa-mode-light .bundle-card,
body[class*="pa-theme-"].pa-mode-light .pa-bundle-card,
body[class*="pa-theme-"].pa-mode-light .entry-row,
body[class*="pa-theme-"].pa-mode-light .entry-card,
body[class*="pa-theme-"].pa-mode-light .profile-card,
body[class*="pa-theme-"].pa-mode-light .profile-form-card,
body[class*="pa-theme-"].pa-mode-light .pa-password-card,
body[class*="pa-theme-"].pa-mode-light .pa-password-checklist,
body[class*="pa-theme-"].pa-mode-light .pa-submission-form,
body[class*="pa-theme-"].pa-mode-light .pa-submission-card,
body[class*="pa-theme-"].pa-mode-light .pa-submission-panel,
body[class*="pa-theme-"].pa-mode-light .pa-category-card,
body[class*="pa-theme-"].pa-mode-light .pa-subcategory-option,
body[class*="pa-theme-"].pa-mode-light .pa-category-summary,
body[class*="pa-theme-"].pa-mode-light .pa-auth-card,
body[class*="pa-theme-"].pa-mode-light .auth-modal-content {
    background: var(--pa-card-fill) !important;
    border-color: var(--pa-border) !important;
    color: var(--pa-text) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] input,
html[data-pa-mode="light"] body[class*="pa-theme-"] select,
html[data-pa-mode="light"] body[class*="pa-theme-"] textarea,
body[class*="pa-theme-"].pa-mode-light input,
body[class*="pa-theme-"].pa-mode-light select,
body[class*="pa-theme-"].pa-mode-light textarea {
    background: var(--pa-field-bg) !important;
    color: var(--pa-field-text) !important;
    border-color: var(--pa-border-strong) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-card h1,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-card h2,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-card h3,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-panel h1,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-panel h2,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-dashboard-panel h3,
html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-form-card h1,
html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-form-card h2,
html[data-pa-mode="light"] body[class*="pa-theme-"] .profile-form-card h3,
html[data-pa-mode="light"] body[class*="pa-theme-"] .event-registration-container h1,
html[data-pa-mode="light"] body[class*="pa-theme-"] .event-registration-container h2,
html[data-pa-mode="light"] body[class*="pa-theme-"] .event-registration-container h3,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-card h1,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-card h2,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-card h3,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-panel h1,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-panel h2,
body[class*="pa-theme-"].pa-mode-light .pa-dashboard-panel h3,
body[class*="pa-theme-"].pa-mode-light .profile-form-card h1,
body[class*="pa-theme-"].pa-mode-light .profile-form-card h2,
body[class*="pa-theme-"].pa-mode-light .profile-form-card h3,
body[class*="pa-theme-"].pa-mode-light .event-registration-container h1,
body[class*="pa-theme-"].pa-mode-light .event-registration-container h2,
body[class*="pa-theme-"].pa-mode-light .event-registration-container h3 {
    color: var(--pa-text) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-muted,
html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-text-soft,
html[data-pa-mode="light"] body[class*="pa-theme-"] .entry-meta,
html[data-pa-mode="light"] body[class*="pa-theme-"] .competition-meta,
body[class*="pa-theme-"].pa-mode-light .pa-muted,
body[class*="pa-theme-"].pa-mode-light .pa-text-soft,
body[class*="pa-theme-"].pa-mode-light .entry-meta,
body[class*="pa-theme-"].pa-mode-light .competition-meta {
    color: var(--pa-text-soft) !important;
}

/* My Entries final layout guard: each row keeps image, details, payment, and actions in stable columns. */
.pa-my-entries-v2 .entry-row {
    align-items: center !important;
    column-gap: 22px !important;
    grid-template-columns: 112px minmax(0, 1fr) 174px !important;
    min-height: 142px;
}

.pa-my-entries-v2 .entry-row-content {
    align-items: stretch !important;
    justify-content: stretch !important;
    width: 100% !important;
}

.pa-my-entries-v2 .entry-row-title {
    justify-content: flex-start !important;
    min-width: 0;
}

.pa-my-entries-v2 .entry-row-title h3,
.pa-my-entries-v2 .entry-row-title a.entry-title-link {
    min-width: 0;
}

.pa-my-entries-v2 .entry-row-title h3 {
    overflow-wrap: anywhere;
}

.pa-my-entries-v2 .entry-row-details {
    display: grid !important;
    gap: 8px 18px !important;
    grid-template-columns: minmax(190px, 1.35fr) minmax(145px, 1fr) minmax(68px, 0.4fr) minmax(112px, 0.5fr);
    width: 100%;
}

.pa-my-entries-v2 .entry-detail-item {
    align-items: center;
    min-width: 0 !important;
    overflow: hidden;
}

.pa-my-entries-v2 .entry-detail-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pa-my-entries-v2 .entry-detail-item svg {
    flex: 0 0 auto;
}

.pa-my-entries-v2 .entry-row-actions {
    align-self: center !important;
    justify-self: end !important;
    min-width: 156px;
}

.pa-my-entries-v2 .pay-button {
    justify-content: center;
    min-width: 132px;
}

.pa-my-entries-v2 .action-buttons {
    justify-content: flex-end;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .entry-detail-item,
body[class*="pa-theme-"].pa-mode-dark .pa-my-entries-v2 .entry-detail-item {
    color: rgba(246, 241, 232, 0.72) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .entry-row-title h3,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .entry-row-title a.entry-title-link,
body[class*="pa-theme-"].pa-mode-dark .pa-my-entries-v2 .entry-row-title h3,
body[class*="pa-theme-"].pa-mode-dark .pa-my-entries-v2 .entry-row-title a.entry-title-link {
    color: var(--pa-text) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .entries-summary-count span,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .unpaid-invoices-copy span,
body[class*="pa-theme-"].pa-mode-dark .pa-my-entries-v2 .entries-summary-count span,
body[class*="pa-theme-"].pa-mode-dark .pa-my-entries-v2 .unpaid-invoices-copy span {
    color: rgba(246, 241, 232, 0.58) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .entries-summary-count strong,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .unpaid-invoices-copy strong,
body[class*="pa-theme-"].pa-mode-dark .pa-my-entries-v2 .entries-summary-count strong,
body[class*="pa-theme-"].pa-mode-dark .pa-my-entries-v2 .unpaid-invoices-copy strong {
    color: var(--pa-text) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-my-entries-v2 .unpaid-invoices-copy p,
body[class*="pa-theme-"].pa-mode-dark .pa-my-entries-v2 .unpaid-invoices-copy p {
    color: rgba(246, 241, 232, 0.72) !important;
}

html[data-pa-mode="light"] body[class*="pa-theme-"] .pa-my-entries-v2 .entry-detail-item,
body[class*="pa-theme-"].pa-mode-light .pa-my-entries-v2 .entry-detail-item {
    color: rgba(31, 26, 22, 0.7) !important;
}

@media (max-width: 1180px) {
    .pa-my-entries-v2 .entry-row {
        column-gap: 16px !important;
        grid-template-columns: 104px minmax(0, 1fr) 150px !important;
    }

    .pa-my-entries-v2 .entry-row-details {
        grid-template-columns: minmax(160px, 1fr) minmax(130px, 0.85fr);
    }
}

@media (max-width: 820px) {
    .pa-my-entries-v2 .entry-row {
        grid-template-columns: 92px minmax(0, 1fr) !important;
    }

    .pa-my-entries-v2 .entry-row-actions {
        grid-column: 2;
        justify-self: stretch !important;
        min-width: 0;
    }

    .pa-my-entries-v2 .action-buttons {
        justify-content: flex-start;
    }

    .pa-my-entries-v2 .pay-button {
        width: fit-content;
    }
}

@media (max-width: 640px) {
    .pa-my-entries-v2 .entry-row {
        grid-template-columns: 1fr !important;
    }

    .pa-my-entries-v2 .entry-row-image {
        height: 180px;
        width: 100%;
    }

    .pa-my-entries-v2 .entry-row-details {
        grid-template-columns: 1fr;
    }

    .pa-my-entries-v2 .entry-row-actions {
        grid-column: 1;
    }

    .pa-my-entries-v2 .unpaid-invoices-summary {
        grid-template-columns: 1fr !important;
    }
}

/* Bundles dark-mode readability guard */
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-card,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)) !important;
    border-color: rgba(217, 164, 65, 0.28) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-card h3,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-details,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-card h3,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-details {
    color: var(--pa-text) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-details p,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-pay,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-credit,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-details p,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-pay,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-credit {
    color: rgba(246, 241, 232, 0.78) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-details strong,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-details strong {
    color: var(--pa-accent-2) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-note,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-note {
    background: rgba(255, 255, 255, 0.075) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(246, 241, 232, 0.78) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .bundle-note span,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .bundle-note span {
    color: rgba(246, 241, 232, 0.78) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .pa-bundles-trust-strip,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .pa-bundles-trust-strip {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .pa-bundles-trust-strip strong,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .pa-bundles-trust-strip strong {
    color: var(--pa-text) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .pa-bundles-trust-strip p,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .pa-bundles-trust-strip p {
    color: rgba(246, 241, 232, 0.7) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-bundles-page .pa-bundles-trust-strip span,
body[class*="pa-theme-"].pa-mode-dark .pa-bundles-page .pa-bundles-trust-strip span {
    background: rgba(217, 164, 65, 0.12) !important;
    border-color: rgba(217, 164, 65, 0.32) !important;
    color: var(--pa-accent-2) !important;
}

/* Edit Profile dark-mode readability guard */
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-card,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)) !important;
    border-color: rgba(217, 164, 65, 0.24) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-card h2,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-card h2 {
    color: rgba(246, 241, 232, 0.96) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-card p,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-card p {
    color: rgba(246, 241, 232, 0.68) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 label,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-group label,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .radio-label,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .radio-label span,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 label,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-group label,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .radio-label,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .radio-label span {
    color: rgba(246, 241, 232, 0.86) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-switch,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-switch {
    background: linear-gradient(145deg, rgba(217, 164, 65, 0.18), rgba(255, 255, 255, 0.045)) !important;
    border-color: rgba(217, 164, 65, 0.38) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
    color: #f7f1e8 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-switch:has(input[type="checkbox"]:checked),
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-switch:has(input[type="checkbox"]:checked) {
    background: linear-gradient(145deg, rgba(217, 164, 65, 0.3), rgba(217, 164, 65, 0.12)) !important;
    border-color: rgba(217, 164, 65, 0.62) !important;
    color: #fff8e7 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-switch span,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-switch span {
    color: currentColor !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-switch input[type="checkbox"],
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-switch input[type="checkbox"] {
    accent-color: var(--pa-accent-2, #d9a441) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-help,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 small,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-help,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 small {
    color: rgba(246, 241, 232, 0.66) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-subcard,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-subcard {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.028)) !important;
    border-color: rgba(217, 164, 65, 0.24) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-subcard h3,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-subcard h3 {
    color: rgba(246, 241, 232, 0.96) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-subcard p,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-subcard p {
    color: rgba(246, 241, 232, 0.72) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-subcard input[type="file"],
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-form-subcard input[type="file"] {
    background: rgba(10, 10, 9, 0.78) !important;
    border: 1px solid rgba(217, 164, 65, 0.24) !important;
    border-radius: 12px !important;
    color: rgba(246, 241, 232, 0.9) !important;
    padding: 12px !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-gallery-status-card,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .pa-profile-gallery-status-card {
    background: rgba(12, 12, 11, 0.82) !important;
    border-color: rgba(217, 164, 65, 0.2) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="text"],
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="email"],
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="url"],
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="file"],
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-group select,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-group textarea,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="text"],
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="email"],
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="url"],
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-group input[type="file"],
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-group select,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-group textarea {
    background: rgba(255, 253, 248, 0.97) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #171512 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 input::placeholder,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 textarea::placeholder,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 input::placeholder,
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 textarea::placeholder {
    color: rgba(23, 21, 18, 0.48) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 .form-group input[readonly],
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 .form-group input[readonly] {
    background: rgba(239, 234, 225, 0.96) !important;
    color: rgba(23, 21, 18, 0.72) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .photo-award-profile-container .pa-edit-profile-v2 input[type="radio"],
body[class*="pa-theme-"].pa-mode-dark .photo-award-profile-container .pa-edit-profile-v2 input[type="radio"] {
    accent-color: var(--pa-accent, #d9a441) !important;
}

/* Change Password dark-mode readability and layout guard */
html[data-pa-mode="dark"] body[class*="pa-theme-"] .profile-sidebar-brand,
body[class*="pa-theme-"].pa-mode-dark .profile-sidebar-brand {
    color: rgba(246, 241, 232, 0.94) !important;
    opacity: 1 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .profile-sidebar-brand::first-letter,
body[class*="pa-theme-"].pa-mode-dark .profile-sidebar-brand::first-letter {
    color: var(--pa-accent-2, #f0c15a) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-page,
body[class*="pa-theme-"].pa-mode-dark .pa-password-page {
    display: block !important;
    min-height: 0 !important;
    padding-top: clamp(22px, 3vw, 48px) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-hero,
body[class*="pa-theme-"].pa-mode-dark .pa-password-hero {
    min-height: 0 !important;
    padding-bottom: clamp(20px, 3vw, 34px) !important;
    margin-bottom: clamp(22px, 3vw, 36px) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-shell,
body[class*="pa-theme-"].pa-mode-dark .pa-password-shell {
    align-items: start !important;
    gap: clamp(22px, 3vw, 36px) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-card,
body[class*="pa-theme-"].pa-mode-dark .pa-password-card {
    background: rgba(17, 17, 17, 0.96) !important;
    border-color: rgba(246, 241, 232, 0.16) !important;
    color: rgba(246, 241, 232, 0.9) !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-security-note,
body[class*="pa-theme-"].pa-mode-dark .pa-password-security-note {
    background: rgba(24, 24, 24, 0.96) !important;
    border-color: rgba(246, 241, 232, 0.16) !important;
    color: rgba(246, 241, 232, 0.78) !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-card h2,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-security-note h3,
body[class*="pa-theme-"].pa-mode-dark .pa-password-card h2,
body[class*="pa-theme-"].pa-mode-dark .pa-password-security-note h3 {
    color: rgba(246, 241, 232, 0.98) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-card-header p,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-security-note p,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-security-note li,
body[class*="pa-theme-"].pa-mode-dark .pa-password-card-header p,
body[class*="pa-theme-"].pa-mode-dark .pa-password-security-note p,
body[class*="pa-theme-"].pa-mode-dark .pa-password-security-note li {
    color: rgba(246, 241, 232, 0.74) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-field label,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-strength,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-strength strong,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-strength b,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-requirements span,
body[class*="pa-theme-"].pa-mode-dark .pa-password-field label,
body[class*="pa-theme-"].pa-mode-dark .pa-password-strength,
body[class*="pa-theme-"].pa-mode-dark .pa-password-strength strong,
body[class*="pa-theme-"].pa-mode-dark .pa-password-strength b,
body[class*="pa-theme-"].pa-mode-dark .pa-password-requirements span {
    color: rgba(246, 241, 232, 0.84) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-input-wrap input[type="password"],
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-input-wrap input[type="text"],
body[class*="pa-theme-"].pa-mode-dark .pa-password-input-wrap input[type="password"],
body[class*="pa-theme-"].pa-mode-dark .pa-password-input-wrap input[type="text"] {
    background: rgba(255, 253, 248, 0.98) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #171512 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-requirements,
body[class*="pa-theme-"].pa-mode-dark .pa-password-requirements {
    background: rgba(255, 253, 248, 0.08) !important;
    border-color: rgba(246, 241, 232, 0.16) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-toggle,
body[class*="pa-theme-"].pa-mode-dark .pa-password-toggle {
    background: rgba(217, 164, 65, 0.14) !important;
    border-color: rgba(217, 164, 65, 0.42) !important;
    color: var(--pa-accent-2, #f0c15a) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-submit,
body[class*="pa-theme-"].pa-mode-dark .pa-password-submit {
    background: var(--pa-accent, #d9a441) !important;
    border-color: transparent !important;
    color: #11100e !important;
}

@media (min-width: 981px) {
    html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-page,
    body[class*="pa-theme-"].pa-mode-dark .pa-password-page {
        padding-top: 26px !important;
    }

    html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-hero,
    body[class*="pa-theme-"].pa-mode-dark .pa-password-hero {
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-shell,
    body[class*="pa-theme-"].pa-mode-dark .pa-password-shell {
        max-width: 980px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: -56px !important;
    }
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-hero,
body[class*="pa-theme-"].pa-mode-dark .pa-password-hero {
    min-height: 0 !important;
    margin-bottom: 16px !important;
    padding-bottom: 6px !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-hero h1,
body[class*="pa-theme-"].pa-mode-dark .pa-password-hero h1 {
    font-size: clamp(48px, 5vw, 74px) !important;
    line-height: 0.98 !important;
    margin-bottom: 14px !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-card .pa-gold-button,
body[class*="pa-theme-"].pa-mode-dark .pa-password-card .pa-gold-button {
    background: linear-gradient(135deg, var(--pa-accent, #d6a12f), var(--pa-accent-2, #f0c15a)) !important;
    border-color: rgba(240, 193, 90, 0.62) !important;
    color: #11100e !important;
    font-weight: 800 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-password-card .pa-gold-button:hover,
body[class*="pa-theme-"].pa-mode-dark .pa-password-card .pa-gold-button:hover {
    background: linear-gradient(135deg, var(--pa-accent-2, #f0c15a), var(--pa-accent, #d6a12f)) !important;
    color: #11100e !important;
}

/* Final Change Password page repair: keep it isolated, aligned, and readable in all themes. */
body:has(.photo-award-profile-container) {
    background: var(--pa-bg) !important;
    color: var(--pa-text) !important;
}

body:has(.photo-award-profile-container) .wp-site-blocks > header,
body:has(.photo-award-profile-container) .wp-site-blocks > footer,
body:has(.photo-award-profile-container) header.wp-block-template-part,
body:has(.photo-award-profile-container) footer.wp-block-template-part,
body:has(.photo-award-profile-container) .wp-block-site-title,
body:has(.photo-award-profile-container) .wp-block-site-logo,
body:has(.photo-award-profile-container) .wp-block-navigation,
body:has(.photo-award-profile-container) .site-header,
body:has(.photo-award-profile-container) .site-footer {
    display: none !important;
}

body:has(.photo-award-profile-container) .wp-site-blocks,
body:has(.photo-award-profile-container) .wp-site-blocks > main,
body:has(.photo-award-profile-container) main.wp-block-group,
body:has(.photo-award-profile-container) .entry-content {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--pa-bg) !important;
}

.photo-award-profile-container .profile-sidebar-brand,
.photo-award-profile-container .profile-sidebar-brand a,
.photo-award-profile-container .pa-sidebar-brand,
.photo-award-profile-container .pa-sidebar-brand a {
    color: var(--pa-text) !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

.photo-award-profile-container .pa-password-page {
    display: block !important;
    min-height: auto !important;
    padding: clamp(28px, 4vw, 56px) clamp(22px, 5vw, 72px) !important;
    background: transparent !important;
    color: var(--pa-text) !important;
}

.photo-award-profile-container .pa-password-hero {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 clamp(26px, 4vw, 44px) !important;
    padding: 0 0 clamp(24px, 3vw, 36px) !important;
    background: transparent !important;
    border-bottom: 1px solid var(--pa-border) !important;
    overflow: visible !important;
}

.photo-award-profile-container .pa-password-hero::before,
.photo-award-profile-container .pa-password-hero::after {
    display: none !important;
}

.photo-award-profile-container .pa-password-hero .pa-kicker,
.photo-award-profile-container .pa-password-hero p {
    color: var(--pa-text-soft) !important;
    opacity: 1 !important;
}

.photo-award-profile-container .pa-password-hero h1 {
    color: var(--pa-text) !important;
    max-width: 820px !important;
}

.photo-award-profile-container .pa-password-shell {
    display: grid !important;
    grid-template-columns: minmax(340px, 540px) minmax(260px, 360px) !important;
    justify-content: center !important;
    align-items: start !important;
    gap: clamp(24px, 5vw, 72px) !important;
    width: min(100%, 1040px) !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
}

.photo-award-profile-container .pa-password-card,
.photo-award-profile-container .pa-password-security-note {
    position: static !important;
    top: auto !important;
    margin: 0 !important;
    padding: clamp(26px, 3vw, 42px) !important;
    background: var(--pa-surface) !important;
    border: 1px solid var(--pa-border) !important;
    color: var(--pa-text) !important;
    box-shadow: var(--pa-shadow) !important;
}

.photo-award-profile-container .pa-password-card h2,
.photo-award-profile-container .pa-password-card h3,
.photo-award-profile-container .pa-password-security-note h2,
.photo-award-profile-container .pa-password-security-note h3 {
    color: var(--pa-text) !important;
}

.photo-award-profile-container .pa-password-card p,
.photo-award-profile-container .pa-password-security-note p,
.photo-award-profile-container .pa-password-security-note li,
.photo-award-profile-container .pa-password-strength,
.photo-award-profile-container .pa-password-requirements label {
    color: var(--pa-text-soft) !important;
    opacity: 1 !important;
}

.photo-award-profile-container .pa-password-field label {
    color: var(--pa-text) !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.photo-award-profile-container .pa-password-input-wrap,
.photo-award-profile-container .pa-password-requirements {
    background: var(--pa-surface-soft) !important;
    border-color: var(--pa-border) !important;
}

.photo-award-profile-container .pa-password-input-wrap input[type="password"],
.photo-award-profile-container .pa-password-input-wrap input[type="text"] {
    background: transparent !important;
    color: var(--pa-text) !important;
    border: 0 !important;
}

.photo-award-profile-container .pa-password-input-wrap input::placeholder {
    color: var(--pa-text-soft) !important;
    opacity: .74 !important;
}

.photo-award-profile-container .pa-password-toggle {
    background: var(--pa-accent-soft) !important;
    border: 1px solid var(--pa-border) !important;
    color: var(--pa-accent) !important;
}

.photo-award-profile-container .pa-password-security-note li::marker {
    color: var(--pa-accent) !important;
}

.photo-award-profile-container .pa-password-card .pa-gold-button {
    background: var(--pa-accent) !important;
    color: var(--pa-button-text, #11100e) !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

html[data-pa-mode="dark"] .photo-award-profile-container .pa-password-card,
body.pa-mode-dark .photo-award-profile-container .pa-password-card,
html[data-pa-mode="dark"] .photo-award-profile-container .pa-password-security-note,
body.pa-mode-dark .photo-award-profile-container .pa-password-security-note {
    background: var(--pa-surface) !important;
    border-color: var(--pa-border) !important;
}

html[data-pa-mode="dark"] .photo-award-profile-container .pa-password-input-wrap,
body.pa-mode-dark .photo-award-profile-container .pa-password-input-wrap,
html[data-pa-mode="dark"] .photo-award-profile-container .pa-password-requirements,
body.pa-mode-dark .photo-award-profile-container .pa-password-requirements {
    background: var(--pa-surface-soft) !important;
    border-color: var(--pa-border-strong, var(--pa-border)) !important;
}

html[data-pa-mode="dark"] .photo-award-profile-container .pa-password-input-wrap input[type="password"],
html[data-pa-mode="dark"] .photo-award-profile-container .pa-password-input-wrap input[type="text"],
body.pa-mode-dark .photo-award-profile-container .pa-password-input-wrap input[type="password"],
body.pa-mode-dark .photo-award-profile-container .pa-password-input-wrap input[type="text"] {
    color: var(--pa-text) !important;
    -webkit-text-fill-color: var(--pa-text) !important;
}

@media (max-width: 1100px) {
    .photo-award-profile-container .pa-password-page {
        padding: 28px !important;
    }

    .photo-award-profile-container .pa-password-shell {
        grid-template-columns: minmax(0, 1fr) !important;
        width: min(100%, 620px) !important;
    }
}

@media (max-width: 720px) {
    .photo-award-profile-container .pa-password-page {
        padding: 22px 16px !important;
    }

    .photo-award-profile-container .pa-password-hero h1 {
        font-size: clamp(42px, 14vw, 64px) !important;
        line-height: .98 !important;
    }

    .photo-award-profile-container .pa-password-card,
    .photo-award-profile-container .pa-password-security-note {
        padding: 22px !important;
        border-radius: 18px !important;
    }
}
/* Plugin-wide desktop density pass
   Layout-only rules: reduce scrolling on larger screens without changing data, forms, or actions. */
@media (min-width: 1024px) {
  .photo-award-profile-container,
  .photo-award-profile-container *,
  .event-registration-container.pa-submission-page,
  .event-registration-container.pa-submission-page * {
    scroll-margin-top: 18px;
  }

  .photo-award-profile-container .profile-main,
  .photo-award-profile-container .profile-content,
  .photo-award-profile-container .pa-white-dashboard {
    padding-top: clamp(24px, 2.4vw, 38px) !important;
    padding-bottom: clamp(28px, 2.6vw, 44px) !important;
  }

  .photo-award-profile-container .profile-sidebar {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
  }

  .photo-award-profile-container .profile-sidebar-brand,
  .photo-award-profile-container .sidebar-brand,
  .photo-award-profile-container .profile-sidebar .site-branding {
    margin-bottom: 26px !important;
  }

  .photo-award-profile-container .profile-sidebar nav,
  .photo-award-profile-container .sidebar-nav,
  .photo-award-profile-container .profile-menu {
    gap: 4px !important;
  }

  .photo-award-profile-container .profile-sidebar a,
  .photo-award-profile-container .sidebar-nav a,
  .photo-award-profile-container .profile-menu a,
  .photo-award-profile-container .dashboard-menu a {
    min-height: 42px !important;
    padding: 10px 14px !important;
    margin-bottom: 4px !important;
  }

  .photo-award-profile-container .sidebar-divider,
  .photo-award-profile-container .profile-sidebar hr {
    margin: 18px 0 !important;
  }

  .photo-award-profile-container .profile-sidebar-user,
  .photo-award-profile-container .sidebar-user-card {
    padding: 16px !important;
    margin-top: 22px !important;
  }

  .photo-award-profile-container .dashboard-header,
  .photo-award-profile-container .pa-dashboard-header,
  .photo-award-profile-container .pa-page-header,
  .photo-award-profile-container .profile-page-header {
    margin-bottom: 22px !important;
    padding-bottom: 18px !important;
    min-height: 0 !important;
  }

  .photo-award-profile-container .dashboard-header h1,
  .photo-award-profile-container .pa-dashboard-header h1,
  .photo-award-profile-container .pa-page-header h1,
  .photo-award-profile-container .profile-page-header h1 {
    font-size: clamp(48px, 4.7vw, 72px) !important;
    line-height: .95 !important;
    margin-bottom: 10px !important;
  }

  .photo-award-profile-container .dashboard-stats,
  .photo-award-profile-container .stats-grid,
  .photo-award-profile-container .pa-dashboard-stats {
    gap: 16px !important;
    margin-bottom: 18px !important;
  }

  .photo-award-profile-container .dashboard-page .pa-dashboard-hero {
    padding-bottom: clamp(54px, 5vw, 78px) !important;
  }

  .photo-award-profile-container .dashboard-page .pa-dashboard-stats {
    gap: 14px !important;
    margin-top: -36px !important;
  }

  .photo-award-profile-container .dashboard-card,
  .photo-award-profile-container .stat-card,
  .photo-award-profile-container .pa-stat-card {
    min-height: 0 !important;
    padding: 18px !important;
  }

  .photo-award-profile-container .dashboard-page .pa-stat-card {
    padding: 16px 18px !important;
  }

  .photo-award-profile-container .dashboard-page .pa-stat-card.wallet-balance-section {
    margin: 0 !important;
  }

  .photo-award-profile-container .dashboard-sections,
  .photo-award-profile-container .dashboard-bottom-grid,
  .photo-award-profile-container .pa-dashboard-grid {
    gap: 16px !important;
    margin-top: 18px !important;
  }

  .photo-award-profile-container .dashboard-section,
  .photo-award-profile-container .pa-dashboard-panel,
  .photo-award-profile-container .notifications-card,
  .photo-award-profile-container .transaction-history-card,
  .photo-award-profile-container .recent-entries-card {
    padding: 18px !important;
    min-height: 0 !important;
  }

  .photo-award-profile-container .active-competitions-section,
  .photo-award-profile-container .pa-active-competitions {
    margin-bottom: 18px !important;
  }

  .photo-award-profile-container .competition-card,
  .photo-award-profile-container .event-card,
  .photo-award-profile-container .pa-competition-card,
  .photo-award-profile-container .pa-event-row {
    min-height: 0 !important;
  }

  .photo-award-profile-container .pa-new-entry-page .event-card,
  .photo-award-profile-container .new-entry-page .event-card,
  .photo-award-profile-container .pa-event-row {
    padding: 14px 18px !important;
  }

  .photo-award-profile-container .pa-new-entry-page .event-thumbnail,
  .photo-award-profile-container .new-entry-page .event-thumbnail,
  .photo-award-profile-container .pa-event-row-thumb {
    flex-basis: 112px !important;
    width: 112px !important;
    height: 78px !important;
  }

  .photo-award-profile-container .my-entries-page .entries-summary,
  .photo-award-profile-container .pa-entries-summary {
    padding: 18px 22px !important;
    margin-bottom: 18px !important;
  }

  .photo-award-profile-container .my-entries-page .entry-item,
  .photo-award-profile-container .my-entries-page .entry-card,
  .photo-award-profile-container .my-entries-page .pa-entry-card {
    display: grid !important;
    grid-template-columns: 96px minmax(180px, .85fr) minmax(360px, 1.5fr) auto !important;
    align-items: center !important;
    gap: 18px !important;
    min-height: 112px !important;
    padding: 16px 20px !important;
  }

  .photo-award-profile-container .my-entries-page .entry-thumbnail,
  .photo-award-profile-container .my-entries-page .entry-image {
    width: 84px !important;
    height: 84px !important;
    min-width: 84px !important;
  }

  .photo-award-profile-container .my-entries-page .entry-thumbnail img,
  .photo-award-profile-container .my-entries-page .entry-image img {
    width: 84px !important;
    height: 84px !important;
    object-fit: cover !important;
  }

  .photo-award-profile-container .my-entries-page .entry-meta,
  .photo-award-profile-container .my-entries-page .entry-details {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 16px !important;
    align-items: center !important;
  }

  .photo-award-profile-container .my-entries-page .entry-actions,
  .photo-award-profile-container .my-entries-page .pa-entry-actions {
    justify-self: end !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .photo-award-profile-container .pa-bundles-page {
    gap: 20px !important;
  }

  .photo-award-profile-container .pa-bundles-hero {
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
  }

  .photo-award-profile-container .pa-bundles-hero h1 {
    font-size: clamp(48px, 5.2vw, 74px) !important;
  }

  .photo-award-profile-container .pa-bundles-intro {
    margin-top: 0 !important;
    padding: 14px 0 !important;
  }

  .photo-award-profile-container .pa-bundles-page .bundles-grid {
    gap: 18px !important;
  }

  .photo-award-profile-container .pa-bundles-page .bundle-card {
    min-height: 0 !important;
    padding: 28px 22px 22px !important;
  }

  .photo-award-profile-container .pa-bundles-page .bundle-icon {
    width: 58px !important;
    height: 58px !important;
    margin-bottom: 16px !important;
  }

  .photo-award-profile-container .pa-bundles-page .bundle-name {
    min-height: 0 !important;
    font-size: clamp(22px, 1.8vw, 28px) !important;
  }

  .photo-award-profile-container .pa-bundles-page .bundle-name::after {
    margin-top: 14px !important;
  }

  .photo-award-profile-container .pa-bundles-page .bundle-details {
    gap: 10px !important;
    margin: 16px 0 14px !important;
  }

  .photo-award-profile-container .pa-bundles-page .bundle-note {
    min-height: 42px !important;
    margin-bottom: 14px !important;
  }

  .photo-award-profile-container .pa-bundles-trust-strip article {
    padding: 18px 22px !important;
  }

  .photo-award-profile-container .profile-form,
  .photo-award-profile-container .profile-card,
  .photo-award-profile-container .pa-profile-card,
  .photo-award-profile-container .pa-edit-profile-card {
    padding: 24px !important;
  }

  .photo-award-profile-container .profile-form .form-grid,
  .photo-award-profile-container .pa-form-grid,
  .photo-award-profile-container .profile-fields-grid {
    gap: 16px 20px !important;
  }

  .photo-award-profile-container .profile-form .form-group,
  .photo-award-profile-container .pa-form-group {
    margin-bottom: 14px !important;
  }

  .photo-award-profile-container .profile-form input,
  .photo-award-profile-container .profile-form select,
  .photo-award-profile-container .profile-form textarea {
    min-height: 42px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .photo-award-profile-container .profile-form textarea {
    min-height: 104px !important;
  }

  .photo-award-profile-container .pa-password-page {
    padding: 28px 40px 40px !important;
    min-height: auto !important;
  }

  .photo-award-profile-container .pa-password-hero {
    margin-bottom: 22px !important;
    padding-bottom: 18px !important;
    min-height: 0 !important;
  }

  .photo-award-profile-container .pa-password-hero h1 {
    font-size: clamp(48px, 5vw, 74px) !important;
  }

  .photo-award-profile-container .pa-password-shell {
    align-items: start !important;
    gap: 28px !important;
    grid-template-columns: minmax(360px, 520px) minmax(260px, 340px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
  }

  .photo-award-profile-container .pa-password-card,
  .photo-award-profile-container .pa-password-security-note {
    padding: 24px !important;
    min-height: 0 !important;
  }

  .photo-award-profile-container .pa-password-field {
    margin-bottom: 14px !important;
  }

  .photo-award-profile-container .pa-password-field input {
    min-height: 46px !important;
  }

  .photo-award-profile-container .pa-password-requirements {
    padding: 14px !important;
    gap: 8px 14px !important;
  }

  .event-registration-container.pa-submission-page {
    max-width: min(1280px, 100%) !important;
    padding: 28px 28px 44px !important;
  }

  .pa-submission-page .pa-submission-hero {
    max-width: min(1120px, 100%) !important;
    margin-bottom: 18px !important;
    padding-bottom: 18px !important;
  }

  .pa-submission-page .event-title {
    font-size: clamp(46px, 4.8vw, 70px) !important;
  }

  .pa-submission-steps {
    max-width: min(1120px, 100%) !important;
    margin-bottom: 20px !important;
  }

  .pa-submission-step {
    min-height: 64px !important;
    padding: 14px 18px !important;
  }

  .pa-submission-page #event-registration-form.pa-submission-form {
    max-width: min(1120px, 100%) !important;
    padding: 24px !important;
  }

  .pa-step-panel-header {
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
  }

  .pa-step-panel-header h2 {
    font-size: clamp(34px, 3.6vw, 48px) !important;
  }

  .pa-submission-page #event-registration-form .field {
    margin-bottom: 14px !important;
    padding: 18px 20px !important;
  }

  .pa-submission-page #event-registration-form textarea {
    min-height: 104px !important;
  }

  .pa-submission-page .pa-category-picker-layout {
    gap: 18px !important;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
  }

  .pa-submission-page .pa-category-summary {
    min-height: 0 !important;
    padding: 20px !important;
  }

  .pa-submission-page .pa-simple-category-grid {
    gap: 12px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .pa-submission-page .pa-category-card {
    min-height: 92px !important;
    padding: 16px !important;
  }

  .pa-submission-page .pa-subcategory-grid {
    gap: 8px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .pa-submission-page .pa-subcategory-option {
    min-height: 38px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .pa-submission-page .image-upload-area {
    padding: 22px !important;
  }

  .pa-submission-page .upload-input-div {
    margin-bottom: 12px !important;
  }

  .pa-submission-page .upload-preview img,
  .pa-submission-page .photo-preview img {
    max-height: 150px !important;
    max-width: 150px !important;
  }

  .pa-submission-page .series-upload-grid,
  .pa-submission-page .series-uploads-grid {
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .pa-submission-page .series-upload-item {
    min-height: 150px !important;
    padding: 14px !important;
  }

  .pa-payment-review {
    padding: 20px !important;
    margin-bottom: 14px !important;
  }

  .pa-step-actions {
    margin-top: 18px !important;
  }

  .photo-award-auth-ui .auth-modal-content,
  .photo-award-auth-modal .auth-modal-content,
  .photo-award-auth-modal .photo-award-auth-card {
    max-height: calc(100vh - 48px) !important;
    overflow: auto !important;
  }

  .photo-award-auth-ui .auth-modal-form,
  .photo-award-auth-modal form {
    gap: 14px !important;
  }

  .photo-award-auth-ui .auth-benefits,
  .photo-award-auth-modal .auth-benefits {
    padding: 16px !important;
  }

  .pa-entry-public,
  .pa-entry-public .entry-public-content {
    padding-top: 28px !important;
    padding-bottom: 44px !important;
  }

  .pa-entry-public .entry-public-header,
  .pa-entry-public .pa-entry-hero {
    margin-bottom: 22px !important;
    padding-bottom: 18px !important;
  }

  .pa-entry-public .entry-main,
  .pa-entry-public .pa-entry-main {
    gap: 22px !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  }

  .pa-entry-public .entry-info-card,
  .pa-entry-public .pa-entry-info-card {
    padding: 22px !important;
  }
}

@media (min-width: 1320px) {
  .pa-submission-page .pa-simple-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .pa-submission-page .pa-subcategory-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .photo-award-profile-container .profile-main,
  .photo-award-profile-container .profile-content,
  .event-registration-container.pa-submission-page {
    padding-inline: 16px !important;
  }

  .photo-award-profile-container .my-entries-page .entry-item,
  .photo-award-profile-container .my-entries-page .entry-card,
  .photo-award-profile-container .my-entries-page .pa-entry-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .photo-award-profile-container .my-entries-page .entry-actions,
  .photo-award-profile-container .my-entries-page .pa-entry-actions {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
  }

  .photo-award-profile-container .pa-password-shell,
  .pa-submission-page .pa-category-picker-layout,
  .pa-entry-public .entry-main,
  .pa-entry-public .pa-entry-main {
    grid-template-columns: 1fr !important;
  }

  .pa-submission-page .pa-simple-category-grid,
  .pa-submission-page .pa-subcategory-grid,
  .pa-submission-page .series-upload-grid,
  .pa-submission-page .series-uploads-grid {
    grid-template-columns: 1fr !important;
  }

  .pa-submission-page .pa-category-card {
    min-height: 70px !important;
  }
}

/* Submission category step polish */
.event-registration-container.pa-submission-page {
  --pa-submit-panel: color-mix(in srgb, var(--pa-surface, #ffffff) 94%, var(--pa-bg, #faf8f2));
  --pa-submit-panel-soft: color-mix(in srgb, var(--pa-surface-soft, #f6f0e6) 68%, var(--pa-surface, #ffffff));
  --pa-submit-line: color-mix(in srgb, var(--pa-border, #e4d8c8) 78%, transparent);
  --pa-submit-muted: var(--pa-text-soft, rgba(31, 29, 26, 0.62));
}

.event-registration-container.pa-submission-page .pa-submission-hero-top {
  align-items: flex-start !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

.event-registration-container.pa-submission-page .pa-submission-hero-top .pa-submission-kicker {
  margin-bottom: 0 !important;
}

.event-registration-container.pa-submission-page .pa-submission-hero-actions {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-end !important;
}

.event-registration-container.pa-submission-page .pa-submission-theme-toggle {
  background: color-mix(in srgb, var(--pa-surface, #ffffff) 76%, transparent) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #1f1a16) !important;
  flex: 0 0 auto !important;
  margin-top: 0 !important;
}

.event-registration-container.pa-submission-page .pa-submission-dashboard-link {
  align-items: center !important;
  background: color-mix(in srgb, var(--pa-surface, #ffffff) 76%, transparent) !important;
  border: 1px solid var(--pa-submit-line) !important;
  border-radius: 999px !important;
  color: var(--pa-text, #1f1a16) !important;
  display: inline-flex !important;
  font-family: var(--pa-font-accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  justify-content: center !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  min-height: 38px !important;
  padding: 0 15px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.event-registration-container.pa-submission-page .pa-submission-theme-toggle:hover,
.event-registration-container.pa-submission-page .pa-submission-dashboard-link:hover,
.event-registration-container.pa-submission-page .pa-submission-dashboard-link:focus-visible {
  background: var(--pa-accent-soft, #f7eacf) !important;
  border-color: var(--pa-accent, #c8911f) !important;
  color: var(--pa-accent, #c8911f) !important;
}

.event-registration-container.pa-submission-page .pa-submission-steps {
  border-color: var(--pa-submit-line) !important;
  box-shadow: 0 18px 44px rgba(31, 26, 22, 0.06) !important;
}

.event-registration-container.pa-submission-page .pa-submission-step {
  gap: 14px !important;
  min-height: 70px !important;
  padding: 16px 20px !important;
}

.event-registration-container.pa-submission-page .pa-submission-step span {
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 36%, var(--pa-border, #e4d8c8)) !important;
  color: var(--pa-accent-contrast, #17120c) !important;
  flex-basis: 36px !important;
  font-size: 14px !important;
  height: 36px !important;
  width: 36px !important;
}

.event-registration-container.pa-submission-page .pa-submission-step strong {
  color: var(--pa-text, #1f1a16) !important;
  font-family: var(--pa-font-accent) !important;
  font-size: 13px !important;
  letter-spacing: 0.055em !important;
}

.event-registration-container.pa-submission-page .pa-submission-step.is-active {
  background: linear-gradient(135deg, var(--pa-accent-soft, #f7eacf), var(--pa-surface, #ffffff)) !important;
}

.event-registration-container.pa-submission-page .pa-submission-step.is-active span {
  background: var(--pa-accent, #c8911f) !important;
  border-color: var(--pa-accent, #c8911f) !important;
  color: var(--pa-accent-contrast, #17120c) !important;
}

.event-registration-container.pa-submission-page .pa-submission-step.is-complete span {
  background: var(--pa-text, #1f1a16) !important;
  border-color: var(--pa-text, #1f1a16) !important;
  color: var(--pa-surface, #ffffff) !important;
}

.event-registration-container.pa-submission-page #event-registration-form.pa-submission-form {
  background: var(--pa-submit-panel) !important;
  border-color: var(--pa-submit-line) !important;
}

.event-registration-container.pa-submission-page .pa-step-panel-header {
  border-bottom-color: var(--pa-submit-line) !important;
  margin-bottom: 18px !important;
  padding-bottom: 18px !important;
}

.event-registration-container.pa-submission-page .pa-step-panel-header > span {
  align-items: center !important;
  background: var(--pa-accent-soft, #f7eacf) !important;
  border: 1px solid color-mix(in srgb, var(--pa-accent, #c8911f) 28%, transparent) !important;
  border-radius: 999px !important;
  color: var(--pa-accent, #c8911f) !important;
  display: inline-flex !important;
  font-family: var(--pa-font-accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  line-height: 1 !important;
  margin: 0 0 14px !important;
  padding: 8px 11px !important;
}

.event-registration-container.pa-submission-page .pa-step-panel-header h2 {
  font-family: var(--pa-font-display) !important;
  font-size: clamp(40px, 4vw, 58px) !important;
  line-height: 0.98 !important;
  margin-bottom: 10px !important;
}

.event-registration-container.pa-submission-page .pa-step-panel-header p {
  color: var(--pa-submit-muted) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.event-registration-container.pa-submission-page .field.field-topics {
  background: var(--pa-surface, #ffffff) !important;
  border-color: var(--pa-submit-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 40px rgba(31, 26, 22, 0.055) !important;
  padding: 20px !important;
}

.event-registration-container.pa-submission-page .field-topics-container {
  align-items: center !important;
  display: flex !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
  padding-bottom: 16px !important;
}

.event-registration-container.pa-submission-page #event-registration-form .field-topics-container > label {
  font-family: var(--pa-font-accent) !important;
  font-size: 14px !important;
  letter-spacing: 0.075em !important;
  margin-bottom: 0 !important;
}

.event-registration-container.pa-submission-page .field-topics-price-container {
  background: var(--pa-submit-panel-soft) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 20%, var(--pa-border, #e4d8c8)) !important;
  color: var(--pa-text, #1f1a16) !important;
  font-size: 15px !important;
  padding: 9px 16px !important;
}

.event-registration-container.pa-submission-page .price-value {
  color: var(--pa-text, #1f1a16) !important;
  font-size: 21px !important;
  font-weight: 800 !important;
}

.event-registration-container.pa-submission-page .pa-category-search-wrap {
  width: 100% !important;
  max-width: 340px !important;
  margin-bottom: 18px !important;
}

.event-registration-container.pa-submission-page .pa-has-subcategories .pa-category-search-wrap {
  max-width: 430px !important;
}

.event-registration-container.pa-submission-page .pa-category-search-wrap::before {
  background: transparent !important;
  border: 2px solid color-mix(in srgb, var(--pa-text-soft, #6f665d) 70%, transparent) !important;
  border-radius: 50% !important;
  content: "" !important;
  height: 11px !important;
  left: 18px !important;
  top: 50% !important;
  width: 11px !important;
}

.event-registration-container.pa-submission-page .pa-category-search-wrap::after {
  background: color-mix(in srgb, var(--pa-text-soft, #6f665d) 70%, transparent) !important;
  border-radius: 999px !important;
  content: "" !important;
  height: 2px !important;
  left: 30px !important;
  position: absolute !important;
  top: calc(50% + 8px) !important;
  transform: rotate(45deg) !important;
  transform-origin: left center !important;
  width: 8px !important;
}

.event-registration-container.pa-submission-page #event-registration-form .pa-category-search {
  background: var(--pa-surface, #ffffff) !important;
  border-color: color-mix(in srgb, var(--pa-border-strong, #cbbba7) 68%, var(--pa-border, #e4d8c8)) !important;
  border-radius: 14px !important;
  color: var(--pa-text, #1f1a16) !important;
  font-size: 15px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding-left: 48px !important;
  width: 100% !important;
}

.event-registration-container.pa-submission-page .pa-category-picker-layout {
  gap: 20px !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
}

.event-registration-container.pa-submission-page .pa-simple-category-grid {
  align-items: stretch !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 180px)) !important;
  justify-content: start !important;
}

.event-registration-container.pa-submission-page .pa-category-card {
  align-items: center !important;
  background: var(--pa-surface, #ffffff) !important;
  border-color: var(--pa-submit-line) !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 24px rgba(31, 26, 22, 0.04) !important;
  font-size: 15px !important;
  gap: 10px !important;
  justify-content: flex-start !important;
  min-height: 68px !important;
  padding: 14px 16px !important;
  position: relative !important;
  text-align: left !important;
}

.event-registration-container.pa-submission-page .pa-category-card::before {
  border: 1.5px solid color-mix(in srgb, var(--pa-text-soft, #6f665d) 58%, transparent) !important;
  border-radius: 50% !important;
  content: "" !important;
  flex: 0 0 18px !important;
  height: 18px !important;
  width: 18px !important;
}

.event-registration-container.pa-submission-page .pa-category-card span {
  color: var(--pa-text, #1f1a16) !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

.event-registration-container.pa-submission-page .pa-category-card:hover,
.event-registration-container.pa-submission-page .pa-category-card.is-selected {
  background: color-mix(in srgb, var(--pa-accent-soft, #f7eacf) 44%, var(--pa-surface, #ffffff)) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 66%, var(--pa-border, #e4d8c8)) !important;
  box-shadow: 0 14px 30px rgba(31, 26, 22, 0.08) !important;
  transform: translateY(-1px) !important;
}

.event-registration-container.pa-submission-page .pa-category-card.is-selected::before {
  background: var(--pa-accent, #c8911f) !important;
  border-color: var(--pa-accent, #c8911f) !important;
  box-shadow: inset 0 0 0 4px var(--pa-surface, #ffffff) !important;
}

.event-registration-container.pa-submission-page .pa-category-help-note,
.event-registration-container.pa-submission-page .pa-category-summary-note {
  background: var(--pa-submit-panel-soft) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 18%, var(--pa-border, #e4d8c8)) !important;
  color: var(--pa-submit-muted) !important;
  font-size: 14px !important;
  margin-top: 16px !important;
}

.event-registration-container.pa-submission-page .pa-category-summary {
  align-self: start !important;
  background: var(--pa-surface, #ffffff) !important;
  border-color: var(--pa-submit-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 34px rgba(31, 26, 22, 0.06) !important;
  min-height: 210px !important;
  padding: 20px !important;
}

.event-registration-container.pa-submission-page .pa-category-summary h3 {
  font-family: var(--pa-font-accent) !important;
  font-size: 14px !important;
  letter-spacing: 0.085em !important;
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
}

.event-registration-container.pa-submission-page .pa-category-empty {
  color: var(--pa-submit-muted) !important;
  font-size: 15px !important;
}

.event-registration-container.pa-submission-page .pa-category-summary-totals {
  color: var(--pa-submit-muted) !important;
  font-size: 18px !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
}

.event-registration-container.pa-submission-page .pa-category-summary-totals strong {
  color: var(--pa-text, #1f1a16) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
}

.event-registration-container.pa-submission-page .pa-selected-chip-row {
  background: var(--pa-submit-panel-soft) !important;
  border: 1px solid var(--pa-submit-line) !important;
  border-radius: 14px !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
  padding: 14px !important;
}

.event-registration-container.pa-submission-page .pa-selected-chip-row span {
  color: var(--pa-text, #1f1a16) !important;
  font-family: var(--pa-font-accent) !important;
  font-size: 12px !important;
}

.event-registration-container.pa-submission-page .pa-selected-chip {
  background: var(--pa-surface, #ffffff) !important;
  border-color: var(--pa-submit-line) !important;
  border-radius: 999px !important;
  color: var(--pa-text, #1f1a16) !important;
  font-size: 13px !important;
  padding: 7px 11px !important;
}

.event-registration-container.pa-submission-page .pa-clear-category-selection {
  align-self: flex-start !important;
  background: var(--pa-surface, #ffffff) !important;
  border: 1px solid var(--pa-submit-line) !important;
  border-radius: 999px !important;
  color: var(--pa-accent, #c8911f) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 8px 13px !important;
  text-decoration: none !important;
}

.event-registration-container.pa-submission-page .pa-category-limit-row {
  background: transparent !important;
  color: var(--pa-submit-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  margin-bottom: 14px !important;
}

.event-registration-container.pa-submission-page .pa-total-selected-note,
.event-registration-container.pa-submission-page .pa-category-count {
  background: var(--pa-accent-soft, #f7eacf) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 22%, transparent) !important;
  color: var(--pa-accent, #c8911f) !important;
}

.event-registration-container.pa-submission-page .pa-category-row {
  background: var(--pa-surface, #ffffff) !important;
  border-color: var(--pa-submit-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(31, 26, 22, 0.04) !important;
  margin-bottom: 10px !important;
}

.event-registration-container.pa-submission-page .pa-category-row.has-selection {
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 50%, var(--pa-border, #e4d8c8)) !important;
}

.event-registration-container.pa-submission-page .pa-category-row-header {
  gap: 12px !important;
  grid-template-columns: 32px minmax(0, 1fr) auto auto !important;
  min-height: 58px !important;
  padding: 12px 14px !important;
}

.event-registration-container.pa-submission-page .pa-category-index {
  background: var(--pa-submit-panel-soft) !important;
  color: var(--pa-text, #1f1a16) !important;
  font-size: 13px !important;
  height: 26px !important;
  width: 26px !important;
}

.event-registration-container.pa-submission-page .pa-category-name {
  color: var(--pa-text, #1f1a16) !important;
  font-family: var(--pa-font-accent) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.event-registration-container.pa-submission-page .pa-category-toggle-text {
  color: var(--pa-submit-muted) !important;
  font-size: 13px !important;
}

.event-registration-container.pa-submission-page .pa-subcategory-grid {
  gap: 9px !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  padding: 0 14px 14px !important;
}

.event-registration-container.pa-submission-page .pa-subcategory-option {
  background: color-mix(in srgb, var(--pa-surface, #ffffff) 86%, var(--pa-bg, #faf8f2)) !important;
  border-color: var(--pa-submit-line) !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  color: var(--pa-text, #1f1a16) !important;
  font-size: 14px !important;
  font-family: var(--pa-font-accent) !important;
  font-weight: 500 !important;
  min-height: 42px !important;
  padding: 9px 12px 9px 38px !important;
}

.event-registration-container.pa-submission-page .pa-subcategory-option::before {
  border-color: color-mix(in srgb, var(--pa-text-soft, #6f665d) 60%, transparent) !important;
  height: 15px !important;
  left: 13px !important;
  width: 15px !important;
}

.event-registration-container.pa-submission-page .pa-subcategory-option.is-selected::before {
  background: var(--pa-accent, #c8911f) !important;
  border-color: var(--pa-accent, #c8911f) !important;
  box-shadow: none !important;
}

.event-registration-container.pa-submission-page .pa-subcategory-option.is-selected::after {
  color: var(--pa-accent-contrast, #17120c) !important;
  left: 17px !important;
}

.event-registration-container.pa-submission-page .pa-subcategory-option:hover,
.event-registration-container.pa-submission-page .pa-subcategory-option.is-selected {
  background: color-mix(in srgb, var(--pa-accent-soft, #f7eacf) 48%, var(--pa-surface, #ffffff)) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 50%, var(--pa-border, #e4d8c8)) !important;
}

.event-registration-container.pa-submission-page .pa-step-actions {
  border-top: 1px solid var(--pa-submit-line) !important;
  margin-top: 20px !important;
  padding-top: 16px !important;
}

.event-registration-container.pa-submission-page .pa-step-next,
.event-registration-container.pa-submission-page .pa-step-prev {
  font-size: 14px !important;
  min-height: 48px !important;
  padding: 13px 22px !important;
}

.event-registration-container.pa-submission-page .pa-step-next {
  background: var(--pa-text, #1f1a16) !important;
  border-color: var(--pa-text, #1f1a16) !important;
  color: var(--pa-surface, #ffffff) !important;
}

.event-registration-container.pa-submission-page .pa-step-prev {
  background: var(--pa-surface, #ffffff) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #1f1a16) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page,
body.pa-mode-dark .event-registration-container.pa-submission-page {
  --pa-submit-panel: color-mix(in srgb, var(--pa-surface, #111216) 88%, var(--pa-bg, #0b0b0d));
  --pa-submit-panel-soft: color-mix(in srgb, var(--pa-surface-soft, #17181d) 82%, var(--pa-surface, #111216));
  --pa-submit-line: color-mix(in srgb, var(--pa-border, #2a2725) 82%, transparent);
  --pa-submit-muted: var(--pa-text-soft, #aaa39a);
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .event-title,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-step-panel-header h2,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .field-topics-container > label,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-card span,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary h3,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary-heading strong,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary-totals strong,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-name,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-subcategory-option,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .price-value,
body.pa-mode-dark .event-registration-container.pa-submission-page .event-title,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-step-panel-header h2,
body.pa-mode-dark .event-registration-container.pa-submission-page .field-topics-container > label,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-card span,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary h3,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary-heading strong,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary-totals strong,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-name,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-subcategory-option,
body.pa-mode-dark .event-registration-container.pa-submission-page .price-value {
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .event-subtitle,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-step-panel-header p,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-empty,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary-totals,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-limit-row,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-toggle-text,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-help-note,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary-note,
body.pa-mode-dark .event-registration-container.pa-submission-page .event-subtitle,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-step-panel-header p,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-empty,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary-totals,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-limit-row,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-toggle-text,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-help-note,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary-note {
  color: var(--pa-submit-muted, #aaa39a) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-theme-toggle,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-dashboard-link,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-theme-toggle,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-dashboard-link {
  background: color-mix(in srgb, var(--pa-surface, #111216) 88%, transparent) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-theme-toggle:hover,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-dashboard-link:hover,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-dashboard-link:focus-visible,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-theme-toggle:hover,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-dashboard-link:hover,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-dashboard-link:focus-visible {
  background: color-mix(in srgb, var(--pa-accent, #d4a133) 18%, var(--pa-surface, #111216)) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #d4a133) 64%, transparent) !important;
  color: var(--pa-accent, #d4a133) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .field.field-topics,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-row,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-card,
body.pa-mode-dark .event-registration-container.pa-submission-page .field.field-topics,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-row,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-card {
  background: var(--pa-submit-panel) !important;
  border-color: var(--pa-submit-line) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .field-topics-price-container,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-selected-chip-row,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-help-note,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary-note,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-index,
body.pa-mode-dark .event-registration-container.pa-submission-page .field-topics-price-container,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-selected-chip-row,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-help-note,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary-note,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-index {
  background: var(--pa-submit-panel-soft) !important;
  border-color: var(--pa-submit-line) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-subcategory-option,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-subcategory-option {
  background: color-mix(in srgb, var(--pa-surface, #111216) 78%, var(--pa-bg, #0b0b0d)) !important;
  border-color: var(--pa-submit-line) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form .pa-category-search,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form .pa-category-search {
  background: var(--pa-submit-panel) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-steps,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-steps {
  background: var(--pa-submit-panel) !important;
  border-color: var(--pa-submit-line) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-step,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-step {
  border-color: var(--pa-submit-line) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-step:hover,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-step:hover {
  background: var(--pa-submit-panel-soft) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-step.is-active,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-step.is-active {
  background: color-mix(in srgb, var(--pa-accent, #c8911f) 18%, var(--pa-submit-panel)) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-step strong,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-step strong {
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-step span,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-step span {
  background: var(--pa-submit-panel-soft) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-step.is-active span,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-step.is-active span {
  background: var(--pa-accent, #c8911f) !important;
  border-color: var(--pa-accent, #c8911f) !important;
  color: var(--pa-accent-contrast, #17120c) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-submission-step.is-complete span,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-submission-step.is-complete span {
  background: var(--pa-text, #f6f2ea) !important;
  border-color: var(--pa-text, #f6f2ea) !important;
  color: var(--pa-bg, #0b0b0d) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form.pa-submission-form,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form.pa-submission-form {
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form .field,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .ui.radio.checkbox,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .ui.checkbox.topic-checkbox,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form .field,
body.pa-mode-dark .event-registration-container.pa-submission-page .ui.radio.checkbox,
body.pa-mode-dark .event-registration-container.pa-submission-page .ui.checkbox.topic-checkbox {
  background: var(--pa-submit-panel) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .ui.radio.checkbox:hover,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .ui.checkbox.topic-checkbox:hover,
body.pa-mode-dark .event-registration-container.pa-submission-page .ui.radio.checkbox:hover,
body.pa-mode-dark .event-registration-container.pa-submission-page .ui.checkbox.topic-checkbox:hover {
  background: var(--pa-submit-panel-soft) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 48%, var(--pa-submit-line)) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form .field > label,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form .field label,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .ui.radio.checkbox label,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .ui.checkbox.topic-checkbox label,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .entry-type-info p,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .entry-type-info strong,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form .field > label,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form .field label,
body.pa-mode-dark .event-registration-container.pa-submission-page .ui.radio.checkbox label,
body.pa-mode-dark .event-registration-container.pa-submission-page .ui.checkbox.topic-checkbox label,
body.pa-mode-dark .event-registration-container.pa-submission-page .entry-type-info p,
body.pa-mode-dark .event-registration-container.pa-submission-page .entry-type-info strong {
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .entry-type-info,
body.pa-mode-dark .event-registration-container.pa-submission-page .entry-type-info {
  background: var(--pa-submit-panel-soft) !important;
  border-left-color: var(--pa-accent, #c8911f) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form input[type="text"],
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form input[type="email"],
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form input[type="url"],
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form input[type="number"],
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form select,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form textarea,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form input[type="text"],
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form input[type="email"],
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form input[type="url"],
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form input[type="number"],
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form select,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form textarea {
  background: var(--pa-submit-panel-soft) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form input::placeholder,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #event-registration-form textarea::placeholder,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form input::placeholder,
body.pa-mode-dark .event-registration-container.pa-submission-page #event-registration-form textarea::placeholder {
  color: color-mix(in srgb, var(--pa-submit-muted, #aaa39a) 74%, transparent) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-step-prev,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-step-prev {
  background: var(--pa-submit-panel-soft) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-step-next,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-step-next {
  background: var(--pa-text, #f6f2ea) !important;
  border-color: var(--pa-text, #f6f2ea) !important;
  color: var(--pa-bg, #0b0b0d) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-selected-chip,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-clear-category-selection,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-selected-chip,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-clear-category-selection {
  background: var(--pa-submit-panel) !important;
  border-color: var(--pa-submit-line) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-selected-chip-row,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-selected-chip-row span,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary h3,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-summary-totals,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-selected-chip-row,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-selected-chip-row span,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary h3,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-summary-totals {
  border-color: var(--pa-submit-line) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-selected-chip-row,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-selected-chip-row span,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-selected-chip-row,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-selected-chip-row span {
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-payment-review,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-payment-review {
  background: var(--pa-submit-panel) !important;
  border-color: var(--pa-submit-line) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-payment-review strong,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-payment-review strong {
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-payment-review span,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-payment-review p,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-payment-review span,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-payment-review p {
  color: var(--pa-submit-muted, #aaa39a) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page #submit-entry.ui.button.primary,
body.pa-mode-dark .event-registration-container.pa-submission-page #submit-entry.ui.button.primary {
  background: var(--pa-text, #f6f2ea) !important;
  border-color: var(--pa-text, #f6f2ea) !important;
  color: var(--pa-bg, #0b0b0d) !important;
}

html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-card:hover,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-category-card.is-selected,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-subcategory-option:hover,
html[data-pa-mode="dark"] .event-registration-container.pa-submission-page .pa-subcategory-option.is-selected,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-card:hover,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-category-card.is-selected,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-subcategory-option:hover,
body.pa-mode-dark .event-registration-container.pa-submission-page .pa-subcategory-option.is-selected {
  background: color-mix(in srgb, var(--pa-accent, #c8911f) 20%, var(--pa-submit-panel)) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 62%, var(--pa-submit-line)) !important;
}

@media (max-width: 900px) {
  .event-registration-container.pa-submission-page .pa-category-picker-layout {
    grid-template-columns: 1fr !important;
  }

  .event-registration-container.pa-submission-page .pa-simple-category-grid,
  .event-registration-container.pa-submission-page .pa-subcategory-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .event-registration-container.pa-submission-page .pa-submission-step {
    min-height: 58px !important;
  }

  .event-registration-container.pa-submission-page .pa-step-panel-header h2 {
    font-size: 40px !important;
  }

  .event-registration-container.pa-submission-page .field-topics-container,
  .event-registration-container.pa-submission-page .pa-selected-chip-row,
  .event-registration-container.pa-submission-page .pa-category-limit-row,
  .event-registration-container.pa-submission-page .pa-step-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .event-registration-container.pa-submission-page .pa-category-search-wrap {
    max-width: none !important;
  }

  .event-registration-container.pa-submission-page .pa-simple-category-grid,
  .event-registration-container.pa-submission-page .pa-subcategory-grid {
    grid-template-columns: 1fr !important;
  }

  .event-registration-container.pa-submission-page .pa-category-row-header {
    grid-template-columns: 30px minmax(0, 1fr) !important;
  }

  .event-registration-container.pa-submission-page .pa-category-count,
  .event-registration-container.pa-submission-page .pa-category-toggle-text {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  .event-registration-container.pa-submission-page .pa-submission-hero-top {
    align-items: center !important;
  }

  .event-registration-container.pa-submission-page .pa-submission-hero-actions {
    justify-content: flex-start !important;
    width: 100% !important;
  }
}

.pa-global-account,
.pa-global-account * {
  box-sizing: border-box;
}

.pa-global-account {
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  position: fixed;
  z-index: 9998;
  font-family: var(--pa-font-body, Jost, sans-serif);
}

.pa-global-theme-toggle {
  background: color-mix(in srgb, var(--pa-card-bg, #fff) 92%, transparent) !important;
  box-shadow: 0 12px 30px rgba(28, 20, 10, .12) !important;
  margin: 0 0 8px !important;
}

.pa-global-account-toggle {
  align-items: center;
  background: color-mix(in srgb, var(--pa-card-bg, #fff) 92%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--pa-accent, #c8911f) 34%, var(--pa-border, rgba(34,28,19,.14))) !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 40px rgba(28, 20, 10, .14) !important;
  color: var(--pa-text, #171512) !important;
  cursor: pointer;
  display: inline-flex;
  gap: 9px;
  min-height: 42px;
  padding: 4px 12px 4px 5px !important;
}

.pa-global-account-avatar {
  align-items: center;
  background: linear-gradient(135deg, #e2af49, #b8740a);
  border-radius: 50%;
  color: #0f0d09;
  display: inline-flex;
  flex: 0 0 32px;
  font-size: 14px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  overflow: hidden;
  width: 32px;
}

.pa-global-account-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.pa-global-account-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.pa-global-account-chevron {
  color: var(--pa-muted, #746f67);
  font-size: 15px;
  line-height: 1;
  transition: transform .18s ease;
}

.pa-global-account.is-open .pa-global-account-chevron {
  transform: rotate(180deg);
}

.pa-global-account-panel {
  background: color-mix(in srgb, var(--pa-card-bg, #fff) 96%, transparent);
  border: 1px solid var(--pa-border, rgba(34,28,19,.14));
  border-radius: 14px;
  bottom: calc(100% + 10px);
  box-shadow: 0 22px 54px rgba(28, 20, 10, .18);
  display: none;
  gap: 5px;
  left: 0;
  min-width: 190px;
  padding: 10px;
  position: absolute;
}

.pa-global-account.is-open .pa-global-account-panel {
  display: grid;
}

.pa-global-account-identity {
  border-bottom: 1px solid color-mix(in srgb, var(--pa-border, rgba(34,28,19,.14)) 82%, transparent);
  display: grid;
  gap: 3px;
  margin: 0 0 5px;
  padding: 7px 8px 11px;
}

.pa-global-account-identity span {
  color: var(--pa-text-soft, #746f67);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.pa-global-account-identity strong {
  color: var(--pa-text, #171512);
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pa-global-account-panel a {
  border-radius: 10px;
  color: var(--pa-text, #171512) !important;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  padding: 9px 10px;
  text-decoration: none !important;
}

.pa-global-account-panel a:hover,
.pa-global-account-panel a:focus-visible {
  background: var(--pa-accent-soft, rgba(201,137,25,.1));
  color: var(--pa-accent, #c8911f) !important;
}

html[data-pa-mode="dark"] .pa-global-account-toggle,
html[data-pa-mode="dark"] .pa-global-theme-toggle,
body.pa-mode-dark .pa-global-account-toggle,
body.pa-mode-dark .pa-global-theme-toggle,
html[data-pa-mode="dark"] .pa-global-account-panel,
body.pa-mode-dark .pa-global-account-panel {
  background: color-mix(in srgb, var(--pa-card-bg, #151311) 94%, transparent) !important;
  border-color: color-mix(in srgb, var(--pa-accent, #c8911f) 40%, var(--pa-border, rgba(255,255,255,.14))) !important;
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] .pa-global-account-identity,
body.pa-mode-dark .pa-global-account-identity {
  border-bottom-color: rgba(214, 161, 47, 0.22);
}

html[data-pa-mode="dark"] .pa-global-account-identity span,
body.pa-mode-dark .pa-global-account-identity span {
  color: rgba(247, 241, 232, 0.58) !important;
}

html[data-pa-mode="dark"] .pa-global-account-identity strong,
body.pa-mode-dark .pa-global-account-identity strong {
  color: #f7f1e8 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .profile-user-info,
body[class*="pa-theme-"].pa-mode-dark .profile-user-info {
  color: var(--pa-text, #f6f2ea) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .profile-user-info h3,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-dashboard-user strong,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-account-summary strong,
body[class*="pa-theme-"].pa-mode-dark .profile-user-info h3,
body[class*="pa-theme-"].pa-mode-dark .pa-dashboard-user strong,
body[class*="pa-theme-"].pa-mode-dark .pa-account-summary strong {
  color: #f7f1e8 !important;
  opacity: 1 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .profile-user-info p,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-dashboard-user small,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-account-summary small,
body[class*="pa-theme-"].pa-mode-dark .profile-user-info p,
body[class*="pa-theme-"].pa-mode-dark .pa-dashboard-user small,
body[class*="pa-theme-"].pa-mode-dark .pa-account-summary small {
  color: rgba(247, 241, 232, 0.72) !important;
  opacity: 1 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-account-menu-panel,
body[class*="pa-theme-"].pa-mode-dark .pa-account-menu-panel {
  background: #15130f !important;
  border-color: rgba(214, 161, 47, 0.28) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .pa-account-menu-panel a,
body[class*="pa-theme-"].pa-mode-dark .pa-account-menu-panel a {
  color: #f7f1e8 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-stat-card,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-stat-card {
  background: linear-gradient(145deg, rgba(26, 24, 21, 0.98), rgba(14, 13, 12, 0.98)) !important;
  border-color: rgba(214, 161, 47, 0.22) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28) !important;
  color: #f7f1e8 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-stat-card h2,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-stat-card h2 {
  color: #f7f1e8 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-stat-card p,
html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-stat-card .wallet-balance-amount,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-stat-card p,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-stat-card .wallet-balance-amount {
  color: #f7f1e8 !important;
  opacity: 1 !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-stat-card small,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-stat-card small {
  color: rgba(247, 241, 232, 0.72) !important;
}

html[data-pa-mode="dark"] body[class*="pa-theme-"] .dashboard-page .pa-stat-card a,
body[class*="pa-theme-"].pa-mode-dark .dashboard-page .pa-stat-card a {
  color: var(--pa-accent-2, #d9a441) !important;
}

body.photo-award-public-profile-page .pa-global-account,
body.photo-award-public-interview-page .pa-global-account,
body.single-event .pa-global-account,
body.single-entry .pa-global-account,
body.photo-award-entry-edit-route .pa-global-account {
  display: none !important;
}

body.photo-award-public-profile-page {
  --pa-bg: #fbfaf7 !important;
  --pa-surface: #ffffff !important;
  --pa-surface-soft: #f7f2eb !important;
  --pa-surface-alt: #f4eadb !important;
  --pa-text: #171512 !important;
  --pa-text-soft: #77716a !important;
  --pa-border: rgba(40, 32, 22, 0.12) !important;
  --pa-border-strong: rgba(40, 32, 22, 0.22) !important;
  --pa-accent: #c98919 !important;
  --pa-accent-2: #d9a441 !important;
  --pa-accent-soft: #f7efe1 !important;
  --pa-accent-contrast: #ffffff !important;
  --pa-shadow: 0 18px 50px rgba(38, 28, 18, 0.07) !important;
  --pa-shadow-soft: 0 12px 34px rgba(41, 32, 18, 0.06) !important;
  background: #fbfaf7 !important;
  color: #171512 !important;
}

body.photo-award-public-profile-page .pa-public-profile-shell {
  --pa-ivory: #fbfaf7;
  --pa-card: #ffffff;
  --pa-ink: #171512;
  --pa-muted: #77716a;
  --pa-line: rgba(40, 32, 22, 0.12);
  --pa-gold: #c98919;
  --pa-soft-gold: #f7efe1;
  background: #fbfaf7 !important;
  color: #171512 !important;
}

body[class*="pa-theme-"].photo-award-public-profile-page .pa-public-profile-card,
body[class*="pa-theme-"].photo-award-public-profile-page .pa-public-profile-stats,
body.photo-award-public-profile-page .pa-public-profile-card,
body.photo-award-public-profile-page .pa-public-profile-stats {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(40, 32, 22, 0.12) !important;
  color: #171512 !important;
  box-shadow: 0 18px 50px rgba(38, 28, 18, 0.07) !important;
}

body.photo-award-public-profile-page .pa-public-profile-card h2,
body.photo-award-public-profile-page .pa-public-profile-card h3,
body.photo-award-public-profile-page .pa-public-profile-card dd,
body.photo-award-public-profile-page .pa-public-profile-stats strong {
  color: #171512 !important;
}

body.photo-award-public-profile-page .pa-public-profile-card p,
body.photo-award-public-profile-page .pa-public-profile-card dt,
body.photo-award-public-profile-page .pa-public-profile-card small,
body.photo-award-public-profile-page .pa-public-profile-stats span,
body.photo-award-public-profile-page .pa-public-section-heading span {
  color: #77716a !important;
}

body.photo-award-public-profile-page .pa-public-profile-stats strong small {
  color: #77716a !important;
}

body.photo-award-public-profile-page .pa-public-work-card,
body.photo-award-public-profile-page .pa-public-badge-card,
body.photo-award-public-profile-page .pa-public-gallery-grid a {
  background: #ffffff !important;
  border-color: rgba(40, 32, 22, 0.1) !important;
  color: #171512 !important;
}

body.photo-award-public-profile-page .pa-public-profile-main-card {
  grid-column: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  body.photo-award-public-profile-page .pa-public-profile-main-card {
    grid-column: 1;
  }

}

@media (max-width: 640px) {
  .pa-global-account {
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
  }

  .pa-global-theme-toggle {
    margin-bottom: 7px !important;
  }

  .pa-global-account-label {
    display: none;
  }

  .pa-global-account-toggle {
    min-height: 40px;
    padding-right: 9px !important;
  }
}

/* Premium dedicated login/register page */
body.pa-login-page-template {
  background: #fbfaf7 !important;
  overflow-x: hidden !important;
}

body.pa-login-page-template > .wp-site-blocks > header,
body.pa-login-page-template > .wp-site-blocks > footer,
body.pa-login-page-template .wp-block-post-title,
body.pa-login-page-template .wp-block-query-title {
  display: none !important;
}

body.pa-login-page-template .wp-site-blocks,
body.pa-login-page-template main,
body.pa-login-page-template .wp-block-group,
body.pa-login-page-template .wp-block-post-content,
body.pa-login-page-template .entry-content {
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

body.pa-login-page-template .has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.pa-login-page-template .alignfull {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.pa-login-page-template .wp-block-post-content > .pa-login-page-wrap {
  margin-top: 0 !important;
}

.pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium {
  --pa-login-bg: #fbfaf7;
  --pa-login-card: #fffdfa;
  --pa-login-ink: #171512;
  --pa-login-muted: #706b63;
  --pa-login-line: rgba(30, 26, 20, 0.14);
  --pa-login-field: rgba(255, 255, 255, 0.9);
  width: 100vw !important;
  min-height: 100vh !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: clamp(28px, 4vw, 54px) clamp(22px, 4vw, 58px) !important;
  background: radial-gradient(circle at 74% 12%, rgba(198, 155, 82, 0.08), transparent 30%), var(--pa-login-bg) !important;
  color: var(--pa-login-ink) !important;
  font-family: var(--pa-font-body, "Jost", sans-serif) !important;
  position: relative !important;
  overflow-x: hidden !important;
}

.pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium * {
  box-sizing: border-box !important;
}

.pa-auth-page-premium.pa-auth-theme-dark,
.pa-auth-page-premium.pa-auth-layout-dark-museum {
  --pa-login-bg: #070707;
  --pa-login-card: rgba(20, 21, 21, 0.88);
  --pa-login-ink: #f7f3eb;
  --pa-login-muted: rgba(247, 243, 235, 0.68);
  --pa-login-line: rgba(255, 255, 255, 0.18);
  --pa-login-field: rgba(255, 255, 255, 0.035);
  background: radial-gradient(circle at 76% 0%, rgba(198, 155, 82, 0.13), transparent 28%), linear-gradient(120deg, #050505, #121314 54%, #070707) !important;
}

.pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium.pa-auth-theme-dark,
.pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium.pa-auth-layout-dark-museum {
  --pa-login-bg: #070707;
  --pa-login-card: rgba(20, 21, 21, 0.88);
  --pa-login-ink: #f7f3eb;
  --pa-login-muted: rgba(247, 243, 235, 0.68);
  --pa-login-line: rgba(255, 255, 255, 0.18);
  --pa-login-field: rgba(255, 255, 255, 0.035);
  background: radial-gradient(circle at 76% 0%, rgba(198, 155, 82, 0.13), transparent 28%), linear-gradient(120deg, #050505, #121314 54%, #070707) !important;
}

.pa-auth-page-premium.pa-auth-theme-auto {
  color-scheme: light dark;
}

.pa-auth-page-premium .pa-auth-page-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  max-width: 1680px !important;
  margin: 0 auto clamp(30px, 5vw, 70px) !important;
}

.pa-auth-page-premium .pa-auth-page-logo {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 46px !important;
}

.pa-auth-page-premium .pa-auth-page-logo img {
  display: block !important;
  width: auto !important;
  max-width: min(260px, 52vw) !important;
  max-height: 58px !important;
  object-fit: contain !important;
}

.pa-auth-page-premium .pa-auth-page-logo strong {
  color: var(--pa-login-ink) !important;
  font-family: var(--pa-font-heading, "Italiana", serif) !important;
  font-size: clamp(22px, 2.4vw, 34px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.pa-auth-page-premium .pa-auth-page-tagline,
.pa-auth-page-premium .pa-auth-kicker,
.pa-auth-page-premium .pa-auth-brand {
  color: var(--pa-login-accent) !important;
  font-family: var(--pa-font-accent, "Didact Gothic", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.pa-auth-page-premium .pa-login-page-inner {
  display: grid !important;
  grid-template-columns: minmax(300px, 0.42fr) minmax(720px, 1fr) !important;
  gap: clamp(34px, 5vw, 76px) !important;
  align-items: stretch !important;
  max-width: 1680px !important;
  min-height: min(760px, calc(100vh - 160px)) !important;
  margin: 0 auto !important;
}

.pa-auth-page-premium.pa-auth-no-visual .pa-login-page-inner {
  grid-template-columns: 1fr !important;
  max-width: 1180px !important;
}

.pa-auth-page-premium .pa-auth-visual {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 680px !important;
  padding: clamp(34px, 5vw, 70px) !important;
  border: 1px solid var(--pa-login-line) !important;
  border-radius: 0 !important;
  background-image: linear-gradient(180deg, rgba(251, 250, 247, 0.7), rgba(20, 20, 20, 0.72)), var(--pa-login-hero-image, radial-gradient(circle at 60% 42%, rgba(255, 255, 255, 0.46), transparent 16%), linear-gradient(135deg, #efebe2, #b8b0a4)) !important;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden !important;
  position: relative !important;
}

.pa-auth-page-premium.pa-auth-layout-dark-museum .pa-auth-visual,
.pa-auth-page-premium.pa-auth-theme-dark .pa-auth-visual {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.82)), var(--pa-login-hero-image, linear-gradient(90deg, #090909, #1f1f1f 48%, #090909)) !important;
}

.pa-auth-page-premium .pa-auth-visual::after {
  content: "";
  position: absolute !important;
  inset: auto 0 0 !important;
  height: 42% !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.58)) !important;
  pointer-events: none !important;
}

.pa-auth-page-premium .pa-auth-visual-content,
.pa-auth-page-premium .pa-auth-visual-note {
  position: relative !important;
  z-index: 1 !important;
}

.pa-auth-page-premium .pa-auth-visual h1 {
  max-width: 520px !important;
  margin: clamp(38px, 8vw, 96px) 0 22px !important;
  color: var(--pa-login-ink) !important;
  font-family: var(--pa-font-heading, "Italiana", serif) !important;
  font-size: clamp(44px, 5.8vw, 76px) !important;
  font-weight: 400 !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

.pa-auth-page-premium .pa-auth-visual h1::after {
  content: "";
  display: block !important;
  width: 48px !important;
  height: 2px !important;
  margin-top: 28px !important;
  background: var(--pa-login-accent) !important;
}

.pa-auth-page-premium .pa-auth-visual p {
  max-width: 440px !important;
  margin: 0 !important;
  color: var(--pa-login-muted) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

.pa-auth-page-premium .pa-auth-visual-note {
  display: grid !important;
  gap: 12px !important;
  color: #fff !important;
}

.pa-auth-page-premium .pa-auth-visual-note span {
  color: var(--pa-login-accent) !important;
  font-size: 30px !important;
}

.pa-auth-page-premium .pa-auth-visual-note p {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 15px !important;
  letter-spacing: 0.04em !important;
}

.pa-auth-page-premium .pa-auth-forms-panel {
  align-self: center !important;
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
}

.pa-auth-page-premium .pa-auth-page-primary-grid {
  display: grid !important;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.08fr) !important;
  gap: clamp(26px, 4vw, 54px) !important;
  align-items: start !important;
}

.pa-auth-page-premium .pa-auth-page-primary-grid:not(.is-visible),
.pa-auth-page-premium .pa-page-auth-form:not(.is-visible) {
  display: none !important;
}

.pa-auth-page-premium .pa-auth-page-primary-grid.is-visible {
  display: grid !important;
}

.pa-auth-page-premium .pa-page-step-form.is-visible {
  display: block !important;
}

.pa-auth-page-premium .pa-page-primary-form,
.pa-auth-page-premium .pa-page-step-form {
  width: 100% !important;
  padding: clamp(28px, 4vw, 54px) !important;
  border: 1px solid var(--pa-login-line) !important;
  border-radius: 8px !important;
  background: var(--pa-login-card) !important;
  box-shadow: none !important;
}

.pa-auth-page-premium.pa-auth-layout-editorial-split .pa-page-primary-form {
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
}

.pa-auth-page-premium .pa-page-step-form {
  max-width: 560px !important;
  margin: 0 auto !important;
}

.pa-auth-page-premium .auth-form-header {
  margin: 0 0 clamp(24px, 4vw, 44px) !important;
  text-align: left !important;
}

.pa-auth-page-premium .auth-form-header h2,
.pa-auth-page-premium h2 {
  margin: 10px 0 0 !important;
  color: var(--pa-login-ink) !important;
  font-family: var(--pa-font-heading, "Italiana", serif) !important;
  font-size: clamp(32px, 3vw, 46px) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
}

.pa-auth-page-premium .auth-form-header p,
.pa-auth-page-premium .auth-registration-note {
  max-width: 520px !important;
  margin: 16px 0 0 !important;
  color: var(--pa-login-muted) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

.pa-auth-page-premium .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.pa-auth-page-premium .form-group {
  margin: 0 0 22px !important;
}

.pa-auth-page-premium label {
  margin-bottom: 9px !important;
  color: var(--pa-login-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.pa-auth-page-premium input[type="text"],
.pa-auth-page-premium input[type="email"],
.pa-auth-page-premium input[type="password"],
.pa-auth-page-premium input[type="search"],
.pa-auth-page-premium select,
.pa-auth-page-premium textarea {
  min-height: 58px !important;
  padding: 0 18px !important;
  border: 1px solid var(--pa-login-line) !important;
  border-radius: 7px !important;
  background: var(--pa-login-field) !important;
  color: var(--pa-login-ink) !important;
  font-size: 15px !important;
}

.pa-auth-page-premium input::placeholder,
.pa-auth-page-premium textarea::placeholder {
  color: color-mix(in srgb, var(--pa-login-muted), transparent 18%) !important;
}

.pa-auth-page-premium input:focus,
.pa-auth-page-premium select:focus,
.pa-auth-page-premium textarea:focus {
  border-color: var(--pa-login-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pa-login-accent), transparent 78%) !important;
}

.pa-auth-page-premium .checkbox-group {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

.pa-auth-page-premium .checkbox-label {
  margin: 0 !important;
  color: var(--pa-login-muted) !important;
  font-weight: 500 !important;
}

.pa-auth-page-premium .checkbox-label input[type="checkbox"] {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: var(--pa-login-accent) !important;
}

.pa-auth-page-premium .checkmark {
  display: none !important;
}

.pa-auth-page-premium .btn-primary,
.pa-auth-page-premium .btn-outline,
.pa-auth-page-premium .btn-link {
  min-height: 58px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.pa-auth-page-premium #login-btn {
  background: #171717 !important;
  border-color: #171717 !important;
  color: var(--pa-login-accent) !important;
}

.pa-auth-page-premium #register-btn,
.pa-auth-page-premium #verify-otp-btn,
.pa-auth-page-premium #forgot-btn,
.pa-auth-page-premium #verify-forgot-otp-btn,
.pa-auth-page-premium #set-password-btn {
  background: var(--pa-login-accent) !important;
  border-color: var(--pa-login-accent) !important;
  color: #12100d !important;
}

.pa-auth-page-premium .btn-link,
.pa-auth-page-premium .pa-forgot-inline {
  min-height: auto !important;
  padding: 0 !important;
  color: var(--pa-login-accent) !important;
  border: 0 !important;
  background: transparent !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.pa-auth-page-premium .auth-form-footer {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-top: 18px !important;
}

.pa-auth-page-premium .otp-input {
  text-align: center !important;
  font-size: 26px !important;
  letter-spacing: 0.32em !important;
}

.pa-auth-page-premium .auth-message {
  border-radius: 7px !important;
  background: color-mix(in srgb, var(--pa-login-accent), transparent 88%) !important;
  color: var(--pa-login-ink) !important;
}

.pa-auth-page-premium .pa-country-dropdown {
  border-color: var(--pa-login-line) !important;
  background: var(--pa-login-card) !important;
}

.pa-auth-page-premium .pa-country-option {
  color: var(--pa-login-ink) !important;
  background: var(--pa-login-card) !important;
}

.pa-auth-page-premium.pa-auth-layout-gallery-wall .pa-login-page-inner {
  grid-template-columns: 1fr !important;
}

.pa-auth-page-premium.pa-auth-layout-gallery-wall .pa-auth-visual {
  min-height: 300px !important;
}

.pa-auth-page-premium.pa-auth-layout-gallery-wall .pa-auth-page-primary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.pa-auth-page-premium.pa-auth-layout-minimal-white {
  --pa-login-bg: #fffdfa;
}

.pa-auth-page-premium.pa-auth-layout-minimal-white .pa-auth-visual {
  display: none !important;
}

.pa-auth-page-premium.pa-auth-layout-minimal-white .pa-login-page-inner {
  grid-template-columns: 1fr !important;
  max-width: 1160px !important;
}

.pa-auth-page-premium.pa-auth-signed-in {
  display: grid !important;
  place-items: start center !important;
}

.pa-auth-page-premium .pa-auth-signed-in-card {
  width: min(620px, 100%) !important;
  margin: clamp(40px, 8vw, 110px) auto 0 !important;
  padding: clamp(34px, 5vw, 64px) !important;
  border: 1px solid var(--pa-login-line) !important;
  background: var(--pa-login-card) !important;
  text-align: center !important;
}

.pa-auth-page-premium .pa-auth-signed-in-card h1 {
  margin: 12px 0 !important;
  color: var(--pa-login-ink) !important;
  font-family: var(--pa-font-heading, "Italiana", serif) !important;
  font-size: clamp(38px, 5vw, 62px) !important;
  font-weight: 400 !important;
}

.pa-auth-page-premium .pa-auth-signed-in-actions {
  display: flex !important;
  gap: 14px !important;
  justify-content: center !important;
  margin-top: 26px !important;
}

@media (max-width: 1180px) {
  .pa-auth-page-premium .pa-login-page-inner {
    grid-template-columns: 1fr !important;
  }

  .pa-auth-page-premium .pa-auth-visual {
    min-height: 360px !important;
  }

  .pa-auth-page-premium .pa-auth-page-primary-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 760px) {
  .pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium {
    padding: 20px 16px 34px !important;
  }

  .pa-auth-page-premium .pa-auth-page-top {
    display: grid !important;
    justify-items: start !important;
    margin-bottom: 24px !important;
  }

  .pa-auth-page-premium .pa-auth-page-tagline {
    font-size: 10px !important;
  }

  .pa-auth-page-premium .pa-auth-visual {
    min-height: 280px !important;
    padding: 28px !important;
  }

  .pa-auth-page-premium .pa-auth-visual h1 {
    font-size: clamp(34px, 12vw, 46px) !important;
  }

  .pa-auth-page-premium .pa-auth-page-primary-grid,
  .pa-auth-page-premium.pa-auth-layout-gallery-wall .pa-auth-page-primary-grid {
    grid-template-columns: 1fr !important;
  }

  .pa-auth-page-premium .pa-page-primary-form,
  .pa-auth-page-premium .pa-page-step-form {
    padding: 26px 18px !important;
  }

  .pa-auth-page-premium .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .pa-auth-page-premium .checkbox-group,
  .pa-auth-page-premium .pa-auth-signed-in-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }
}

/* Dedicated login page final layout: full-width, no theme card shell. */
body.pa-login-page-template {
  min-height: 100vh !important;
}

body.pa-login-page-template .pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--pa-login-bg) !important;
}

body.pa-login-page-template .pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium.pa-auth-theme-light ::selection {
  background: rgba(198, 155, 82, 0.34) !important;
  color: #171512 !important;
}

body.pa-login-page-template .pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium.pa-auth-theme-dark,
body.pa-login-page-template .pa-login-page-wrap.photo-award-auth-ui.pa-auth-page-premium.pa-auth-layout-dark-museum {
  --pa-login-bg: #151412;
  --pa-login-card: rgba(24, 23, 21, 0.94);
  --pa-login-ink: #fff8ed;
  --pa-login-muted: rgba(255, 248, 237, 0.74);
  --pa-login-line: rgba(255, 248, 237, 0.23);
  --pa-login-field: rgba(255, 255, 255, 0.075);
  background: radial-gradient(circle at 82% 10%, rgba(198, 155, 82, 0.15), transparent 30%), linear-gradient(120deg, #12110f 0%, #1b1a17 48%, #11100e 100%) !important;
}

body.pa-login-page-template .pa-auth-page-premium .pa-auth-page-top {
  position: absolute !important;
  top: clamp(24px, 3vw, 48px) !important;
  left: clamp(24px, 4vw, 64px) !important;
  right: clamp(24px, 4vw, 64px) !important;
  z-index: 4 !important;
  max-width: none !important;
  margin: 0 !important;
  pointer-events: none !important;
}

body.pa-login-page-template .pa-auth-page-premium .pa-auth-page-top > * {
  pointer-events: auto !important;
}

body.pa-login-page-template .pa-auth-page-premium .pa-login-page-inner {
  width: 100% !important;
  max-width: none !important;
  overflow-x: clip !important;
  min-height: 100vh !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 36vw) minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.pa-login-page-template .pa-auth-page-premium .pa-auth-visual {
  display: flex !important;
  min-height: 100vh !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: clamp(96px, 9vw, 150px) clamp(34px, 5vw, 76px) clamp(44px, 5vw, 78px) !important;
}

body.pa-login-page-template .pa-auth-page-premium .pa-auth-forms-panel {
  display: flex !important;
  align-items: center !important;
  min-height: 100vh !important;
  padding: clamp(96px, 8vw, 140px) clamp(44px, 7vw, 108px) clamp(54px, 6vw, 90px) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark .pa-auth-forms-panel,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum .pa-auth-forms-panel {
  background: linear-gradient(90deg, rgba(255, 248, 237, 0.025), rgba(255, 248, 237, 0.045)) !important;
}

body.pa-login-page-template .pa-auth-page-premium .pa-auth-page-primary-grid {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  grid-template-columns: minmax(280px, 0.86fr) minmax(340px, 1.14fr) !important;
  gap: clamp(34px, 5vw, 72px) !important;
  align-items: start !important;
}

body.pa-login-page-template .pa-mobile-auth-switch {
  display: none !important;
}

body.pa-login-page-template .pa-auth-page-premium .pa-page-primary-form,
body.pa-login-page-template .pa-auth-page-premium .pa-page-step-form {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.pa-login-page-template .pa-auth-page-premium #pa-page-register-form {
  padding-left: clamp(24px, 4vw, 62px) !important;
  border-left: 1px solid var(--pa-login-line) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark input[type="text"],
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark input[type="email"],
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark input[type="password"],
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark input[type="search"],
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark select,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark textarea,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum input[type="text"],
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum input[type="email"],
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum input[type="password"],
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum input[type="search"],
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum select,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum textarea {
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 248, 237, 0.25) !important;
  color: #fff8ed !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark input::placeholder,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark textarea::placeholder,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum input::placeholder,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum textarea::placeholder {
  color: rgba(255, 248, 237, 0.56) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark label,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum label {
  color: rgba(255, 248, 237, 0.82) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark .checkbox-label,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark .auth-form-header p,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark .auth-registration-note,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum .checkbox-label,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum .auth-form-header p,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum .auth-registration-note {
  color: rgba(255, 248, 237, 0.74) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark #login-btn,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum #login-btn {
  background: rgba(255, 248, 237, 0.08) !important;
  border: 1px solid rgba(255, 248, 237, 0.18) !important;
  color: #d7ac5a !important;
}

body.pa-login-page-template .pa-country-picker {
  position: relative !important;
  width: 100% !important;
}

body.pa-login-page-template .pa-country-picker .pa-country-input {
  width: 100% !important;
  padding-right: 54px !important;
  cursor: text !important;
}

body.pa-login-page-template .pa-country-picker .pa-country-toggle {
  width: 42px !important;
  height: 42px !important;
  right: 10px !important;
  color: var(--pa-login-ink) !important;
  opacity: 0.86 !important;
}

body.pa-login-page-template .pa-country-picker .pa-country-toggle span {
  display: block !important;
  font-size: 26px !important;
  line-height: 1 !important;
  transform: translateY(-2px) !important;
}

body.pa-login-page-template .pa-country-dropdown {
  max-height: 180px !important;
  overflow-y: auto !important;
  border-radius: 8px !important;
  z-index: 20 !important;
}

body.pa-login-page-template .pa-login-page-wrap.photo-award-auth-ui .pa-country-dropdown {
  max-height: 180px !important;
}

body.pa-login-page-template .pa-country-option {
  min-height: 38px !important;
  padding: 9px 14px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-light .pa-country-dropdown,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-editorial-split .pa-country-dropdown,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-minimal-white .pa-country-dropdown,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-gallery-wall .pa-country-dropdown {
  background: #fffdfa !important;
  border-color: rgba(30, 26, 20, 0.16) !important;
  box-shadow: 0 18px 36px rgba(36, 29, 20, 0.16) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-light .pa-country-option,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-editorial-split .pa-country-option,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-minimal-white .pa-country-option,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-gallery-wall .pa-country-option {
  background: #fffdfa !important;
  color: #171512 !important;
  border-bottom-color: rgba(30, 26, 20, 0.08) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-light .pa-country-option:hover,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-light .pa-country-option:focus,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-editorial-split .pa-country-option:hover,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-editorial-split .pa-country-option:focus {
  background: rgba(198, 155, 82, 0.12) !important;
  color: #171512 !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark .pa-country-dropdown,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum .pa-country-dropdown {
  background: #1f1d1a !important;
  border-color: rgba(255, 248, 237, 0.22) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark .pa-country-option,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum .pa-country-option {
  background: #1f1d1a !important;
  color: rgba(255, 248, 237, 0.9) !important;
  border-bottom-color: rgba(255, 248, 237, 0.08) !important;
}

body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark .pa-country-option:hover,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-theme-dark .pa-country-option:focus,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum .pa-country-option:hover,
body.pa-login-page-template .pa-login-page-wrap.pa-auth-layout-dark-museum .pa-country-option:focus {
  background: rgba(198, 155, 82, 0.16) !important;
  color: #fff8ed !important;
}

.pa-country-option[hidden],
#auth-modal.photo-award-auth-ui .pa-country-option[hidden],
.pa-login-page-wrap.photo-award-auth-ui .pa-country-option[hidden],
body.pa-login-page-template .pa-country-option[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  body.pa-login-page-template .pa-auth-page-premium .pa-login-page-inner {
    grid-template-columns: 1fr !important;
    min-height: 100vh !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-visual {
    display: flex !important;
    min-height: 360px !important;
    padding: 104px clamp(32px, 7vw, 72px) 46px !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-forms-panel {
    min-height: auto !important;
    padding-right: clamp(28px, 5vw, 64px) !important;
    padding-left: clamp(28px, 5vw, 64px) !important;
    padding-top: clamp(42px, 7vw, 76px) !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-page-primary-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 680px !important;
  }

  body.pa-login-page-template .pa-auth-page-premium #pa-page-register-form {
    padding: clamp(30px, 5vw, 48px) 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--pa-login-line) !important;
  }
}

@media (max-width: 820px) {
  body.pa-login-page-template .pa-auth-page-premium .pa-auth-page-top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 22px 20px 0 !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-login-page-inner {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-visual {
    display: none !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-forms-panel {
    min-height: 0 !important;
    padding: 28px 20px 42px !important;
    display: block !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-page-primary-grid {
    max-width: 620px !important;
  }

  body.pa-login-page-template .pa-mobile-auth-switch {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 auto 24px !important;
    padding: 5px !important;
    border: 1px solid var(--pa-login-line) !important;
    border-radius: 8px !important;
    background: color-mix(in srgb, var(--pa-login-field), transparent 18%) !important;
  }

  body.pa-login-page-template .pa-mobile-auth-switch button {
    min-height: 44px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: var(--pa-login-muted) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  body.pa-login-page-template .pa-mobile-auth-switch button.is-active {
    background: var(--pa-login-accent) !important;
    color: #12100d !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-page-primary-grid.is-visible {
    display: block !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-page-primary-form {
    display: none !important;
  }

  body.pa-login-page-template .pa-login-page-wrap:not(.pa-mobile-auth-register) #pa-page-login-form,
  body.pa-login-page-template .pa-login-page-wrap.pa-mobile-auth-login #pa-page-login-form,
  body.pa-login-page-template .pa-login-page-wrap.pa-mobile-auth-register #pa-page-register-form {
    display: block !important;
  }

  body.pa-login-page-template .pa-login-page-wrap:not(.pa-mobile-auth-register) #pa-page-register-form,
  body.pa-login-page-template .pa-login-page-wrap.pa-mobile-auth-login #pa-page-register-form,
  body.pa-login-page-template .pa-login-page-wrap.pa-mobile-auth-register #pa-page-login-form {
    display: none !important;
  }
}

@media (max-width: 560px) {
  body.pa-login-page-template .pa-auth-page-premium .pa-auth-page-tagline {
    display: none !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-visual {
    display: none !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .pa-auth-visual h1 {
    max-width: 340px !important;
    font-size: clamp(38px, 13vw, 58px) !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .auth-form-header h2,
  body.pa-login-page-template .pa-auth-page-premium h2 {
    font-size: clamp(34px, 11vw, 48px) !important;
  }

  body.pa-login-page-template .pa-auth-page-premium .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* Final dashboard sizing polish: keep the user area refined, centered, and consistent. */
body.photo-award-profile-page .photo-award-profile-wrapper > .container {
  max-width: none !important;
  width: 100% !important;
}

body.photo-award-profile-page .wp-site-blocks,
body.photo-award-profile-page .wp-site-blocks > main,
body.photo-award-profile-page main.wp-block-group,
body.photo-award-profile-page .entry-content,
body.photo-award-profile-page .alignfull {
  max-width: 100% !important;
  overflow-x: clip !important;
}

body.photo-award-profile-page .alignfull {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.photo-award-profile-page .photo-award-profile-container {
  grid-template-columns: minmax(220px, 252px) minmax(0, 1fr) !important;
  gap: clamp(18px, 2vw, 30px) !important;
  width: min(1360px, calc(100vw - 48px)) !important;
  max-width: 1360px !important;
  margin-inline: auto !important;
  padding: clamp(30px, 2.6vw, 42px) !important;
  overflow: visible !important;
}

body.photo-award-profile-page .profile-content,
body.photo-award-profile-page .pa-white-dashboard,
body.photo-award-profile-page .pa-white-dashboard > *,
body.photo-award-profile-page .pa-profile-topbar {
  overflow: visible !important;
}

body.photo-award-profile-page .profile-sidebar {
  min-width: 0 !important;
}

body.photo-award-profile-page .profile-nav a {
  min-height: 44px !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
}

body.photo-award-profile-page .pa-profile-topbar {
  z-index: 1000 !important;
  margin: 0 0 18px !important;
  padding: 12px 14px 0 0 !important;
}

body.photo-award-profile-page .pa-dashboard-user {
  align-items: flex-start !important;
}

body.photo-award-profile-page .pa-account-menu {
  flex: 0 1 320px !important;
  max-width: 320px !important;
  min-width: 0 !important;
  z-index: 1001 !important;
}

body.photo-award-profile-page .pa-account-menu-toggle {
  grid-template-columns: 44px minmax(0, 1fr) 16px !important;
  min-height: 50px !important;
  padding: 2px 0 !important;
}

body.photo-award-profile-page .pa-dashboard-avatar {
  width: 44px !important;
  height: 44px !important;
}

body.photo-award-profile-page .pa-account-menu-panel {
  min-width: min(280px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  overflow: visible !important;
  right: 0 !important;
  top: calc(100% + 10px) !important;
  z-index: 1002 !important;
}

body.photo-award-profile-page .pa-dashboard-hero,
body.photo-award-profile-page .pa-new-entry-hero,
body.photo-award-profile-page .pa-bundles-hero,
body.photo-award-profile-page .pa-edit-profile-v2 .pa-profile-edit-hero {
  gap: 8px !important;
  margin-bottom: 0 !important;
  padding-bottom: clamp(34px, 4vw, 58px) !important;
}

body.photo-award-profile-page .pa-dashboard-hero h1,
body.photo-award-profile-page .dashboard-header h1,
body.photo-award-profile-page .pa-dashboard-header h1,
body.photo-award-profile-page .pa-page-header h1,
body.photo-award-profile-page .profile-page-header h1,
body.photo-award-profile-page .profile-page h1,
body.photo-award-profile-page .pa-new-entry-hero h1,
body.photo-award-profile-page .pa-bundles-hero h1,
body.photo-award-profile-page .pa-edit-profile-v2 .pa-profile-edit-hero h1 {
  color: var(--pa-ink, var(--pa-text, #171512)) !important;
  font-family: var(--pa-font-display, "Italiana", Georgia, serif) !important;
  font-size: clamp(38px, 3.8vw, 58px) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
}

body.photo-award-profile-page .pa-dashboard-hero p,
body.photo-award-profile-page .pa-new-entry-hero p,
body.photo-award-profile-page .pa-bundles-hero p,
body.photo-award-profile-page .pa-edit-profile-v2 .pa-profile-edit-hero p {
  max-width: 760px !important;
  font-size: clamp(14px, 1.15vw, 16px) !important;
  line-height: 1.55 !important;
}

body.photo-award-profile-page .pa-awards-empty h2,
body.photo-award-profile-page .pa-interview-empty-card h2,
body.photo-award-profile-page .pa-empty-state h2,
body.photo-award-profile-page .pa-profile-form-card h2,
body.photo-award-profile-page .pa-profile-summary-card h2 {
  font-family: var(--pa-font-display, "Italiana", Georgia, serif) !important;
  font-size: clamp(28px, 2.8vw, 44px) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
}

body.photo-award-profile-page .pa-awards-empty,
body.photo-award-profile-page .pa-interview-empty-card {
  padding: clamp(36px, 4.4vw, 64px) clamp(24px, 4vw, 48px) !important;
}

body.single-event .event-registration-container.pa-submission-page,
body.photo-award-entry-edit-route .event-registration-container.pa-submission-page {
  width: min(1120px, calc(100vw - 48px)) !important;
  max-width: 1120px !important;
}

body.single-event .pa-submission-page .event-title,
body.photo-award-entry-edit-route .pa-submission-page .event-title {
  font-family: var(--pa-font-display, "Italiana", Georgia, serif) !important;
  font-size: clamp(38px, 4vw, 58px) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

body.single-event .pa-step-panel-header h2,
body.photo-award-entry-edit-route .pa-step-panel-header h2 {
  font-family: var(--pa-font-display, "Italiana", Georgia, serif) !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
}

body.photo-award-public-profile-page .pa-public-profile-hero {
  align-items: center !important;
  min-height: clamp(430px, 35vw, 520px) !important;
}

body.photo-award-public-profile-page .pa-public-profile-hero-content {
  padding-top: clamp(58px, 5vw, 78px) !important;
  padding-bottom: clamp(58px, 5vw, 78px) !important;
}

body.photo-award-public-profile-page .pa-public-profile-hero h1 {
  font-size: clamp(38px, 4.8vw, 64px) !important;
  line-height: 1.02 !important;
}

body.photo-award-public-profile-page .pa-public-profile-name {
  max-width: min(100%, 760px) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.photo-award-public-profile-page .pa-public-profile-content {
  width: min(1120px, calc(100% - 40px)) !important;
}

body.photo-award-public-profile-page .pa-public-profile-grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) !important;
  gap: 24px !important;
}

body.photo-award-public-profile-page .pa-public-profile-sidebar {
  grid-column: 1 !important;
}

body.photo-award-public-profile-page .pa-public-profile-side-card {
  position: sticky;
  top: 24px;
}

body.photo-award-public-profile-page .pa-public-profile-side-card h2 {
  font-size: 24px !important;
}

body.photo-award-public-profile-page .pa-public-profile-side-card dl {
  gap: 14px !important;
  margin: 0 !important;
}

body.photo-award-public-profile-page .pa-public-profile-links {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(40, 32, 22, 0.12);
}

body.photo-award-public-profile-page .pa-public-profile-links h3 {
  margin: 0 0 2px !important;
  font-family: var(--pa-font-body, "Jost", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.photo-award-public-profile-page .pa-public-profile-links a {
  align-items: center;
  border: 1px solid rgba(40, 32, 22, 0.1);
  border-radius: 999px;
  color: #171512 !important;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}

body.photo-award-public-profile-page .pa-public-profile-links a:hover {
  border-color: rgba(201, 137, 25, 0.38);
  color: #a66f10 !important;
}

body.photo-award-public-profile-page .pa-public-profile-main-card {
  grid-column: 2 !important;
}

@media (max-width: 700px) {
  body.photo-award-public-profile-page .pa-public-profile-hero {
    min-height: auto !important;
  }

  body.photo-award-public-profile-page .pa-public-profile-hero-content {
    grid-template-columns: 1fr !important;
    padding-top: 88px !important;
    padding-bottom: 68px !important;
  }

  body.photo-award-public-profile-page .pa-public-profile-hero h1 {
    font-size: clamp(38px, 12vw, 58px) !important;
  }
}

@media (max-width: 900px) {
  body.photo-award-public-profile-page .pa-public-profile-grid {
    grid-template-columns: 1fr !important;
  }

  body.photo-award-public-profile-page .pa-public-profile-sidebar,
  body.photo-award-public-profile-page .pa-public-profile-main-card {
    grid-column: 1 !important;
  }

  body.photo-award-public-profile-page .pa-public-profile-side-card {
    position: static;
  }
}

@media (max-width: 1180px) {
  body.photo-award-profile-page .photo-award-profile-container {
    grid-template-columns: minmax(200px, 232px) minmax(0, 1fr) !important;
    width: min(100%, calc(100vw - 28px)) !important;
    padding: 24px !important;
  }
}

@media (max-width: 860px) {
  body.photo-award-profile-page .photo-award-profile-container {
    grid-template-columns: 1fr !important;
    width: min(100%, calc(100vw - 18px)) !important;
    padding: 18px !important;
  }

  body.photo-award-profile-page .pa-profile-topbar {
    padding: 6px 0 0 !important;
  }

  body.photo-award-profile-page .pa-account-menu {
    max-width: 100% !important;
    width: 100% !important;
  }

  body.photo-award-profile-page .pa-dashboard-hero h1,
  body.photo-award-profile-page .dashboard-header h1,
  body.photo-award-profile-page .pa-dashboard-header h1,
  body.photo-award-profile-page .pa-page-header h1,
  body.photo-award-profile-page .profile-page-header h1,
  body.photo-award-profile-page .profile-page h1,
  body.photo-award-profile-page .pa-new-entry-hero h1,
  body.photo-award-profile-page .pa-bundles-hero h1,
  body.photo-award-profile-page .pa-edit-profile-v2 .pa-profile-edit-hero h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
  }
}
