.secure-video-wrapper {
    position: relative;
    width: 100%;
}

.secure-video-banner {
    background: rgba(1, 105, 161, 0.1);
    border-left: 4px solid #0169a1;
    color: #242424;
    padding: 8px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.secure-video-banner svg {
    color: #0169a1;
    flex-shrink: 0;
}

.secure-video-expired {
    background: rgba(255, 77, 77, 0.1);
    border-left: 4px solid #ff4d4d;
    color: #ff4d4d;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    font-size: 18px;
    margin: 40px auto;
    max-width: 600px;
}

.secure-video-content {
    filter: blur(15px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.5s ease;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 20px;
    align-items: center;
    margin-top: 50px;
}

.secure-video-content.unlocked {
    filter: blur(0);
    pointer-events: auto;
    user-select: auto;
}

.secure-video-item {
    width: 100%;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
    max-width: 500px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    aspect-ratio: 16 / 9;
    position: relative;
    order: 0;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.secure-video-item.full-width-active {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    order: -1;
}

@media (max-width: 1100px) {
    .secure-video-item {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    .secure-video-content:not(.has-active-video) .secure-video-item:first-child {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


@media (max-width: 768px) {
    .secure-video-content {
        flex-direction: column;
    }
    .secure-video-item, .secure-video-item:first-child {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: unset;
    }
}

.secure-video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PIN Modal */
/* PIN Modal */
.secure-pin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.secure-pin-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.secure-pin-modal {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    color: #fff;
    max-width: 400px;
    width: 90%;
}

.secure-pin-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
}

.secure-pin-modal p {
    color: #ccc;
    margin-bottom: 30px;
}

.secure-pin-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.secure-pin-input {
    width: 50px;
    height: 60px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #333;
    border-radius: 8px;
    background: #2a2a2a;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.secure-pin-input:focus {
    border-color: #0169a1;
}

.secure-pin-error {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 20px;
    display: none;
}

.secure-pin-submit {
    background: #0169a1;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 600;
}

.secure-pin-submit:hover {
    background: #004c74;
}

.secure-pin-submit:disabled {
    background: #555;
    cursor: not-allowed;
}

/* Loading Spinner */
.secure-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.sv-request-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    background: #2a2a2a;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.sv-request-input:focus {
    border-color: #0169a1;
}

.secure-pin-success {
    background: rgba(70, 180, 80, 0.1);
    border: 1px solid #46b450;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}
/* Poll Styles */
.hidden {
    display: none !important;
}

.secure-poll-modal {
    max-width: 650px !important;
    width: 95% !important;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px 30px;
    text-align: left;
    background: #ffffff;
    color: #333;
}

.secure-poll-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secure-poll-close:hover {
    color: #333;
    background:#efefef;
}

.secure-poll-modal h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.secure-poll-modal p {
    text-align: center;
    color: #666;
}

.poll-question {
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.poll-question > label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
    font-size: 16px;
    line-height: 1.4;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-options label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 15px;
    cursor: pointer;
    line-height: 1.4;
}

.poll-options input[type="radio"],
.poll-options input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: #0169a2;
}

.poll-other-text {
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
}

.poll-other-text:focus {
    border-color: #0169a2;
}

.poll-submit-btn {
    width: 100%;
    margin-top: 10px;
}