*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f6fb;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.container{
    width:100%;
    max-width:500px;
    padding:20px;
}

.card{
    background:#fff;
    border-radius:12px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.card h1{
    text-align:center;
    margin-bottom:10px;
    color:#222;
}

.card p{
    text-align:center;
    color:#666;
    margin-bottom:25px;
}

input[type=file]{
    width:100%;
    border:2px dashed #4a90e2;
    border-radius:8px;
    padding:20px;
    cursor:pointer;
    margin-bottom:15px;
    background:#fafafa;
}

button{
    width:100%;
    border:none;
    background:#4a90e2;
    color:#fff;
    padding:14px;
    font-size:16px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#2b6fc2;
}

.progress{
    width:100%;
    height:18px;
    background:#ddd;
    border-radius:20px;
    overflow:hidden;
    margin-top:20px;
}

#progressBar{
    width:0%;
    height:100%;
    background:#28a745;
    transition:.3s;
}

#percent{
    display:block;
    text-align:center;
    margin-top:10px;
    font-weight:bold;
}

#result{
    margin-top:25px;
    word-break:break-word;
}

#result a{
    color:#0d6efd;
    text-decoration:none;
    font-weight:bold;
}

#result a:hover{
    text-decoration:underline;
}

#percent{
    margin-top:15px;
    text-align:center;
    font-size:15px;
    font-weight:600;
    line-height:1.8;
}
#uploadInfo{
    margin-top:20px;
    display:none;
}

#speed,
#time,
#percent{
   margin-top:8px;
   font-weight:600;
   text-align:center;
   font-size:15px;
}

#speed{
   color:#2563eb;
}

#time{
   color:#16a34a;
}
.success{
    background:#e8f7e9;
    color:#155724;
    padding:15px;
    border-radius:8px;
    border:1px solid #c3e6cb;
}

.error{
    background:#fdeaea;
    color:#721c24;
    padding:15px;
    border-radius:8px;
    border:1px solid #f5c6cb;
}

.copy-btn{
    margin-top:10px;
    width:100%;
    background:#28a745;
}

.copy-btn:hover{
    background:#1f8a38;
}

@media(max-width:600px){

    .card{
        padding:20px;
    }

    .card h1{
        font-size:24px;
    }

}