/* GLOBAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #111;
    text-align: center;
}

/* BOX */
.box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    margin: 40px auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.box h2 { margin-bottom: 20px; }

/* DROP AREA */
#drop-area {
    border: 2px dashed orange;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.3s;
}
#drop-area:hover { background: #fff7ed; }
#drop-area input { display: none; }

/* BUTTON */
button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: linear-gradient(135deg, orange, #f59e0b);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}
button:hover { background: #ea580c; transform: scale(1.05); }

/* PREVIEW */
#preview {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
#preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid orange;
    transition: 0.3s;
}
#preview img:hover { transform: scale(1.1); }

.preview-item { position: relative; }
.remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background: red;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    padding: 2px 5px;
    cursor: pointer;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .box { padding: 25px; width: 95%; }
    #preview img { width: 80px; height: 80px; }
    button { padding: 8px 16px; font-size: 14px; }
}
@media (max-width: 480px) {
    .box { padding: 20px; width: 95%; margin: 20px auto; }
    #preview img { width: 70px; height: 70px; }
}
