/* ============================================
   UPCOMING VIDEOS - MAIN STYLES
   ============================================ */

/* MAIN CONTAINER - Font applied here */
.upcoming-videos-container {
    padding: 24px;
    font-family: 'Poppins', sans-serif;
}

.upcoming-video-bg{
    background: #ffffff70;
}

/* Tabs Styling */
.videos-tabs-wrapper {
    background: transparent;
}

.videos-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px !important;
    gap: 4px;
}

.videos-tabs .nav-link {
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    color: #6c757d;
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 15px;
    background: transparent;
    position: relative;
}

.videos-tabs .nav-link:hover {
    color: #101ec5;
    background: rgba(16, 30, 197, 0.05);
}

.videos-tabs .nav-link.active {
    color: #101ec5;
    background: transparent;
    border-bottom: 3px solid #101ec5;
}

.videos-tabs .nav-link svg {
    stroke: currentColor;
}

.videos-tabs .nav-link {
    background: #eef0ff;
    color: #101ec5;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.videos-tabs .nav-link.active {
    background: #101ec5;
    color: #fff;
}

/* Videos List Header */
.videos-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Global Visibility Button */
.global-visibility-btn-wrapper {
    display: flex;
    align-items: center;
}

.btn-visibility-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06);
    color: #6c757d;
}

.btn-visibility-toggle:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.btn-visibility-toggle:active:not(:disabled) {
    transform: scale(0.96);
}

.btn-visibility-toggle:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-visibility-toggle .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-visibility-toggle .btn-text {
    transition: all 0.3s ease;
}

/* Visible state */
.btn-visibility-toggle.visible {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.btn-visibility-toggle.visible .btn-icon svg {
    stroke: #28a745;
}

.btn-visibility-toggle.visible:hover:not(:disabled) {
    background: rgba(40, 167, 69, 0.25);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.15);
}

/* Hidden state */
.btn-visibility-toggle.hidden {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.btn-visibility-toggle.hidden .btn-icon svg {
    stroke: #dc3545;
}

.btn-visibility-toggle.hidden:hover:not(:disabled) {
    background: rgba(220, 53, 69, 0.2);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.12);
}

/* Loading state */
.btn-visibility-toggle.loading {
    opacity: 0.7;
    cursor: wait;
}

.btn-visibility-toggle.loading .btn-text::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Card Styles - TRANSPARENT BACKGROUND */
.create-video-form-wrapper {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
}

.form-card-header {
    padding: 16px 0px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-card-header h5 {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.btn-close-form {
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(0,0,0,0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-close-form:hover {
    background: rgba(220, 53, 69, 0.1);
}

.btn-close-form svg {
    stroke: #6c757d;
}

.form-card-body {
    padding: 0;
}

/* Form Elements */
.premium-input {
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 10px 16px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
}

.premium-input:focus {
    border-color: #101ec5;
    box-shadow: 0 0 0 3px rgba(16, 30, 197, 0.08);
    background: rgba(255,255,255,0.9);
}

.premium-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.08);
}

/* Upload Areas - FIXED */
.upload-area {
    position: relative;
    border: 2px dashed rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.upload-area:hover {
    border-color: #101ec5;
    background: rgba(255,255,255,0.6);
}

.upload-area.dragover {
    border-color: #101ec5;
    background: rgba(16, 30, 197, 0.05);
}

.upload-area .upload-content {
    pointer-events: none;
    z-index: 1;
    position: relative;
}

.upload-area .upload-content svg {
    margin-bottom: 6px;
}

.upload-area .upload-content h6 {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
    font-size: 14px;
}

.upload-area .upload-content p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 2px;
}

.upload-area .upload-content small {
    font-size: 11px;
    color: #adb5bd;
}

.upload-area .upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.upload-area .upload-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.upload-area .upload-preview img,
.upload-area .upload-preview video {
    max-width: 100%;
    max-height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.upload-area .remove-upload {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 20;
    pointer-events: auto;
}

.upload-area .remove-upload:hover {
    transform: scale(1.1);
}

/* Visibility Info - TRANSPARENT */
.visibility-info-wrapper {
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
}

.visibility-info-wrapper svg {
    flex-shrink: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
}

.form-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 28px;
    font-size: 14px;
}

.form-actions .btn-outline-secondary {
    border: 2px solid rgba(0,0,0,0.08);
    color: #6c757d;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.form-actions .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.8);
    border-color: #d1d5db;
}

.form-actions .btn-primary {
    background: #101ec5;
    border: none;
    transition: all 0.3s ease;
    color: #fff;
}

.form-actions .btn-primary:hover {
    background: #0d1a9e;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 30, 197, 0.25);
}

/* Video Cards */
.upcoming-video-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.upcoming-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.video-thumbnail-wrapper {
    position: relative;
    background: #000;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.video-badges .badge {
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #28a745;
    color: #fff;
}

.badge-warning {
    background: #ffc107;
    color: #212529;
}

.badge-dark {
    background: rgba(0,0,0,0.7);
    color: #fff;
}

.video-release-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.video-info {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1a1a2e;
}

.video-description {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    flex: 1;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom scrollbar for description */
.video-description::-webkit-scrollbar {
    width: 4px;
}

.video-description::-webkit-scrollbar-track {
    background: transparent;
}

.video-description::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.video-description::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.video-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f3f5;
}

.video-status-indicator .badge {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.badge-visible {
    background: #d4edda;
    color: #155724;
}

.badge-hidden {
    background: #f8d7da;
    color: #721c24;
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.btn-icon {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-icon:hover {
    background: #f1f3f5;
    color: #1a1a2e;
}

.btn-icon.edit-video:hover {
    background: #dbeafe;
    color: #2563eb;
}

.btn-icon.delete-video:hover {
    background: #fee2e2;
    color: #dc2626;
}

.empty-state-icon svg {
    color: #d1d5db;
}

/* ============================================
   MODAL STYLES - UPCOMING VIDEOS
   ============================================ */

/* Modal Container */
#upcomingVideosModal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}

/* Modal Header */
#upcomingVideosModal .modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #f1f3f5;
    padding: 24px 32px;
}

#upcomingVideosModal .modal-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #eef0ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#upcomingVideosModal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

#upcomingVideosModal .modal-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

#upcomingVideosModal .modal-close-btn {
    opacity: 1;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#upcomingVideosModal .modal-close-btn:hover {
    background: #f1f3f5;
}

/* Modal Body */
#upcomingVideosModal .modal-body {
    padding: 32px;
    background: #ffffff;
    max-height: 70vh;
    overflow-y: auto;
}

/* Modal Footer */
#upcomingVideosModal .modal-footer {
    border-top: 1px solid #f1f3f5;
    padding: 16px 32px;
    background: #fafbfc;
}

/* Video Cards inside Modal */
.premium-video-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f3f5;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-video-card:hover {
    border-color: #101ec5;
    box-shadow: 0 8px 30px rgba(16, 30, 197, 0.08);
}

.premium-video-card .video-thumb {
    position: relative;
    height: 200px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-video-card .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-video-card .video-thumb .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 12;
    pointer-events: none;
}

.premium-video-card .video-thumb:hover .play-overlay {
    opacity: 1 !important;
}

.premium-video-card:hover .video-thumb .play-overlay {
    opacity: 1;
}

.premium-video-card .video-thumb .play-overlay svg {
    width: 56px;
    height: 56px;
}

.premium-video-card .video-thumb .duration-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 15;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.premium-video-card .video-thumb .release-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(16, 30, 197, 0.9);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 15;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.premium-video-card .video-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.premium-video-card .video-body h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-video-card .video-body .video-desc {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 16px;
    flex: 1;
    max-height: 100px;
    overflow-y: auto;
    padding-right: 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.premium-video-card .video-body .video-desc::-webkit-scrollbar {
    width: 4px;
}

.premium-video-card .video-body .video-desc::-webkit-scrollbar-track {
    background: transparent;
}

.premium-video-card .video-body .video-desc::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.premium-video-card .video-body .video-desc::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.premium-video-card .video-body .video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f3f5;
}

.premium-video-card .video-body .video-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
}

.premium-video-card .video-body .send-offer-btn {
    margin-top: 12px;
    width: 100%;
    padding: 10px;
    background: #101ec5;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-video-card .video-body .send-offer-btn:hover {
    background: #0d1a9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 30, 197, 0.3);
}

/* Custom Scrollbar for Modal Body */
#upcomingVideosModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#upcomingVideosModal .modal-body::-webkit-scrollbar-track {
    background: #f8f9fa;
}

#upcomingVideosModal .modal-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

#upcomingVideosModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ============================================
   LOAD MORE BUTTON - PREMIUM STYLES
   ============================================ */

.load-more-wrapper {
    text-align: center;
    margin-top: 32px;
    padding: 8px 0;
}

.btn-load-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #101ec5;
    background: transparent;
    border: 2px solid #101ec5;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.3px;
    overflow: hidden;
    min-width: 200px;
}

.btn-load-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 30, 197, 0.08), transparent);
    transition: left 0.6s ease;
}

.btn-load-more:hover:not(:disabled)::before {
    left: 100%;
}

.btn-load-more:hover:not(:disabled) {
    background: #101ec5;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 30, 197, 0.25);
}

.btn-load-more:active:not(:disabled) {
    transform: scale(0.96) translateY(-1px);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-load-more .btn-icon-load {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-load-more:hover:not(:disabled) .btn-icon-load {
    transform: translateX(4px);
}

.btn-load-more .btn-icon-load svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

.btn-load-more .btn-text-load {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-load-more .btn-text-load {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 30, 197, 0.1);
    color: #101ec5;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-load-more:hover:not(:disabled) .btn-text-load {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-load-more .loader-spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(16, 30, 197, 0.15);
    border-top-color: #101ec5;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-load-more.loading .loader-spinner {
    display: inline-block;
}

.btn-load-more.loading .btn-text-load {
    display: none;
}

.btn-load-more.loading .btn-icon-load {
    display: none;
}

/* Alternative Gradient Style - use this class for a different look */
.btn-load-more.gradient {
    background: linear-gradient(135deg, #101ec5 0%, #1a2ad6 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(16, 30, 197, 0.25);
}

.btn-load-more.gradient:hover:not(:disabled) {
    background: linear-gradient(135deg, #0d1a9e 0%, #1628c4 100%);
    box-shadow: 0 8px 35px rgba(16, 30, 197, 0.35);
    transform: translateY(-3px);
}

.btn-load-more.gradient::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.btn-load-more.gradient .btn-text-load {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-load-more.gradient .loader-spinner {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
}

/* Ghost Style - light border variant */
.btn-load-more.ghost {
    background: rgba(16, 30, 197, 0.04);
    border-color: rgba(16, 30, 197, 0.2);
    color: #101ec5;
}

.btn-load-more.ghost:hover:not(:disabled) {
    background: rgba(16, 30, 197, 0.1);
    border-color: #101ec5;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 30, 197, 0.12);
}

.btn-load-more.ghost .btn-text-load {
    background: rgba(16, 30, 197, 0.08);
}

/* Pulse Animation for the button */
.btn-load-more.pulse {
    animation: pulse-border 2s ease-in-out infinite;
}

.ourcreators_card{
    height: calc(100% - 24px);
}

/* Toggle Visibility Button - Eye Icon */
.toggle-visibility-btn {
    position: relative;
    transition: all 0.3s ease;
}

.toggle-visibility-btn:hover {
    transform: scale(1.1);
}



.toggle-visibility-btn svg {
    transition: all 0.3s ease;
}

/* When visible - blue eye */
.toggle-visibility-btn:not([title*="Show"]):hover svg {
    stroke: #0d1a9e;
}

/* When hidden - red eye with slash */
.toggle-visibility-btn[title*="Show"] svg {
    stroke: #dc3545;
}

.toggle-visibility-btn[title*="Show"]:hover svg {
    stroke: #c82333;
}

/* Action buttons container - ensure proper spacing */
.action-buttons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.action-buttons .btn-icon {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-buttons .btn-icon:hover {
    background: #f1f3f5;
}

.action-buttons .toggle-visibility-btn:hover {
    background: rgba(16, 30, 197, 0.08);
}

.action-buttons .toggle-visibility-btn[title*="Show"]:hover {
    background: rgba(220, 53, 69, 0.08);
}

.action-buttons .edit-video:hover {
    background: #dbeafe;
    color: #2563eb;
}

.action-buttons .delete-video:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Video actions layout */
.video-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f3f5;
}

.video-status-indicator .badge {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.badge-visible {
    background: #d4edda;
    color: #155724;
}

.badge-hidden {
    background: #f8d7da;
    color: #721c24;
}

/* ============================================
   CUSTOM VISIBILITY NOTIFICATION STYLES
   ============================================ */

.custom-visibility-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    max-width: 420px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.custom-visibility-notification.show {
    transform: translateX(0);
}

.custom-visibility-notification .notification-content {
    display: flex;
    align-items: flex-start;
    padding: 20px 24px 16px 24px;
    gap: 16px;
}

.custom-visibility-notification .notification-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.custom-visibility-notification .notification-icon svg {
    width: 22px;
    height: 22px;
}

.custom-visibility-notification .notification-body {
    flex: 1;
    min-width: 0;
}

.custom-visibility-notification .notification-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.custom-visibility-notification .notification-message {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 1.6;
}

.custom-visibility-notification .notification-message strong {
    font-weight: 600;
    color: #1a1a2e;
}

.custom-visibility-notification .notification-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-top: -4px;
    margin-right: -4px;
}

.custom-visibility-notification .notification-close:hover {
    background: #f1f3f5;
}

.custom-visibility-notification .notification-close svg {
    width: 14px;
    height: 14px;
}

.custom-visibility-notification .notification-progress-bar {
    height: 4px;
    width: 100%;
    transition: width 0.1s linear;
    border-radius: 0 0 16px 16px;
}

/* creator name link hover */
.creator-link:hover {
    color: #101EC5 !important;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .custom-visibility-notification {
        top: 20px;
        right: 16px;
        left: 16px;
        max-width: none;
        width: auto;
    }
    
    .custom-visibility-notification .notification-content {
        padding: 16px 18px 14px 18px;
        gap: 12px;
    }
    
    .custom-visibility-notification .notification-icon {
        width: 40px;
        height: 40px;
    }
    
    .custom-visibility-notification .notification-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .custom-visibility-notification .notification-title {
        font-size: 14px;
    }
    
    .custom-visibility-notification .notification-message {
        font-size: 13px;
    }
}

/* ============================================
   INLINE VIDEO PLAYER STYLES
   ============================================ */

.video-thumbnail-wrapper .video-player-inline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    z-index: 10;
}

.video-thumbnail-wrapper .video-player-inline::-webkit-media-controls-play-button,
.video-thumbnail-wrapper .video-player-inline::-webkit-media-controls-timeline,
.video-thumbnail-wrapper .video-player-inline::-webkit-media-controls-current-time-display,
.video-thumbnail-wrapper .video-player-inline::-webkit-media-controls-time-remaining-display,
.video-thumbnail-wrapper .video-player-inline::-webkit-media-controls-mute-button,
.video-thumbnail-wrapper .video-player-inline::-webkit-media-controls-volume-slider,
.video-thumbnail-wrapper .video-player-inline::-webkit-media-controls-fullscreen-button {
    opacity: 0.9;
}

.video-thumbnail-wrapper .video-player-inline::-webkit-media-controls-enclosure {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    padding: 4px 8px;
}

.video-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.video-close-btn:hover {
    background: rgba(220, 53, 69, 0.9);
    transform: scale(1.1);
}

.video-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.video-badges .badge {
    pointer-events: auto;
}

/* For modal videos as well */
.premium-video-card .video-thumb .video-player-inline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    z-index: 10;
}

.premium-video-card .video-thumb .video-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.premium-video-card .video-thumb .video-close-btn:hover {
    background: rgba(220, 53, 69, 0.9);
    transform: scale(1.1);
}

@keyframes pulse-border {
    0%, 100% {
        border-color: #101ec5;
    }
    50% {
        border-color: rgba(16, 30, 197, 0.3);
    }
}

.btn-load-more.gradient.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(16, 30, 197, 0.25);
    }
    50% {
        box-shadow: 0 4px 35px rgba(16, 30, 197, 0.45);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .btn-load-more {
        padding: 12px 28px;
        font-size: 14px;
        min-width: 160px;
        width: 100%;
        max-width: 320px;
    }
    
    .btn-load-more .btn-icon-load svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Main Container */
    .videos-list-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-visibility-toggle {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
    
    .videos-tabs .nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .videos-tabs .nav-link svg {
        width: 16px;
        height: 16px;
    }
    
    .video-thumbnail-wrapper {
        height: 160px;
    }
    
    .video-info {
        padding: 14px 16px 16px;
    }
    
    .video-title {
        font-size: 15px;
    }
    
    .form-card-header {
        padding: 16px 0px;
    }
    
    .form-card-body {
        padding: 0;
    }
    
    .upload-area {
        min-height: 120px;
        padding: 16px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }

    /* Modal */
    #upcomingVideosModal .modal-header {
        padding: 16px 20px;
    }
    
    #upcomingVideosModal .modal-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    #upcomingVideosModal .modal-title {
        font-size: 17px;
    }
    
    #upcomingVideosModal .modal-body {
        padding: 16px;
    }
    
    .premium-video-card .video-thumb {
        height: 160px;
    }
}