/**
 * NoogaTech Product Image Downloader Styles
 */

.noogatech-image-gallery {
    margin: 2em 0;
}

.noogatech-gallery-header {
    text-align: center;
    margin-bottom: 1.5em;
}

.noogatech-gallery-header p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.noogatech-gallery-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 2em;
}

.noogatech-gallery-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.noogatech-gallery-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.noogatech-gallery-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.noogatech-gallery-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.noogatech-gallery-item {
    cursor: pointer;
    position: relative;
}

.noogatech-gallery-item .image-wrapper {
    position: relative;
    border: 3px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.noogatech-gallery-item:hover .image-wrapper {
    border-color: #ddd;
    transform: scale(1.02);
}

.noogatech-gallery-item.selected .image-wrapper {
    border-color: #ff8c00;
    box-shadow: 0 0 0 2px #ff8c00;
}

.noogatech-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.noogatech-gallery-item .selection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 140, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
}

.noogatech-gallery-item.selected .selection-overlay {
    display: flex;
}

.noogatech-gallery-item .checkmark {
    width: 50px;
    height: 50px;
    background: #ff8c00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.noogatech-gallery-actions {
    text-align: center;
}

.noogatech-download-btn {
    background: #ff8c00;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.noogatech-download-btn:hover {
    background: #e67e00;
}

.noogatech-download-btn .download-icon {
    font-size: 24px;
}

.noogatech-download-btn.loading {
    opacity: 0.6;
    cursor: wait;
}

.noogatech-download-status {
    margin-top: 1em;
    font-size: 14px;
}

.noogatech-download-status.success {
    color: #28a745;
}

.noogatech-download-status.error {
    color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .noogatech-gallery-grid.columns-4,
    .noogatech-gallery-grid.columns-5,
    .noogatech-gallery-grid.columns-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .noogatech-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

