/* ==================== ARKA PLAN ÖZELLİKLERİ ==================== */

/* Admin Badge */
.admin-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    /*background: rgba(76, 175, 80, 0.8);*/
    color: #000;
    padding: 8px 12px;
    /*border-radius: 8px;*/
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 10;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);*/
    cursor: default;
    pointer-events: none;
}

/* Screen Share Badge */
.screen-share-badge {
    position: absolute;
    top: 65px;
    left: 5px;
    background: rgba(33, 150, 243, 0.95);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.screen-share-badge:not(.not-clickable) {
    cursor: pointer;
    pointer-events: all;
}

.screen-share-badge:not(.not-clickable):hover {
    transform: scale(1.1);
    background: rgba(33, 150, 243, 1);
}

.screen-share-badge.not-clickable {
    cursor: default;
    pointer-events: none;
    opacity: 0.8;
}

/* Admin Clickable Video Box */
.video-box.admin-clickable {
    cursor: pointer;
    transition: all 0.3s;
}

.video-box.admin-clickable:hover {
    border-color: #ffd700;
    transform: scale(1.05);
}

/* Background Video Container */
.background-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Background Close Button */
.background-close-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(244, 67, 54, 0.9);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.background-close-btn:hover {
    background: rgba(244, 67, 54, 1);
    transform: scale(1.05);
}

/* Background Label */
.background-label {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 100;
}

/* Local Video Box için özel admin clickable */
#local-video-box.admin-clickable {
    cursor: pointer;
}

#local-video-box.admin-clickable:hover {
    border-color: #ffd700;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .admin-badge,
    .screen-share-badge {
        font-size: 1rem;
        padding: 4px 8px;
    }
    
    .admin-badge {
        top: 30px;
    }
    
    .screen-share-badge {
        top: 55px;
    }
    
    .background-close-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .background-label {
        font-size: 1rem;
        padding: 10px 20px;
    }
}
