body {
    padding-top: 2px;
    position: relative;
    display: flex;
    flex-direction: column;
}

html, body {
    height: 100%;
}

.navbar {
    background-color: #337ab7;
}

.container {
    position: relative;
    flex: 1 0 auto;
}

/* Area drop yang full-width dan mudah diklik */
#drop-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #555;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

#drop-area.hover {
    background-color: #f8f9fa;
    border-color: #333;
}

/* Thumbnail styling: kotak putih dengan bayangan lembut */
.thumb-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    margin: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    cursor: move;
    transition: transform 0.2s;
}

.thumb-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 6px;
}

.thumb-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
}

.thumb-item .btn-close {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.thumb-item .btn-close:hover {
    opacity: 1;
}

.thumb-item {
    user-select: none;
}

.thumb-item:hover {
    transform: scale(1.02);
}

.dragging {
    opacity: 0.5;
}

.thumb-container {
    position: relative;
}

.checkbox-remove {
    position: absolute;
    top: 0.3rem;
    left: 0.3rem;
    background: white;
    padding: 2px;
    border-radius: 4px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    margin-bottom: 0;
    color: #555;
}

footer.footer {
    flex-shrink: 0;
}