/* ========================================
   Single Post Video Display CSS
   Path: assets/css/video-display-single.css
   IDENTICAL formatting to video-display-others.css
   ======================================== */

.amum-single-video-wrapper {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Single Video Card - Same as Grid Cards */
.amum-video-card-single {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

/* Menu Above/Below Video */
.amum-menu-top,
.amum-menu-bottom {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.amum-menu-bottom {
    border-bottom: none;
    border-top: 1px solid #e9ecef;
}

/* Film Strip - IDENTICAL to video-display-others.css */
.amum-film-strip-container {
    position: relative;
    display: flex;
    width: 100%;
    background: #000;
}

.amum-film-left,
.amum-film-right {
    width: 20px;
    background: repeating-linear-gradient(to bottom,
            #333 0px,
            #333 8px,
            #000 8px,
            #000 12px);
    flex-shrink: 0;
}

/* Video Thumbnail */
.amum-video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}

.amum-video-thumbnail img,
.amum-video-thumbnail video,
.amum-thumbnail-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnail Wrapper with Play Button */
.amum-thumbnail-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Big Centered Play Button - IDENTICAL to video-display-others.css */
.amum-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.amum-thumbnail-wrapper:hover .amum-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.amum-play-icon-large {
    width: 100px;
    height: 100px;
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.amum-thumbnail-wrapper:hover .amum-play-icon-large {
    transform: scale(1.1);
}

/* Video Player */
.amum-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.amum-video-player iframe,
.amum-video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Badges - IDENTICAL */
.amum-media-badge,
.amum-free-badge {
    position: absolute;
    top: 10px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.amum-media-badge {
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.amum-free-badge {
    left: 10px;
    background: #4CAF50;
    color: #fff;
}

/* PRO Badge - Yellow */
.amum-pro-badge {
    background: #FFD700 !important;
    color: #000 !important;
}

/* Navigation Bar - Single Row with Clear White Text Labels */
.amum-navigation-bar {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    justify-content: center;
    flex-wrap: wrap;
}

.amum-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amum-nav-btn:hover {
    background: rgba(33, 150, 243, 0.9);
    transform: translateY(-2px);
}

.amum-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.amum-btn-label {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.amum-btn-back:hover {
    background: rgba(108, 117, 125, 0.9) !important;
}

.amum-btn-close:hover {
    background: rgba(220, 53, 69, 0.9) !important;
}

.amum-btn-download:hover {
    background: rgba(0, 123, 255, 0.9) !important;
}

.amum-btn-payment {
    background: rgba(255, 193, 7, 0.9) !important;
    border-color: #ffc107 !important;
}

.amum-btn-payment:hover {
    background: rgba(255, 152, 0, 0.9) !important;
}

/* Payment Modal */
.amum-payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.amum-payment-modal.active {
    display: block;
}

.amum-payment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.amum-payment-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 10vh auto;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    z-index: 100000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.amum-payment-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amum-payment-close:hover {
    background: #c0392b;
    transform: rotate(90deg);
}

.amum-payment-content h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #2c3e50;
    text-align: center;
}

.amum-payment-price {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 30px;
}

.amum-payment-price span {
    color: #e74c3c;
}

.amum-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amum-payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amum-mpesa-btn {
    background: #27ae60;
    color: #fff;
}

.amum-mpesa-btn:hover {
    background: #229954;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.amum-paypal-btn {
    background: #0070ba;
    color: #fff;
}

.amum-paypal-btn:hover {
    background: #005ea6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4);
}

.amum-payment-btn span:first-child {
    font-size: 28px;
}

/* Video Info - IDENTICAL */
.amum-video-info {
    padding: 15px;
}

.amum-video-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #222;
    line-height: 1.4;
}

.amum-video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.amum-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.amum-icon {
    width: 16px;
    height: 16px;
}

.amum-video-date {
    font-size: 12px;
    color: #999;
}

/* Video Description */
.amum-video-description {
    padding: 15px;
    border-top: 1px solid #eee;
    line-height: 1.6;
    color: #444;
}

/* Action Icons - Below All Posts */
.amum-post-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px auto;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
}

.amum-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
    transition: all 0.3s ease;
    min-width: 120px;
}

.amum-action-btn:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.amum-action-icon {
    width: 28px;
    height: 28px;
}

.amum-action-btn:hover .amum-action-icon {
    fill: #fff;
}

.amum-action-btn span {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .amum-single-video-wrapper {
        padding: 10px;
    }

    .amum-navigation-bar {
        gap: 8px;
        padding: 10px;
    }

    .amum-nav-btn {
        padding: 8px 15px;
        font-size: 11px;
    }

    .amum-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .amum-play-icon-large {
        width: 80px;
        height: 80px;
    }

    .amum-video-title {
        font-size: 18px;
    }

    .amum-post-actions {
        gap: 10px;
        padding: 15px;
    }

    .amum-action-btn {
        min-width: 90px;
        padding: 12px 15px;
        font-size: 12px;
    }

    .amum-action-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .amum-navigation-bar {
        flex-direction: column;
    }

    .amum-nav-btn {
        width: 100%;
        justify-content: center;
    }

    .amum-post-actions {
        flex-direction: row;
    }

    .amum-action-btn {
        flex: 1;
        min-width: auto;
    }
}