/* ========== VIDEO GRID STYLES ========== */

/* Default Desktop - 4 columns */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
}

.video-thumb .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-thumb .play-btn svg {
    width: 36px;
    height: 36px;
}

.card-body {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 10px;
    flex-grow: 1;
}

/* Tablet - 3 columns */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet - 2 columns */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Mobile - 2 columns (keep same, just smaller) */
@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ========== VIDEO POPUP STYLES ========== */

/* Popup overlay */
.video-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Popup content */
.video-popup-content {
    position: relative;
    background: #000;
    max-width: 90%;
    width: 600px;
    border-radius: 10px;
    overflow: hidden;
}

/* Close button */
.video-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
}

/* Popup video */
.video-popup video {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile fullscreen */
@media (max-width: 576px) {
    .video-popup-content {
        width: 100%;
        height: auto;
        border-radius: 0;
    }
}

/* Popup container */
.video-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Popup inner box */
.video-popup-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    /* desktop max */
    max-height: 90vh;
    /* don’t overflow screen */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* The video itself */
.video-popup-content video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    /* <-- keeps full video without cropping */
    border-radius: 10px;
}

/* Close button */
.video-popup .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

/* Responsive */
@media (max-width: 768px) {
    .video-popup-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .button_section a {
        font-size: 10px;
    }
}

/* ========== PRICING MODAL STYLES (MOBILE-OPTIMIZED) ========== */

.pricing-modal {
    display: none;
    position: fixed;
    z-index: 10050;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.pricing-modal.show {
    display: flex !important;
}

/* Modal Card Container */
.pricing-modal .modal-card {
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    box-sizing: border-box;
    position: relative;
    min-height: 500px;
}

/* Left Column - Packages */
.pricing-modal .modal-left {
    padding: 40px 30px;
    background: #fafafa;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    max-height: 85vh;
    box-sizing: border-box;
}

.pricing-modal .packages-container {
    max-width: 100%;
}

.pricing-modal .modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 25px 0;
    text-align: center;
    border-bottom: 3px solid #e91e63;
    display: inline-block;
    padding-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
}

.pricing-modal .package-item {
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.pricing-modal .package-item {
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
    border-color: #e91e63;
}

.pricing-modal .package-item.premium {
    background: linear-gradient(135deg, #f6fff4 0%, #fff 100%);
    border-color: #198754;
}

.pricing-modal .package-name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
}

.pricing-modal .package-price {
    font-size: 20px;
    font-weight: 700;
    color: #e91e63;
    margin: 0 0 12px 0;
}

.pricing-modal .package-item.premium .package-price {
    color: #198754;
}

.pricing-modal .package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

.pricing-modal .package-features li {
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.pricing-modal .package-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: bold;
}

.pricing-modal .package-note {
    font-size: 12px;
    color: #999;
    margin: 8px 0 0 0;
    font-style: italic;
}

.pricing-modal .language-note {
    font-size: 12px;
    color: #666;
    background: #fff3cd;
    padding: 10px;
    border-radius: 6px;
    margin-top: 16px;
    text-align: center;
}

/* Right Column - WhatsApp CTA */
.pricing-modal .modal-right {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #fff 100%);
}

.pricing-modal .whatsapp-cta-container {
    text-align: center;
    width: 100%;
}

.pricing-modal .whatsapp-icon {
    width: 80px;
    height: 80px;
    color: #128C7E;
    margin: 0 auto;
}

.pricing-modal .whatsapp-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
}

.pricing-modal .whatsapp-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.pricing-modal .order-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #128C7E 0%, #0d6b63 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #128C7E;
}

.pricing-modal .order-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
    background: linear-gradient(135deg, #0d6b63 0%, #0a5250 100%);
}

.pricing-modal .whatsapp-footer {
    font-size: 11px;
    color: #999;
    margin-top: 16px;
}

/* Close button */
.pricing-modal .close-small {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 26px;
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10060;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pricing-modal .close-small:hover {
    background: #f0f0f0;
    color: #222;
}






.myio-reset-filter{
    font-size: 14px;
    text-decoration: none;
    color: #807676 !important;
    line-height: 1;
    text-decoration: underline;
}
.myio-reset-filter:hover,
.myio-reset-filter:hover svg path{
    fill: #000 !important;
    color: #000 !important;
}
.myio-reset-filter svg{
    vertical-align: middle;
    margin-right: 2px;
}
body.page-video .banner_title{
	display:none;
}


.myio-video-filter {
    padding: 10px 0 20px;
}

.myio-video-filter form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
	justify-content: center;
}

/* Base style for all selects */
.myio-video-filter select {
    position: relative;
    padding: 8px 40px 8px 16px;
    min-width: 170px;
    border-radius: 999px; /* pill */
    border: 1px solid #FF7396;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #111827;
    cursor: pointer;

    /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* custom arrow (small chevron) */
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;

    box-shadow: 0 2px 4px rgba(255, 115, 150, 0.12);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.myio-video-filter select:hover {
    border-color: #FF7396;
    box-shadow: 0 4px 10px rgba(255, 115, 150, 0.28);
    transform: translateY(-1px);
}

.myio-video-filter select:focus {
    outline: none;
    border-color: #FF7396;
    box-shadow:
        0 0 0 2px #ffb9ca,
        0 4px 12px rgba(255, 115, 150, 0.4);
}

/* Placeholder option color */
.myio-video-filter select option:first-child {
    color: #6B7280;
}

.myio-no-videos{
	text-align:center;
}

body .video-card{
	border-radius:0;
}

body .video-thumb{
	border-radius:12px;
}






/* ========== TABLET RESPONSIVENESS (860px and below) ========== */
@media (max-width: 860px) {
    .pricing-modal .modal-card {
        grid-template-columns: 1fr;
        min-height: auto;
        max-width: 95%;
    }

    .pricing-modal .modal-left {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 30px 20px;
        max-height: none;
    }

    .pricing-modal .modal-right {
        padding: 30px 20px;
    }

    .pricing-modal .modal-title {
        font-size: 20px;
    }

    .pricing-modal .package-item {
        padding: 16px;
        margin-bottom: 12px;
    }

    .pricing-modal .whatsapp-icon {
        width: 70px;
        height: 70px;
    }

    .pricing-modal .whatsapp-title {
        font-size: 18px;
    }
}




/* Mobile: full-width filters on small screens */
@media (max-width: 640px) {
    .myio-video-filter form {
        flex-direction: column;
        align-items: stretch;
    }

    .myio-video-filter select {
        width: 100%;
    }
    body.page-video main > .container{
		padding:0;
	}
	.video-card .card-body{
		padding-left: 0;
    padding-right: 0;
	}

	body .video-grid{
		    margin-top: 10px;
	}
    .myio-reset-filter{
        margin-top: .5rem;
    }

}

/* ========== MOBILE RESPONSIVENESS (600px and below) ========== */
@media (max-width: 600px) {
    .pricing-modal {
        padding: 12px;
        align-items: flex-start;
        padding-top: 30px;
    }

    .pricing-modal .modal-card {
        display: flex;
        flex-direction: column;
        border-radius: 12px;
        max-width: 100%;
        min-height: auto;
        max-height: 90vh;
    }

    .pricing-modal .modal-left {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 20px 16px;
        max-height: 50vh;
        overflow-y: auto;
    }

    .pricing-modal .modal-right {
        padding: 20px 16px;
        flex-shrink: 0;
    }

    .pricing-modal .modal-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .pricing-modal .package-item {
        padding: 14px;
        margin-bottom: 10px;
    }

    .pricing-modal .package-name {
        font-size: 15px;
    }

    .pricing-modal .package-price {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .pricing-modal .package-features {
        font-size: 12px;
        line-height: 1.6;
    }

    .pricing-modal .package-features li {
        margin-bottom: 4px;
    }

    .pricing-modal .order-btn-primary {
        padding: 12px 24px;
        font-size: 13px;
    }

    .pricing-modal .whatsapp-icon {
        width: 60px;
        height: 60px;
    }

    .pricing-modal .whatsapp-title {
        font-size: 16px;
    }

    .pricing-modal .whatsapp-subtitle {
        font-size: 12px;
    }

    .pricing-modal .close-small {
        width: 28px;
        height: 28px;
        font-size: 22px;
    }

    .pricing-modal .language-note {
        font-size: 11px;
        padding: 8px;
    }
}

/* ========== EXTRA SMALL MOBILE (480px and below) ========== */
@media (max-width: 480px) {
    .pricing-modal .modal-card {
        margin: 0;
    }

    .pricing-modal .modal-left,
    .pricing-modal .modal-right {
        padding: 16px 12px;
    }

    .pricing-modal .modal-title {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .pricing-modal .package-item {
        padding: 12px;
        margin-bottom: 8px;
    }

    .pricing-modal .package-name {
        font-size: 14px;
    }

    .pricing-modal .package-price {
        font-size: 16px;
    }

    .pricing-modal .package-features {
        font-size: 11px;
    }

    .pricing-modal .order-btn-primary {
        padding: 11px 20px;
        font-size: 12px;
    }

    .button_section a {
        font-size: 12px;
        padding: 8px 12px;
    }

    .pricing-modal .whatsapp-cta-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .pricing-modal .whatsapp-icon {
        width: 55px;
        height: 55px;
    }

    .pricing-modal .whatsapp-title {
        font-size: 15px;
    }

    .pricing-modal .whatsapp-subtitle {
        font-size: 11px;
    }

    .pricing-modal .whatsapp-footer {
        font-size: 10px;
    }
}


/* contact support */

.myio-no-videos-wrap {
    text-align: center;
    padding: 60px 20px 70px;
    margin: 40px 0 20px;
    background: #fff5f8;
    border-radius: 18px;
    border: 1px dashed #ffbdd0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
}

.myio-no-videos-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffedf3;
    font-size: 26px;
    margin-bottom: 16px;
}

.myio-no-videos-heading {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
}

.myio-no-videos-text {
    font-size: 0.98rem;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.6;
}

.contact-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    background: #FF7396; /* brand color */
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 115, 150, 0.35);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.contact-support-link::after {
    content: "↗";
    margin-left: 8px;
    font-size: 0.9rem;
}

.contact-support-link:hover {
    background: #ff577f;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 87, 127, 0.45);
}

.contact-support-link:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(255, 87, 127, 0.35);
}

@media (max-width: 600px) {
    .myio-no-videos-wrap {
        padding: 40px 16px 50px;
    }

    .myio-no-videos-heading {
        font-size: 1.2rem;
    }

    .myio-no-videos-text {
        font-size: 0.9rem;
    }
}
