html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

.wc-media-page {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.wc-media-center {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wc-media-center-body {
    flex: 1;
    min-height: 0;
}

.wc-media-footer {
    flex-shrink: 0;
}

html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
.wc-media-page {
    min-height: 100vh;
    min-height: 100svh;
}
.wc-media-page {
    min-height: 100svh;      /* iOS-safe */
    display: flex;
    flex-direction: column;
}
.wc-media-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;                 /* ← THIS WAS MISSING */
    width: 100%;
}
.media-center-contener {
    width: 100%;
}
.media-center-contener-row {
    max-width: 800px;
    width: 100%;
    margin:0 auto !important;
    padding: 15px;
}
.wc-media-center-body {
    flex: 1;
    min-height: 0;           /* IMPORTANT for Safari */
    width: 100%;
    background-color: #1e3453;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.wc-media-center-hed .media-center-contener-row * {
    margin: 0 !important;
}
.wc-media-center-hed h1 {
    font-size: 36px;
}
.wc-media-center-hed img {
    height: 60px;
}
.wc-media-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-shrink: 0;
    min-height: 40px;
}
.wc-media-footer .wc-media-expiry {
    display: flex;
    align-items: center;
    font-size: 18px !important;
    gap: 12px;
}
a.wc-media-download {
    padding: 10px 20px;
    border: 2px solid #1f3452;
    border-radius: 10px;
    color: #1f3452;
    font-size: 18px !important;
}
a.wc-media-download {
    color: #fff;
    background-color:#1f3452;
}
.wc-media-expired h2 {
    color: #fff;
    margin: 0 !important;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 30px;
}
.wc-media-expired svg,
.wc-media-expired svg * {
    fill: #fff;
} 
.wc-media-expired {
    display: flex;
    align-items: center;
    align-items: center;
    justify-content: center;
}
.d-none {
    display: none !important;
}
.wc-media-play-btn svg {
    width: 30px;
    height: 30px;
    fill: #1e3453;
}
.wc-media-play-btn svg * {
    fill: #1e3453;
}
.wc-media-player * {
    text-align: center;    
}
.wc-media-player {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.wc-media-logo {
    font-size: 100px;
    color: #fc0066;
    margin-bottom: 10px;
    line-height: normal;
}
.wc-media-sub {
    color: #fff;
    text-transform: capitalize;
    font-size: 40px;
}
button.wc-media-play-btn {
    background: #fff;
    border: 0;
    border-radius: 100%;
    opacity: 0.8;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
button.wc-media-play-btn:hover {
    opacity: 1;
}
.wc-media-logo-poster {
    position: relative;
}
.media-logo-poster-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-media-player video {
    max-height: 100%;
    max-width: 100%;
}
.wc-media-player audio {
    width: 100%;
    margin: 15px;

}
.wc-media-logo-poster {
    position: relative;
    margin: auto;
}
.media-view-banner img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.media-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

.media-lightbox-content{
    position:relative;
    max-width:90%;
    max-height:90%;
}

.media-lightbox img,
.media-lightbox video{
    max-width:100%;
    max-height:100%;
}

.media-lightbox-close{
    position:absolute;
    top:20px;
    right:20px;
    background:none;
    border:0;
    color:#fff;
    font-size:32px;
    cursor:pointer;
    z-index:100000;
}
.wc-media-footer {
    flex-shrink: 0;
    min-height: 40px;
}