body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bg-soft {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, .10), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.login-card {
    width: 100%;
    max-width: 460px;
    border-radius: 1.5rem;
}

.card {
    border-radius: 1.5rem;
}

.drop-zone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    transition: all .15s ease-in-out;
    cursor: pointer;
}

.drop-zone.dragover {
    border-color: #0d6efd;
    background: #eef6ff;
    transform: translateY(-1px);
}

.drop-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #0d6efd;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 700;
}

.file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    margin-bottom: .5rem;
}

.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    color: #64748b;
    font-size: .875rem;
    flex-shrink: 0;
}


.upload-item {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
    margin-bottom: .75rem;
}

.upload-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.upload-status {
    font-size: .875rem;
    color: #64748b;
    white-space: nowrap;
}

.upload-status.success {
    color: #198754;
    font-weight: 600;
}

.upload-status.error {
    color: #dc3545;
    font-weight: 600;
}

.upload-progress {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e9ecef;
}

.upload-progress-bar {
    height: 100%;
    width: 0%;
    background: #0d6efd;
    transition: width .2s ease;
}

.upload-progress-bar.success {
    background: #198754;
}

.upload-progress-bar.error {
    background: #dc3545;
}


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

.file-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.04);
}

.file-preview {
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zip-preview {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.zip-icon {
    width: 72px;
    height: 72px;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
}

.file-card-body {
    padding: 1rem;
}

.file-card-title {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-card-meta {
    color: #64748b;
    font-size: .875rem;
    margin-top: .35rem;
}
