/**
 * Proprietary Data component: Casino Voorwaarden Reality Check.
 * Version 1.1.0
 */

#proprietary-data {
    --pd-bg: #f5f8f7;
    --pd-surface: #ffffff;
    --pd-surface-soft: #eef5f2;
    --pd-text: #17241f;
    --pd-muted: #5b6b64;
    --pd-border: #d8e2de;
    --pd-accent: #147a5a;
    --pd-accent-strong: #0d5e45;
    --pd-accent-soft: #dff3eb;
    --pd-warning: #b07000;
    --pd-danger: #a3341f;
    --pd-radius: 16px;
    --pd-radius-sm: 10px;
    --pd-shadow: 0 14px 34px rgba(23, 36, 31, 0.08);
    --pd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--pd-text);
    font-family: var(--pd-font);
    line-height: 1.5;
}

#proprietary-data *,
#proprietary-data *::before,
#proprietary-data *::after {
    box-sizing: border-box;
}

#proprietary-data .pd-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

#proprietary-data .pd-shell {
    margin: 32px 0;
    padding: 24px;
    background: var(--pd-bg);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
}

#proprietary-data .pd-intro {
    max-width: 820px;
    margin-bottom: 22px;
}

#proprietary-data .pd-eyebrow {
    margin-bottom: 6px;
    color: var(--pd-accent-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#proprietary-data .pd-title {
    margin: 0 0 8px;
    color: var(--pd-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

#proprietary-data .pd-lead {
    margin: 0;
    color: var(--pd-muted);
    font-size: 16px;
}

#proprietary-data .pd-noscript {
    margin: 0 0 18px;
    padding: 12px 14px;
    color: var(--pd-text);
    background: var(--pd-accent-soft);
    border-left: 4px solid var(--pd-accent);
    border-radius: 0 var(--pd-radius-sm) var(--pd-radius-sm) 0;
    font-size: 14px;
}

#proprietary-data .pd-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 20px;
    align-items: start;
}

#proprietary-data .pd-panel {
    min-width: 0;
    padding: 20px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow);
}

#proprietary-data .pd-panel-title,
#proprietary-data .pd-breakdown-title {
    margin-bottom: 14px;
    color: var(--pd-text);
    font-size: 17px;
    font-weight: 800;
}

#proprietary-data .pd-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

#proprietary-data .pd-field {
    min-width: 0;
}

#proprietary-data .pd-field-wide {
    grid-column: 1 / -1;
}

#proprietary-data label {
    display: block;
    margin-bottom: 6px;
    color: var(--pd-text);
    font-size: 14px;
    font-weight: 700;
}

#proprietary-data .pd-input-wrap {
    position: relative;
}

#proprietary-data .pd-input,
#proprietary-data .pd-select {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    color: var(--pd-text);
    background-color: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-sm);
    font: inherit;
    font-size: 16px;
    line-height: 1.3;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#proprietary-data .pd-select {
    padding-right: 38px;
    background-image: linear-gradient(45deg, transparent 50%, var(--pd-muted) 50%), linear-gradient(135deg, var(--pd-muted) 50%, transparent 50%);
    background-position: calc(100% - 17px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

#proprietary-data .pd-input-money {
    padding-left: 32px;
}

#proprietary-data .pd-input-suffix {
    padding-right: 36px;
}

#proprietary-data .pd-prefix,
#proprietary-data .pd-suffix {
    position: absolute;
    top: 50%;
    z-index: 1;
    color: var(--pd-muted);
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
    transform: translateY(-50%);
}

#proprietary-data .pd-prefix {
    left: 12px;
}

#proprietary-data .pd-suffix {
    right: 12px;
}

#proprietary-data .pd-input:focus,
#proprietary-data .pd-select:focus,
#proprietary-data .pd-reset:focus,
#proprietary-data .pd-results-scroll:focus {
    outline: 3px solid rgba(20, 122, 90, 0.25);
    outline-offset: 2px;
    border-color: var(--pd-accent);
}

#proprietary-data .pd-input:focus:not(:focus-visible),
#proprietary-data .pd-select:focus:not(:focus-visible),
#proprietary-data .pd-reset:focus:not(:focus-visible),
#proprietary-data .pd-results-scroll:focus:not(:focus-visible) {
    outline: none;
}

#proprietary-data .pd-input:focus-visible,
#proprietary-data .pd-select:focus-visible,
#proprietary-data .pd-reset:focus-visible,
#proprietary-data .pd-results-scroll:focus-visible {
    outline: 3px solid rgba(20, 122, 90, 0.25);
    outline-offset: 2px;
    border-color: var(--pd-accent);
}

#proprietary-data .pd-help {
    margin: 5px 0 0;
    color: var(--pd-muted);
    font-size: 12px;
}

#proprietary-data .pd-divider {
    height: 1px;
    margin: 22px 0 18px;
    background: var(--pd-border);
}

#proprietary-data .pd-actions {
    margin-top: 18px;
}

#proprietary-data .pd-reset {
    padding: 10px 16px;
    min-height: 44px;
    color: var(--pd-accent-strong);
    background: var(--pd-accent-soft);
    border: 1px solid var(--pd-accent);
    border-radius: var(--pd-radius-sm);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

#proprietary-data .pd-reset:hover {
    color: #ffffff;
    background: var(--pd-accent);
}

#proprietary-data .pd-score-card {
    margin-bottom: 16px;
    padding: 16px;
    background: var(--pd-surface-soft);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-sm);
}

#proprietary-data .pd-score-topline {
    display: flex;
    gap: 14px;
    align-items: baseline;
    justify-content: space-between;
}

#proprietary-data .pd-score-label {
    font-size: 14px;
    font-weight: 800;
}

#proprietary-data .pd-score-value {
    color: var(--pd-accent-strong);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

#proprietary-data .pd-score-max {
    color: var(--pd-muted);
    font-size: 14px;
    font-weight: 700;
}

#proprietary-data .pd-meter {
    overflow: hidden;
    height: 9px;
    margin: 12px 0 9px;
    background: var(--pd-border);
    border-radius: 999px;
}

#proprietary-data .pd-meter-fill {
    width: 0;
    height: 100%;
    background: var(--pd-accent);
    border-radius: inherit;
    transition: width 220ms ease, background-color 220ms ease;
}

#proprietary-data .pd-meter-fill.is-mid {
    background: #6f8b3a;
}

#proprietary-data .pd-meter-fill.is-high {
    background: var(--pd-warning);
}

#proprietary-data .pd-meter-fill.is-critical {
    background: var(--pd-danger);
}

#proprietary-data .pd-score-status {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 800;
}

#proprietary-data .pd-score-note,
#proprietary-data .pd-disclaimer {
    margin: 0;
    color: var(--pd-muted);
    font-size: 12px;
}

#proprietary-data .pd-result-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

#proprietary-data .pd-result-card {
    padding: 13px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-sm);
}

#proprietary-data .pd-result-label {
    margin-bottom: 5px;
    color: var(--pd-muted);
    font-size: 12px;
    font-weight: 700;
}

#proprietary-data .pd-result-value {
    color: var(--pd-text);
    font-size: 18px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

#proprietary-data .pd-insight {
    margin: 0 0 18px;
    padding: 13px 14px;
    color: var(--pd-text);
    background: var(--pd-accent-soft);
    border-left: 4px solid var(--pd-accent);
    border-radius: 0 var(--pd-radius-sm) var(--pd-radius-sm) 0;
    font-size: 14px;
}

#proprietary-data .pd-insight:empty {
    display: none;
}

#proprietary-data .pd-results-scroll {
    width: 100%;
    margin-bottom: 12px;
    overflow-x: auto;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-sm);
    -webkit-overflow-scrolling: touch;
}

#proprietary-data .pd-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: var(--pd-surface);
    font-size: 13px;
}

#proprietary-data .pd-table th,
#proprietary-data .pd-table td {
    padding: 10px 11px;
    border-bottom: 1px solid var(--pd-border);
    text-align: left;
    vertical-align: top;
}

#proprietary-data .pd-table thead th {
    color: var(--pd-text);
    background: var(--pd-surface-soft);
    font-weight: 800;
}

#proprietary-data .pd-table th:last-child,
#proprietary-data .pd-table td:last-child {
    width: 72px;
    text-align: right;
    white-space: nowrap;
}

#proprietary-data .pd-table tbody tr:last-child td {
    border-bottom: 1px solid var(--pd-border);
}

#proprietary-data .pd-row-neutral td {
    color: var(--pd-muted);
}

#proprietary-data .pd-table tfoot th,
#proprietary-data .pd-table tfoot td {
    background: var(--pd-surface-soft);
    border-bottom: 0;
    font-weight: 800;
}

#proprietary-data .pd-cap-note {
    margin: 0 0 12px;
}

#proprietary-data .pd-cap-note[hidden] {
    display: none;
}

@media (max-width: 820px) {
    #proprietary-data .pd-shell {
        margin: 24px 0;
        padding: 16px;
    }

    #proprietary-data .pd-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    #proprietary-data .pd-panel {
        padding: 16px;
    }

    #proprietary-data .pd-field-grid,
    #proprietary-data .pd-result-list {
        grid-template-columns: 1fr;
    }

    #proprietary-data .pd-field-wide {
        grid-column: auto;
    }

    #proprietary-data .pd-score-topline {
        align-items: flex-start;
    }

    #proprietary-data .pd-reset {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #proprietary-data *,
    #proprietary-data *::before,
    #proprietary-data *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
