@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: order-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    background: #30385f;
    color:#e6eef8;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px;
}
    
.wrap { 
    width: 980px;
    max-width: 95%;
    padding: 10px;
}

header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

header h1 {
    margin: 0;
    font-size: 20px;
}
    
.card {
    background: linear-gradient(180deg,rgba(255,255,255,0.02),transparent);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 30px rgba(2,6,23,0.6);
}

.uploader {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.drop {
    flex: 1;
    border: 2px solid rgba(255,255,255,0.06);
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    background: gba(255,255,255,0.03);
    min-height: 160px;display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.drop.dragover {
    border-color: #9379be;
    transform: translateY(-3px);
}

.drop input {
    display: none;
}

.btn {
    background:#4f46e5;
    padding: 10px 14px;
    border-radius: 8px;
    color:white;
    border: 0;
    cursor: pointer;
    padding: 10px;
}

.controls {
    width: 320px
}

.controls .search { 
    margin-bottom: 12px;
}

input[type=text] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(156, 113, 113, 0.04);
    background: transparent;
    color: inherit;
}

ul.list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 420px;
    overflow: auto;
}

li.item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.02);
    margin-bottom: 8px;
    background: linear-gradient(90deg, rgba(255,255,255,0.01), transparent)
}

.meta { 
    flex: 1;
    min-width:0;
}

.meta b {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meta small {
    color: #94a3b8;
}

.actions {
    display: flex;
    gap: 6px;
}

.preview {
    max-width: 120px;
    max-height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background:#062033;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview img, .preview iframe {
    max-width: 120px;
    max-height: 80px;
}

footer {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.muted{
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width:760px) {
    .uploader{flex-direction:column}.controls{width:100%}
}