.file-card{
display:flex;
flex-direction:column;
gap:18px;
}
.file-drop{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
padding:28px 18px;
border:2px dashed rgba(124,92,255,.25);
border-radius:18px;
background:rgba(255,255,255,.02);
transition:var(--transition);
cursor:pointer;
text-align:center;
}
.file-drop:hover{
border-color:var(--primary);
background:rgba(124,92,255,.08);
}
.file-drop.dragover{
border-color:var(--secondary);
background:rgba(34,211,238,.12);
transform:scale(1.02);
}
.file-drop i{
font-size:42px;
margin-bottom:12px;
color:var(--secondary);
}
.file-drop h4{
font-size:15px;
margin-bottom:6px;
}
.file-drop p{
font-size:13px;
color:var(--muted);
}
.selected-file{
display:flex;
align-items:center;
gap:14px;
padding:14px;
background:rgba(255,255,255,.04);
border:1px solid rgba(255,255,255,.06);
border-radius:16px;
transition:var(--transition);
}
.selected-file:hover{
background:rgba(255,255,255,.06);
}
.file-icon{
width:50px;
height:50px;
border-radius:14px;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
background:linear-gradient(135deg,var(--primary),var(--secondary));
color:#fff;
flex-shrink:0;
}
.file-info{
flex:1;
overflow:hidden;
}
.file-info h4{
font-size:14px;
font-weight:600;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
.file-info span{
display:block;
margin-top:4px;
font-size:12px;
color:var(--muted);
}
.file-actions{
display:flex;
gap:8px;
}
.file-btn{
width:38px;
height:38px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.06);
color:#fff;
transition:var(--transition);
}
.file-btn:hover{
background:rgba(124,92,255,.15);
border-color:rgba(124,92,255,.35);
}
.progress-card{
display:flex;
flex-direction:column;
gap:10px;
padding:14px;
background:rgba(255,255,255,.03);
border-radius:16px;
border:1px solid rgba(255,255,255,.05);
}
.progress-bar{
height:8px;
background:rgba(255,255,255,.08);
border-radius:30px;
overflow:hidden;
}
.progress-fill{
height:100%;
width:0%;
background:linear-gradient(90deg,var(--primary),var(--secondary));
border-radius:30px;
transition:width .25s linear;
}
.progress-info{
display:flex;
justify-content:space-between;
font-size:12px;
color:var(--muted);
}
.file-history{
display:flex;
flex-direction:column;
gap:12px;
max-height:240px;
overflow-y:auto;
}
.file-item{
display:flex;
align-items:center;
gap:12px;
padding:12px;
background:rgba(255,255,255,.03);
border:1px solid rgba(255,255,255,.05);
border-radius:14px;
transition:var(--transition);
}
.file-item:hover{
background:rgba(255,255,255,.06);
}
.file-meta{
flex:1;
overflow:hidden;
}
.file-meta h5{
font-size:14px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
.file-meta span{
display:block;
margin-top:3px;
font-size:12px;
color:var(--muted);
}
.file-status{
font-size:12px;
font-weight:700;
padding:5px 10px;
border-radius:20px;
}
.file-status.success{
background:rgba(34,197,94,.15);
color:var(--success);
}
.file-status.uploading{
background:rgba(245,158,11,.15);
color:var(--warning);
}
.file-status.failed{
background:rgba(239,68,68,.15);
color:var(--danger);
}
.transfer-stats{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:12px;
}
.transfer-box{
padding:14px;
border-radius:16px;
background:rgba(255,255,255,.03);
border:1px solid rgba(255,255,255,.05);
text-align:center;
}
.transfer-box h3{
font-size:20px;
margin-bottom:4px;
}
.transfer-box span{
font-size:12px;
color:var(--muted);
}
.screen-card{
display:flex;
flex-direction:column;
gap:18px;
}
.screen-preview{
position:relative;
width:100%;
aspect-ratio:16/9;
overflow:hidden;
border-radius:18px;
background:#05070D;
border:1px solid rgba(255,255,255,.08);
}
.screen-preview video,
#remoteScreen{
width:100%;
height:100%;
display:block;
object-fit:cover;
background:#000;
border-radius:18px;
}
.screen-placeholder{
position:absolute;
inset:0;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:14px;
background:linear-gradient(135deg,#0D1224,#070B14);
color:var(--muted);
text-align:center;
}
.screen-placeholder::before{
content:"";
position:absolute;
width:180px;
height:180px;
border-radius:50%;
background:rgba(124,92,255,.08);
filter:blur(60px);
}
.screen-placeholder p{
position:relative;
font-size:14px;
z-index:1;
}
.screen-placeholder::after{
content:"🖥";
position:relative;
font-size:54px;
z-index:1;
}
.live-badge{
position:absolute;
top:14px;
left:14px;
display:flex;
align-items:center;
gap:8px;
padding:7px 12px;
border-radius:30px;
background:rgba(0,0,0,.55);
backdrop-filter:blur(10px);
font-size:12px;
font-weight:700;
color:#fff;
z-index:2;
}
.live-badge::before{
content:"";
width:9px;
height:9px;
border-radius:50%;
background:#FF3B30;
box-shadow:0 0 12px #FF3B30;
animation:pulse 1.5s infinite;
}
.screen-toolbar{
position:absolute;
left:50%;
bottom:16px;
transform:translateX(-50%);
display:flex;
gap:10px;
padding:10px;
background:rgba(0,0,0,.55);
backdrop-filter:blur(12px);
border:1px solid rgba(255,255,255,.08);
border-radius:18px;
z-index:2;
}
.screen-btn{
width:44px;
height:44px;
display:flex;
align-items:center;
justify-content:center;
border-radius:14px;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.08);
color:#fff;
font-size:18px;
transition:var(--transition);
}
.screen-btn:hover{
background:rgba(124,92,255,.18);
border-color:rgba(124,92,255,.35);
transform:translateY(-2px);
}
.screen-btn.danger{
background:rgba(239,68,68,.18);
border-color:rgba(239,68,68,.25);
}
.screen-btn.danger:hover{
background:rgba(239,68,68,.28);
}
.screen-actions{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
}
.screen-stats{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
}
.screen-stat{
padding:14px;
text-align:center;
border-radius:16px;
background:rgba(255,255,255,.03);
border:1px solid rgba(255,255,255,.05);
}
.screen-stat h3{
font-size:20px;
margin-bottom:4px;
}
.screen-stat span{
font-size:12px;
color:var(--muted);
}
.viewer-list{
display:flex;
flex-direction:column;
gap:10px;
max-height:180px;
overflow-y:auto;
}
.viewer{
display:flex;
align-items:center;
gap:12px;
padding:12px;
background:rgba(255,255,255,.03);
border:1px solid rgba(255,255,255,.05);
border-radius:14px;
}
.viewer-avatar{
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:linear-gradient(135deg,var(--primary),var(--secondary));
color:#fff;
font-weight:700;
flex-shrink:0;
}
.viewer-info{
flex:1;
}
.viewer-info h5{
font-size:14px;
margin-bottom:3px;
}
.viewer-info span{
font-size:12px;
color:var(--muted);
}
.viewer-quality{
padding:4px 10px;
border-radius:20px;
background:rgba(34,197,94,.15);
color:var(--success);
font-size:11px;
font-weight:700;
}
.fullscreen-preview{
position:fixed;
inset:0;
display:none;
align-items:center;
justify-content:center;
background:rgba(0,0,0,.92);
backdrop-filter:blur(10px);
z-index:9999;
}
.fullscreen-preview.active{
display:flex;
}
.fullscreen-preview video{
width:92%;
height:92%;
object-fit:contain;
border-radius:20px;
background:#000;
}