/* OVH Multiscreen Video Chat Styles */
.omvc-wrapper {
    position: relative;
    background: #121212;
    color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

.omvc-title {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.omvc-join-panel {
    padding: 40px 20px;
}

.omvc-join-text {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.omvc-btn-primary {
    padding: 14px 28px;
    font-size: 16px;
    background: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.omvc-btn-primary:hover {
    background: #005d8c;
}

/* Video Grid */
.omvc-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
    justify-content: center;
}

.video-box {
    position: relative;
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 2px solid #2c2c2c;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-box.local video {
    transform: scaleX(-1);
}

.video-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
}

/* Video Overlay Control Buttons */
.controls-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 20;
}

.control-btn {
    position: relative;
    background: rgba(20, 20, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.control-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.control-btn:hover {
    background: #0073aa;
    border-color: #0073aa;
    transform: translateY(-1px);
}

.control-btn.disabled {
    background: #d32f2f;
    border-color: #d32f2f;
}

.control-btn.favorited {
    background: #e91e63;
    border-color: #e91e63;
}

.control-btn.favorited svg {
    fill: #ffffff;
}

.control-btn.vip-locked {
    border-color: #ffc107;
}

.star-top-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 15px;
    height: 15px;
    background: #ffc107;
    color: #121212;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.star-top-badge svg {
    width: 10px;
    height: 10px;
    fill: #121212;
    stroke: #121212;
}

.unread-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3b30;
    color: #ffffff;
    border-radius: 50%;
    width: 11px;
    height: 11px;
    display: none;
    border: 1px solid #ffffff;
}

.omvc-btn-leave {
    background: #d32f2f;
    color: #ffffff;
    padding: 12px 26px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease;
}

.omvc-btn-leave:hover {
    background: #b71c1c;
}

/* Promotional Ticket Banner */
.omvc-ticket-banner {
    background: #fff3cd;
    border: 2px dashed #ffc107;
    color: #856404;
    padding: 15px 20px;
    margin-top: 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.omvc-banner-btn {
    background: #dc3545;
    color: #ffffff !important;
    padding: 8px 16px;
    text-decoration: none !important;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s ease;
}

.omvc-banner-btn:hover {
    background: #bd2130;
}

/* Private Chat Modal Box */
.omvc-pm-modal {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 330px;
    background: #1e1e1e;
    border: 1px solid #444444;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.65);
    z-index: 9999;
    overflow: hidden;
    text-align: left;
}

.omvc-pm-header {
    background: #0073aa;
    color: #ffffff;
    padding: 10px 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.omvc-pm-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.omvc-pm-messages {
    height: 220px;
    padding: 12px;
    overflow-y: auto;
    background: #141414;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pm-msg {
    padding: 7px 11px;
    border-radius: 8px;
    max-width: 82%;
    word-wrap: break-word;
    line-height: 1.4;
}

.pm-msg.sent {
    background: #0073aa;
    color: #ffffff;
    align-self: flex-end;
}

.pm-msg.received {
    background: #2f2f2f;
    color: #f1f1f1;
    align-self: flex-start;
}

.omvc-pm-input-area {
    display: flex;
    border-top: 1px solid #333333;
    background: #222222;
}

.omvc-pm-input {
    flex: 1;
    padding: 10px 12px;
    border: none;
/*     background: #222222;
    color: #ffffff;
 */    outline: none;
    font-size: 13px;
}

.omvc-pm-locked-area {
    cursor: pointer;
}

.omvc-pm-locked-area .omvc-pm-input {
    cursor: pointer;
    color: #ffc107;
}

.omvc-pm-send-btn {
    background: #28a745;
    color: #ffffff;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.omvc-pm-send-locked {
    background: #ffc107;
    color: #121212;
}

/* VIP Upgrade Modal */
.omvc-upgrade-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.omvc-upgrade-modal {
    background: #1e1e1e;
    border: 2px solid #ffc107;
    color: #ffffff;
    width: 90%;
    max-width: 430px;
    border-radius: 12px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.omvc-upgrade-title {
    margin: 0 0 12px 0;
    color: #ffc107;
    font-size: 1.35rem;
}

.omvc-upgrade-desc {
    font-size: 15px;
    line-height: 1.55;
    color: #dddddd;
    margin-bottom: 22px;
}

.omvc-upgrade-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.omvc-btn-upgrade {
    background: #28a745;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
}

.omvc-btn-upgrade:hover {
    background: #218838;
}

.omvc-btn-close-modal {
    background: #444444;
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

/* Saved Favorites Shortcode Grid */
.omvc-favorites-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.omvc-favorites-heading {
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.omvc-favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.omvc-fav-card {
    background: #1e1e1e;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
}

.omvc-fav-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px auto;
    display: block;
    border: 2px solid #0073aa;
}

.omvc-fav-name {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.omvc-fav-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.omvc-fav-btn-profile {
    background: #0073aa;
    color: #ffffff !important;
    padding: 7px 12px;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
}

.omvc-fav-btn-remove {
    background: #d32f2f;
    color: #ffffff;
    border: none;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
}

.omvc-fav-locked-box {
    background: #1e1e1e;
    color: #ffffff;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
}


/* Alone in Room Arrival Estimate Banner */
.omvc-alone-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.22), rgba(233, 30, 99, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 14px 20px;
    margin: 0 auto 18px auto;
    max-width: 680px;
    text-align: left;
}

.omvc-alone-pulse {
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: omvcPulse 1.8s infinite;
}

@keyframes omvcPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.omvc-alone-heading {
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;
}

.omvc-alone-estimate {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 3px;
}

.omvc-alone-subtext {
    font-size: 0.84rem;
    color: #cccccc;
}
