@import '_content/CommonUI/CommonUI.4f9jkrlxg5.bundle.scp.css';
@import '_content/LicenseClient/LicenseClient.7k87zhr0my.bundle.scp.css';
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.exfvxuochq.bundle.scp.css';

/* /Pages/Home.razor.rz.scp.css */
.poll-container[b-iztk3ozqeu] {
    --pppoll-black: var(--pp-font-color, #181818);
    --pppoll-votebar: var(--pp-votebar, #ff6612);
    --pppoll-orange-light: color-mix(in srgb, var(--pppoll-votebar) 58%, white);
    --pppoll-orange-mid: color-mix(in srgb, var(--pppoll-votebar) 78%, white);
    --pppoll-orange-dark: var(--pppoll-votebar);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 100%;
    flex: 1;
}

.poll-card[b-iztk3ozqeu] {
    width: 100%;
    height: 100%;
}

.poll-empty[b-iztk3ozqeu] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
}

.poll-empty__content[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

.poll-empty__content h1[b-iztk3ozqeu] {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.poll-empty__content p[b-iztk3ozqeu] {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    color: var(--neutral-foreground-hint, #666);
}

.poll-content[b-iztk3ozqeu] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
    height: 100%;
    min-height: 0;
    color: var(--pppoll-black);
    font-family: var(--pp-font-family, 'Helvetica Neue', Helvetica, Arial, sans-serif);
}

.poll-header[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.poll-header__logo-row[b-iztk3ozqeu] {
    display: flex;
    justify-content: flex-start;
}

.poll-question[b-iztk3ozqeu] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0 1rem;
}

.poll-question h1[b-iztk3ozqeu] {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin: 0;
}

.poll-main[b-iztk3ozqeu] {
    display: grid;
    grid-template-columns: minmax(0, 13fr) minmax(0, 7fr);
    gap: 1.25rem;
    min-height: 0;
}

.poll-main__left[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.poll-options[b-iztk3ozqeu] {
    flex: 1;
    display: grid;
    grid-auto-rows: auto;
    align-content: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 0;
}

.poll-option-wrapper[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.poll-option[b-iztk3ozqeu] {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.poll-option__fill[b-iztk3ozqeu] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(
        90deg,
        var(--pppoll-orange-light),
        var(--pppoll-orange-mid),
        var(--pppoll-orange-dark)
    );
    transition: width 0.4s ease;
    z-index: 0;
}

.poll-option__content[b-iztk3ozqeu] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.poll-option__label[b-iztk3ozqeu] {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--pppoll-black);
    flex-shrink: 0;
}

.poll-option__text[b-iztk3ozqeu] {
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--pppoll-black);
    flex: 1;
}

.poll-option__votes[b-iztk3ozqeu] {
    margin-left: auto;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--pppoll-black);
    white-space: nowrap;
    line-height: 1;
}

.poll-controls[b-iztk3ozqeu] {
    margin-top: 1rem;
}

.poll-main__right[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 0.75rem;
}

.poll-qr-panel[b-iztk3ozqeu] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    min-height: 0;
    width: 100%;
}

.poll-qr[b-iztk3ozqeu] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 0 1 auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

.poll-qr__inner[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 32rem);
    aspect-ratio: 1 / 1;
    max-width: 100%;
}

.poll-qr__image[b-iztk3ozqeu] {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.poll-qr__meta[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
}

.poll-qr__code-label[b-iztk3ozqeu] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-foreground-hint, #666);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.poll-qr__code[b-iztk3ozqeu] {
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--pppoll-black);
}

.poll-qr__link[b-iztk3ozqeu] {
    text-align: center;
    word-break: break-word;
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    line-height: 1.35;
    font-weight: 700;
    max-width: 100%;
    color: var(--pppoll-black);
}

.poll-qr__link a[b-iztk3ozqeu] {
    font-weight: 700;
    color: inherit;
    text-decoration: none;
}

.poll-qr__placeholder[b-iztk3ozqeu] {
    color: var(--neutral-foreground-hint, #666);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 500;
    text-align: center;
    padding: 1rem;
}

.poll-qr__placeholder-text[b-iztk3ozqeu] {
    font-size: 0.95rem;
    color: var(--neutral-foreground-hint, #666);
}

.poll-logo[b-iztk3ozqeu] {
    align-self: start;
    height: clamp(2rem, 2.8vw, 2.5rem);
    width: auto;
}

.poll-logo--fixed[b-iztk3ozqeu] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    align-self: auto;
}

.poll-close-section[b-iztk3ozqeu] {
    width: 100%;
}

.poll-close-section__row[b-iztk3ozqeu] {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.poll-countdown[b-iztk3ozqeu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.poll-countdown__label[b-iztk3ozqeu] {
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    color: var(--neutral-foreground-hint, #666);
    margin: .5rem;
}

.poll-actions[b-iztk3ozqeu] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

@media (max-width: 960px) {
    .poll-main__right[b-iztk3ozqeu] {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .poll-container[b-iztk3ozqeu] {
        gap: 0.75rem;
    }

    .poll-content[b-iztk3ozqeu] {
        gap: 0.75rem;
    }

    .poll-main[b-iztk3ozqeu] {
        gap: 0.75rem;
    }

    .poll-option[b-iztk3ozqeu] {
        padding: 0.625rem 0.875rem;
    }

    .poll-close-section__row[b-iztk3ozqeu] {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Settings dialog */

.settings-form[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.settings-option[b-iztk3ozqeu] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
}

.settings-option__row[b-iztk3ozqeu] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
}

.settings-toggle[b-iztk3ozqeu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.settings-toggle fluent-select[b-iztk3ozqeu] {
    width: 160px;
    min-width: 0;
    flex: 0 0 auto;
}

.theme-color-picker[b-iztk3ozqeu] {
    width: 48px;
    height: 32px;
    padding: 2px;
    border: 1px solid var(--neutral-stroke-rest, #d6d6d6);
    border-radius: 4px;
    background: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.theme-color-picker[b-iztk3ozqeu]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.theme-color-picker[b-iztk3ozqeu]::-webkit-color-swatch {
    border: none;
    border-radius: 2px;
}

.theme-color-picker[b-iztk3ozqeu]::-moz-color-swatch {
    border: none;
    border-radius: 2px;
}

.license-prompt[b-iztk3ozqeu] {
    text-align: center;
    padding: 2rem;
}

.license-prompt p[b-iztk3ozqeu] {
    margin-bottom: 1rem;
}

.license-prompt__features[b-iztk3ozqeu] {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    gap: 0.5rem;
    margin: 0 auto 1.25rem;
    padding: 0;
}

.license-prompt__features li[b-iztk3ozqeu] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.35;
}

.license-prompt__feature-icon[b-iztk3ozqeu] {
    color: var(--accent-fill-rest, #0f6cbd);
    flex-shrink: 0;
}

.license-prompt__buy-button[b-iztk3ozqeu] {
    margin-top: 0;
}

.license-prompt__existing-license[b-iztk3ozqeu] {
    margin: 1.25rem 0 0;
}

.license-prompt__login-button[b-iztk3ozqeu] {
    margin-top: 1.25rem;
}
