/**
 * WeDrive Candidate Video — Profile Sidebar Slider Styles
 */

#wcv-profile-video-widget.wcv-profile-video-sidebar {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 18px 18px !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

#wcv-profile-video-widget * {
    box-sizing: border-box !important;
}

/* ── Top Bar / Counter ───────────────────────────────────────────────────── */
#wcv-profile-video-widget .wcv-slider-top-bar {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}

#wcv-profile-video-widget .wcv-video-counter-badge {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    line-height: 1.3 !important;
}

/* ── Video Player Wrap ───────────────────────────────────────────────────── */
#wcv-profile-video-widget .wcv-video-player-wrap {
    position: relative !important;
    width: 100% !important;
    background: #000000 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1) !important;
}

#wcv-profile-video-widget .wcv-player {
    width: 100% !important;
    height: auto !important;
    min-height: 380px !important;
    max-height: 480px !important;
    display: block !important;
    background: #000000 !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}

/* ── Dynamic Candidate Info & Quote Block ────────────────────────────────── */
#wcv-profile-video-widget .wcv-candidate-info-block {
    margin-top: 14px !important;
    padding: 0 !important;
}

#wcv-profile-video-widget .wcv-candidate-quote {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    margin: 0 0 10px 0 !important;
    font-weight: 400 !important;
}

#wcv-profile-video-widget .wcv-candidate-author-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

#wcv-profile-video-widget .wcv-candidate-action-link {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    transition: color 0.15s ease !important;
}

#wcv-profile-video-widget .wcv-candidate-action-link:hover {
    color: #2563eb !important;
}

/* ── Meta Footer Row & Discreet Delete Button ────────────────────────────── */
#wcv-profile-video-widget .wcv-meta-footer-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 10px !important;
    padding-top: 8px !important;
    border-top: 1px dashed #f1f5f9 !important;
}

#wcv-profile-video-widget .wcv-video-job-tag {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#wcv-profile-video-widget .wcv-video-actions-row {
    margin: 0 0 0 auto !important;
    padding: 0 !important;
}

#wcv-profile-video-widget .wcv-btn-delete-video {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 4px !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: color 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

#wcv-profile-video-widget .wcv-btn-delete-video:hover {
    color: #ef4444 !important;
    text-decoration: underline !important;
    background: transparent !important;
}

#wcv-profile-video-widget .wcv-del-icon {
    font-size: 11px !important;
    line-height: 1 !important;
}

/* ── Slider Navigation Controls (Reset & Precise Sizing) ─────────────────── */
#wcv-profile-video-widget .wcv-slider-container {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
}

#wcv-profile-video-widget .wcv-slider-track {
    position: relative !important;
    width: 100% !important;
}

#wcv-profile-video-widget .wcv-slide {
    display: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100% !important;
}

#wcv-profile-video-widget .wcv-slide.active {
    display: block !important;
    opacity: 1 !important;
}

#wcv-profile-video-widget .wcv-slider-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    width: 100% !important;
}

#wcv-profile-video-widget .wcv-slider-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    flex: 0 0 30px !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

#wcv-profile-video-widget .wcv-slider-arrow:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: scale(1.06);
}

#wcv-profile-video-widget .wcv-slider-dots {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

#wcv-profile-video-widget .wcv-dot {
    display: inline-block !important;
    background: #cbd5e1 !important;
    border: none !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    max-width: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    flex: 0 0 8px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    vertical-align: middle !important;
}

#wcv-profile-video-widget .wcv-dot.active {
    background: #2563eb !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    flex: 0 0 16px !important;
    border-radius: 999px !important;
}

/* ── Empty State ─────────────────────────────────────────────────────────── */
#wcv-profile-video-widget .wcv-no-videos-box {
    text-align: center;
    padding: 24px 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

#wcv-profile-video-widget .wcv-no-video-icon {
    font-size: 28px;
    margin-bottom: 6px;
    opacity: 0.7;
}

#wcv-profile-video-widget .wcv-no-video-text {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

#wcv-profile-video-widget .wcv-no-video-hint {
    margin: 6px 0 0;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}
