/* ==============================
   BASIC RESET
================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f3f5f7;
}

/* ==============================
   HEADER
================================= */
header {
    overflow:hidden;
}
.uc-top-navbar {
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
}
.css-marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 100%;
}
.css-marquee-wrapper {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    height: 100%;
    animation: marquee-scroll 45s linear infinite;
}
.css-marquee-container:hover .css-marquee-wrapper {
    animation-play-state: paused;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 25px;
}
.marquee-link {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1 !important;
    display: inline-block !important;
}
.marquee-link:hover {
    color: #ffffff !important;
}
.marquee-item::after {
    content: "•";
    color: #ffffff !important;
    margin-left: 50px;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
}
@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.pv-dashboard-layout {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #f8fafc;
}

.pv-polls-main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.pv-polls-masonry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.pv-poll-card-item {
    flex: 1 1 calc(25% - 15px);
    max-width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.pv-row-break-inline-ad {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 15px 0;
    box-sizing: border-box;
}

.pv-row-break-inline-ad img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .pv-poll-card-item {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .pv-poll-card-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.pv-poll-container-box {
    background-color: #0d47a1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

.pv-poll-top-banner img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.pv-poll-inner-body {
    padding: 24px 20px;
    box-sizing: border-box;
    flex-grow: 1;
}

.pv-poll-main-question {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 20px 0;
    color: #ffffff;
    min-height: 48px;
}

.pv-options-interactive-group, .pv-results-metric-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.pv-option-selectable-row {
    background-color: #ffffff;
    color: #1e293b;
    padding: 14px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease;
    user-select: none;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.pv-option-selectable-row:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
}

.pv-option-selectable-row input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pv-selection-bullet-ui {
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    margin-right: 14px;
    display: inline-block;
    flex-shrink: 0;
    box-sizing: border-box;
}

.pv-selection-label-text {
    font-size: 14px;
    font-weight: 600;
}

.pv-metric-progress-row {
    position: relative;
    background-color: #ffffff;
    color: #1e293b;
    border-radius: 30px;
    overflow: hidden;
    height: 52px;
    width: 100%;
    box-sizing: border-box;
}

.pv-metric-fill-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #90caf9;
    width: 0%;
    transition: width 0.7s cubic-bezier(0.1, 0.8, 0.3, 1);
    z-index: 1;
}

.pv-metric-label-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 18px;
    box-sizing: border-box;
    z-index: 2;
}

.pv-metric-bullet-ui {
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    display: inline-block;
    box-sizing: border-box;
}

.pv-metric-progress-row.pv-user-voted-item .pv-metric-bullet-ui {
    border-color: #b71c1c;
    background-color: #ffffff;
    position: relative;
}

.pv-metric-progress-row.pv-user-voted-item .pv-metric-bullet-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-color: #b71c1c;
    border-radius: 50%;
}

.pv-metric-label-text {
    font-size: 14px;
    font-weight: 600;
    flex-grow: 1;
}

.pv-metric-percentage-value {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.pv-poll-bottom-status-bar {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
}

.pv-status-count-badge {
    background-color: #1565c0;
    padding: 12px;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.pv-status-voted-notice {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    margin-top: 4px;
}

.pv-poll-standalone-ad {
    width: 100%;
    margin-top: 15px;
    box-sizing: border-box;
}

.pv-poll-standalone-ad img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}


/* ==============================
   MOBILE
================================= */

@media (max-width: 600px) {

    .header {
        height: 55px;

        padding: 0 15px;
    }

    .logo {
        font-size: 19px;
    }

    .header nav a {
        font-size: 14px;

        padding: 8px 10px;
    }
}