*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f3f4f6;
    font-family:Arial;
    padding:40px;
}

.container{
    max-width:900px;
    margin:auto;
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 0 20px rgba(0,0,0,0.08);
}

h1{
    margin-bottom:25px;
    text-align:center;
}

input{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:10px;
}

button{
    padding:14px 25px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
}

button:hover{
    background:#1d4ed8;
}

.status{
    margin-bottom:20px;
    font-weight:bold;
}

.success{
    color:green;
}

.error{
    color:red;
}

.upload-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.card{
    border:2px dashed #ddd;
    padding:20px;
    border-radius:15px;
    text-align:center;
}

.preview{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    margin-top:15px;
}

.progress{
    width:100%;
    height:10px;
    background:#ddd;
    border-radius:20px;
    overflow:hidden;
    margin-top:10px;
}

.progress-bar{
    height:100%;
    width:0%;
    background:#2563eb;
}

.url-box{
    background:#f1f1f1;
    padding:10px;
    margin-top:10px;
    border-radius:8px;
    word-break:break-all;
}

.search-images{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:25px;
}

.search-images img{
    width:100%;
    border-radius:10px;
}

.top-nav{
    display:flex;
    gap:15px;
    margin-bottom:25px;
    flex-wrap:wrap;
}

.nav-btn{
    text-decoration:none;
    background:#111827;
    color:#fff;
    padding:12px 20px;
    border-radius:10px;
    transition:0.3s;
    font-weight:bold;
}

.nav-btn:hover{
    background:#2563eb;
}