/* UI moderna clara */

/* Bot천es padr찾o: azul claro */
:root{
  --bg:#f0f4f9;
  --card:#ffffff;
  --accent:#60a5fa;     /* azul claro */
  --accent-dark:#3b82f6; /* azul hover */
  --text:#1f2937;
  --btn-hover:#2563eb;   /* azul mais escuro no hover */
}

*{
    box-sizing:border-box;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial
}
html,body{
    height:100%;
    margin:0;
    background:var(--bg);
    color:var(--text)
}
.container{
    display:grid;grid-template-columns:1fr 420px;gap:24px;
    padding:36px;
    max-width:1100px;
    margin:0 auto
}
.card{
    background:var(--card);
    border:1px solid #e5e7eb;
    padding:20px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.08)
}
.upload-card h2{
    margin:0 0 12px 0;
    font-size:18px
}
#fileInput,#download_password{
    width:100%;
    padding:12px;
    border-radius:8px;
    border:1px dashed #9ca3af;
    background:#f9fafb;
    color:var(--text);
    margin-top:6px
}
#btnUpload{
    margin-top:10px;
    padding:10px 14px;
    border-radius:10px;
    border:none;background:linear-gradient(90deg,var(--accent),#22c55e);
    color:#fff;
    font-weight:600;
    cursor:pointer
}
.progress{
    position:relative;
    margin-top:12px;
    height:14px;
    background:#e5e7eb;
    border-radius:8px;
    overflow:hidden
}
.progress .bar{
    height:100%;
    width:0%;
    background:linear-gradient(90deg,#22c55e,#3b82f6);
    transition:width .25s
}
.progress .pct{
    position:absolute;
    right:8px;
    top:0;
    font-size:12px;
    line-height:14px;
    color:#374151
}
.list-card h3{
    margin:0 0 12px 0
}
.file-list{
    list-style:none;
    padding:0;
    margin:0
}
.file-list li{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:12px 8px;
    border-bottom:1px dashed #e5e7eb;
    gap:8px; /* Espaço entre nome e botões */
}

.file-name{
    font-weight:500;
    color:var(--text);
    word-break:break-all;
}

.file-actions{
    display:flex;
    gap:8px;
}
.file-list .btn{
    padding:5px 5px;
    border-radius:8px;
    background:#f3f4f6;
    border:1px solid #e5e7eb;
    text-decoration:none;color:var(--text)
}
.btn, #btnUpload, .card form button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:10px 14px;
    border-radius:10px;
    border:none;
    background:linear-gradient(90deg,var(--accent),var(--accent-dark));
    color:#fff;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
    text-align:center;
    transition:all 0.2s ease-in-out;
}

.btn:hover, #btnUpload:hover, .card form button:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
}

@media (max-width:900px){
    .container{
    grid-template-columns:1fr;
    padding:16px
    }
    
}
