/* container */
.vct-container {
    max-width: 800px;
    margin: 15px auto;
    text-align: center;
}

/* controls bar */
.vct-controls {
    margin-top: 20px;
    margin-right: 20px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

.vct-btn {
    background: red;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
}
.vct-btn:hover { background: darkred; }
.vct-btn:disabled { background: gray; cursor: not-allowed; }

.vct-btn.vct-complete.completed {
    background: green;
    color: #fff;
    cursor: default;
    opacity: 0.9;
}

.vct-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: #000;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    z-index: 0; /* new stacking context */
}

.vct-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    z-index: 1 !important;  /* always below overlay */
}

.vct-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    z-index: 9999 !important; /* always above iframe */
    pointer-events: auto;
    touch-action: none;
}
/* body-level overlay used by vct.js */
.vct-body-overlay {
  background: rgba(0,0,0,0);   /* invisible but captures pointer events */
  pointer-events: auto;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
