body {
    font-family: sans-serif;
    padding: 20px;
    background: #f4f4f4;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

#dropzone {
    background: #ffffff;
    border: 2px dashed #999;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    cursor: pointer;
    transition: 0.3s;
}

#dropzone:hover {
    background-color: #f0f0f0;
}

.photo img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
}

.thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.thumb .actions {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 10px;
}

.thumb .actions a {
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 6px;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.2s;
}

.thumb .actions a:hover {
    background: rgba(0,0,0,0.9);
}


#upload-status {
    margin-top: 20px;
}

.progress-wrapper {
    margin-bottom: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.filename {
    margin-bottom: 4px;
    font-size: 0.95em;
    color: #333;
}

.progress-bar {
    background: #eee;
    border-radius: 4px;
    height: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #2196f3;
    width: 0%;
    transition: width 0.3s ease;
}
