/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 /*
 * wpee-member-video.css
 * Member-card profile-video styles.
 *
 * Enqueue via:
 *   wp_enqueue_style( 'wpee-member-video', plugin_dir_url(__FILE__) . 'assets/wpee-member-video.css', array(), '1.3.0' );
 *
 * @package Wpdating_Elementor_Extension
 * @since   1.3.0
 */

/* ==========================================================================
   WPEE MODERN APP USER CARDS PRESENTATION LAYOUT
   ========================================================================== */

/* Container Item Overrides */
.wpee-modern-card-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto;
    width: 100%;
    max-width: 280px; /* Aligns to standard app-card presentation scales */
}

/* Master Aspect-Ratio Flex Frame Box */
/* Master Grid Media Box defaults */
.wpee-modern-media-box {
    position: relative;
    width: 100%;
    height: 410px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #1a1926; /* Dynamic card container background color match */
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.wpee-modern-media-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

/* Video wrapper size constraint setup */
.wpee-member-video-wrap,
.wpee-member-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a1926; /* Matches premium aesthetic, removing generic pure black */
}

/* Base Asset Fitment */
.wpee-modern-bg-asset {
    width: 100%;
    height: 100% !important; /* Forces the asset to span the full 410px card height */
    object-fit: cover;       /* Prevents stretching/distortion by cropping cleanly */
    display: block;
}

.wpee-modern-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
}

/* ── Hover: gently zoom the video / image cards ─────── */
.wpee-modern-media-box:hover .wpee-modern-bg-asset {
    transform: scale(1.04);
}

/* Floating Online Status Tag */
.wpee-modern-status-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.wpee-modern-status-tag .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.wpee-modern-status-tag.is-online .status-dot {
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
}

.wpee-modern-status-tag.is-offline .status-dot {
    background: #95a5a6;
}

.wpee-modern-status-tag .status-text {
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

/* Centered Translucent Play Button Overlay */
.wpee-modern-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 54px;
    height: 54px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.3s ease;
    opacity: 1;
}

/* Fade the play button out once the video is playing */
.wpee-member-video-wrap.is-playing .wpee-modern-play-overlay {
    opacity: 0;
}

.wpee-modern-media-box:hover .wpee-modern-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 0, 0, 0.7);
}

.play-icon-inner {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #ffffff;
    margin-left: 4px; /* Centers triangle weight offset */
}

/* ── "VIDEO" badge ───────────────────────────────────────────────────── */
.wpee-video-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wpee-video-badge svg {
    flex-shrink: 0;
}

/* Card Bottom Scrim and Typography */
.wpee-modern-scrim-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Creates a beautiful gradient fade so text remains highly readable over any light image background */
    background: linear-gradient(to top, rgba(26, 25, 38, 0.95) 0%, rgba(26, 25, 38, 0.8) 50%, rgba(26, 25, 38, 0) 100%);
    padding: 35px 20px 20px 20px; /* Enhanced top padding for smoother transition gradient */
    box-sizing: border-box;
    z-index: 3; /* Pushes the text and button safely in front of the image/video asset */
}

.wpee-modern-profile-title {
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.2px;
}

.wpee-modern-profile-title .profile-age {
    font-weight: 500;
}

/* MeetEm navy & violet CTA buttons (Watch & MeetEm Now) */
.wpee-modern-cta-container {
    width: 100%;
}

.wpee-modern-purple-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between the chat icon and button text */
    width: 100%;
    background: #0b0033; /* Deep navy / midnight blue */
    color: #ffffff !important;
    border: 2px solid #7b00d3; /* Electric purple accent */
    outline: none;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px rgba( 123, 0, 211, 0.15 );
}

.wpee-modern-purple-btn:hover {
    background: #0b0033;
    border-color: #7b00d3;
    box-shadow: 0 0 14px rgba( 123, 0, 211, 0.45 );
}

.wpee-modern-purple-btn:active {
    transform: scale(0.98);
    box-shadow: 0 0 8px rgba( 123, 0, 211, 0.35 );
}

.wpee-modern-purple-btn .btn-icon {
    font-size: 14px;
}

/* Chat Icon SVG Element metrics */
.wpee-modern-purple-btn .btn-chat-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.wpee-modern-purple-btn .btn-text {
    line-height: 1;
}

/* ==========================================================================
   MEETEM MODAL VIDEO PLAYER COMPONENT UI
   ========================================================================== */

.wpee-pipeline-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 11, 23, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.wpee-pipeline-modal-inner {
    width: 100%;
    max-width: 480px;
    height: 85vh;
    max-height: 700px;
    background: #121122;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wpee-pipeline-header {
    padding: 18px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.wpee-pipeline-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpee-pipeline-title {
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.wpee-pipeline-close-btn {
    color: rgba(255, 255, 255, 0.6);
    font-size: 30px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.wpee-pipeline-close-btn:hover {
    color: #ffffff;
}

.wpee-pipeline-body {
    flex: 1;
    width: 100%;
    height: 100%;
    background: #000000;
}

.wpee-pipeline-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpee-pipeline-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px 20px;
    background: linear-gradient(to top, #121122 60%, rgba(18, 17, 34, 0.7) 85%, transparent);
    z-index: 10;
}

.wpee-pipeline-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpee-pipeline-row-main, .wpee-pipeline-row-navigation {
    display: flex;
    gap: 10px;
    width: 100%;
}

.wpee-pipeline-btn {
    flex: 1;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    color: #ffffff !important;
}

.wpee-pipeline-btn-purple {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

.wpee-pipeline-btn-teal {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.wpee-pipeline-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.wpee-pipeline-nav-arrow {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0 !important;
    padding: 10px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.wpee-pipeline-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.wpee-modal-trigger-card {
    cursor: pointer;
}

/* ── POINTER INTERCEPT OVERRIDES ── */
/* Allows cursor events to hit the media wrappers for uninterrupted video hover play */
.wpee-modern-media-box,
.wpee-modern-media-box .wpee-modern-bg-asset,
.wpee-modern-media-box video,
.wpee-modern-media-box .wpee-modern-link-wrapper {
    pointer-events: auto !important;
}

/* Allows mouse events to drop past presentation labels to trigger loops */
.wpee-modern-status-tag,
.wpee-modern-play-overlay,
.wpee-modern-scrim-footer,
.wpee-modern-profile-title,
.wpee-modern-card-hook,
.wpee-video-badge {
    pointer-events: none;
}

/* Explicitly restores mouse control over primary interaction links */
.wpee-modern-cta-container,
.wpee-modern-purple-btn {
    pointer-events: auto !important;
}

/* ==========================================================================
   PROFILE HEADER VIDEO THUMBNAIL
   ========================================================================== */

.profile-img figure .wpee-profile-header-video-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    background: #1a1926;
}

.wpee-profile-header-video-poster {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wpee-profile-header-video-wrap:hover .wpee-profile-header-video-poster {
    transform: scale(1.05);
}

.wpee-profile-header-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
    pointer-events: none;
}

.wpee-profile-header-video-wrap:hover .wpee-profile-header-play-overlay {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(0, 0, 0, 0.7);
}

.wpee-profile-header-video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.wpee-profile-header-video-badge svg {
    flex-shrink: 0;
}

img.img.wpee-profile-header-video-poster {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

/* ── Reduced-motion: skip animation, show poster via CSS ─────────────── */
@media (prefers-reduced-motion: reduce) {
    .wpee-member-video {
        display: none;
    }
    .wpee-member-video-wrap::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--wpee-video-poster, #111) center / cover no-repeat;
    }
    .wpee-modern-play-overlay,
    .wpee-video-badge {
        display: none;
    }
}

/* ==========================================================================
   HOMEPAGE MEMBERS LIST WIDGET
   ========================================================================== */

.wpee-homepage-members-widget {
    width: 100%;
}

.wpee-homepage-members-title {
    margin: 0 0 20px;
    font-size: clamp( 1.35rem, 2.5vw, 1.85rem );
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.wpee-homepage-members-tab-nav {
    display: flex;
    align-items: flex-end;
    gap: 28px;
    margin: 0 0 18px;
    padding: 0;
    border-bottom: 1px solid rgba( 18, 17, 34, 0.08 );
}

.wpee-homepage-tab-btn {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    margin: 0 0 -1px;
    padding: 0 0 12px;
    color: #121122;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.wpee-homepage-tab-btn:hover {
    color: #5d3df2;
}

.wpee-homepage-tab-btn.is-active {
    color: #5d3df2;
    border-bottom-color: #5d3df2;
}

a.wpee-homepage-tab-btn {
    display: inline-block;
    text-decoration: none;
}

a.wpee-homepage-tab-btn:hover {
    text-decoration: none;
}

.wpee-profile-section-tab-nav {
    margin-bottom: 22px;
}

.wpee-modern-member-list-grid.main-member-list-wrap,
.wpee-member-list-content .main-member-list-wrap.wpee-modern-member-list-grid {
    display: grid !important;
    align-items: stretch;
    flex-wrap: unset;
    margin: 0;
}

.wpee-modern-card-extra-actions {
    margin-top: 10px;
    text-align: center;
    pointer-events: auto !important;
}

.wpee-modern-card-extra-actions .wpee-remove-fav {
    color: rgba( 255, 255, 255, 0.85 );
    font-size: 12px;
    text-decoration: none;
}

.wpee-modern-card-extra-actions .wpee-remove-fav:hover {
    color: #ffffff;
}

.wpee-homepage-members-panel {
    display: none;
}

.wpee-homepage-members-panel.is-active {
    display: block;
}

/* Override legacy flex layout from .main-member-list-wrap on member pages */
.wpee-homepage-members-widget.wpee-member-list-content .main-member-list-wrap,
.wpee-homepage-members-widget .wpee-homepage-members-grid {
    display: grid !important;
    align-items: stretch;
    flex-wrap: unset;
    margin: 0;
}

.wpee-homepage-members-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px 12px;
}

.wpee-homepage-members-load-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 8px 0 24px;
    padding: 8px 0 0;
}

.wpee-homepage-members-load-footer.is-hidden {
    display: none;
}

.wpee-homepage-load-sentinel {
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.wpee-homepage-load-more-btn {
    appearance: none;
    border: 2px solid #7b00d3;
    border-radius: 999px;
    background: #0b0033;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 28px;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.wpee-homepage-load-more-btn:hover:not(:disabled) {
    box-shadow: 0 0 14px rgba( 123, 0, 211, 0.45 );
}

.wpee-homepage-load-more-btn:disabled {
    cursor: default;
    opacity: 0.65;
}

.wpee-homepage-members-load-footer.is-loading .wpee-homepage-load-more-btn {
    opacity: 0.55;
    pointer-events: none;
}

.wpee-homepage-load-status {
    margin: 0;
    min-height: 1.25em;
    font-size: 13px;
    line-height: 1.4;
    color: rgba( 18, 17, 34, 0.65 );
    text-align: center;
}

.wpee-modern-scrim-footer .wpee-modern-card-hook {
    margin: 0 0 8px;
    padding: 0;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    color: rgba( 255, 255, 255, 0.88 ) !important;
    text-align: center;
    text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.45 );
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media ( min-width: 1200px ) {
    .wpee-homepage-members-widget .wpee-homepage-members-grid {
        grid-template-columns: repeat( var( --wpee-homepage-columns, 4 ), minmax( 0, 1fr ) ) !important;
    }
}

/* Message gating (modal only) */
.wpee-modal-message-hint {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: rgba( 255, 255, 255, 0.82 );
    text-align: center;
}

.wpee-pipeline-btn.is-gated {
    background: linear-gradient( 135deg, #7c3aed 0%, #5b21b6 100% );
}

/* Keep login/register popup above any lingering video modal state */
body:has( .wpee-register-form.is-open ) #wpeeVideoModalContainer {
    display: none !important;
    pointer-events: none;
    visibility: hidden;
}

body:has( .site-info-popup-main-wrapper.is-open ) #wpeeVideoModalContainer,
body:has( #wpeeMembershipUpgradePopup.is-open ) #wpeeVideoModalContainer {
    display: none !important;
    pointer-events: none;
    visibility: hidden;
}

.wpee-membership-upgrade-popup {
    position: fixed;
    inset: 0;
    z-index: 10000001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba( 0, 0, 0, 0.82 );
}

.wpee-membership-upgrade-popup.is-open {
    display: flex;
}

.wpee-membership-upgrade-popup-inner {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 60px rgba( 0, 0, 0, 0.35 );
}

.wpee-membership-upgrade-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.wpee-membership-gate-popup {
    text-align: center;
}

.wpee-membership-gate-popup .wpee-icn-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba( 223, 23, 86, 0.12 );
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpee-membership-gate-popup .wpee-icn-wrapper svg {
    width: 28px;
    height: 28px;
    fill: #df1756;
}

.wpee-membership-gate-popup h5 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #121122;
}

.wpee-membership-gate-popup .wpee-upgrade-content {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.wpee-membership-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpee-membership-gate-popup .wpee-upgrade-btn {
    display: inline-block;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #df1756;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.wpee-membership-gate-popup .wpee-upgrade-btn.wpee-upgrade-dismiss {
    background: #ececf1;
    color: #333;
}

/* ==========================================================================
   PROFILE MEDIA TYPE SELECTOR (EDIT PROFILE)
   ========================================================================== */

.wpee-profile-media-upload {
    display: block;
    width: 100%;
}

.wpee-profile-media-type-wrap {
    width: 100%;
    margin-bottom: 24px;
}

.wpee-profile-media-type-header {
    margin-bottom: 14px;
}

.wpee-profile-media-type-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.wpee-profile-media-type-subtitle {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

.wpee-profile-media-type-cards {
    display: grid;
    grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
    gap: 14px;
}

.wpee-media-type-card {
    display: block;
    margin: 0;
    cursor: pointer;
}

.wpee-media-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wpee-media-type-card-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 92px;
    padding: 16px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.wpee-media-type-card:hover .wpee-media-type-card-inner {
    border-color: #cfcfcf;
    box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.06 );
}

.wpee-media-type-card input[type="radio"]:focus-visible + .wpee-media-type-card-inner {
    outline: 2px solid var( --color-primary, #df1756 );
    outline-offset: 2px;
}

.wpee-media-type-card input[type="radio"]:checked + .wpee-media-type-card-inner {
    border-color: var( --color-primary, #111 );
    background: rgba( 0, 0, 0, 0.02 );
    box-shadow: 0 8px 22px rgba( 0, 0, 0, 0.08 );
}

.wpee-media-type-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    font-size: 18px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wpee-media-type-card input[type="radio"]:checked + .wpee-media-type-card-inner .wpee-media-type-icon {
    background: var( --color-primary, #111 );
    color: #fff;
}

.wpee-media-type-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-right: 24px;
}

.wpee-media-type-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
}

.wpee-media-type-hint {
    display: block;
    font-size: 12px;
    color: #777;
    line-height: 1.45;
}

.wpee-media-type-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #d9d9d9;
    color: transparent;
    font-size: 11px;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wpee-media-type-card input[type="radio"]:checked + .wpee-media-type-card-inner .wpee-media-type-check {
    border-color: var( --color-primary, #111 );
    background: var( --color-primary, #111 );
    color: #fff;
}

.wpee-profile-media-preview-wrap {
    margin-bottom: 18px;
}

.wpee-profile-media-preview-wrap img,
.wpee-profile-media-preview-wrap video {
    max-width: 320px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}

@media ( max-width: 767px ) {
    .wpee-profile-media-type-cards {
        grid-template-columns: 1fr;
    }
}