﻿.multi-upload {
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    width: 100%;
    max-width: 331px;
/*    margin: 0 auto;*/
}

.drop-area {
    border: 1px dashed #D2D6DB;
    border-radius: 4px;
    padding: 24px;
    text-align: center;
    background: #F3F4F6;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .drop-area.highlight {
        border-color: var(--dga-primary);
        background: #F3F4F6;
    }

.upload-icon {
   font-size: 24px;
    margin-bottom: 15px;
}

.drop-area h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.drop-area p {
    margin: 0;
    font-size: 0.95rem;
}

.browse-btn {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.gallery {
    display: block;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    box-sizing: border-box;
    /* Auto layout */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    margin-bottom: 8px;
    width: 328px;
    height: 36px;
    background: #F3F4F6;
    border: 1px solid #D2D6DB;
    border-radius: 4px;
    overflow: hidden;
    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    position: relative;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.remove-file {
    color: black;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s ease;
    background: none;
    border: none;
    box-shadow: none;
}
