/* Basierend auf tsg-booking.css */
.tsg-v5-frame {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 700px;
    margin: 20px auto;
}

.tsg-title {
    font-size: 18px;
    font-weight: 700;
    color: #086070;
    margin: 0 0 15px;
    text-transform: uppercase;
    border-bottom: 2px solid #f1f8e9;
    padding-bottom: 5px;
}

.tsg-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fcfcfc;
    box-sizing: border-box;
}

.tsg-submit {
    background: #c8450c; /* Dein Orange-Braun */
    color: #fff;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.tsg-submit:hover { background: #a33509; }

/* Gutschein-Bild-Grid */
.tg-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.tg-image-option {
    border: 3px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}

.tg-image-option img { width: 100%; display: block; }
.tg-image-option input { position: absolute; opacity: 0; }
.tg-image-option.selected { border-color: #086070; transform: scale(1.02); }

.tsg-highlight {
    background: #f1f8e9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #43a047;
    margin-bottom: 20px;
}
/* Bild-Grid Korrekturen */
.tg-image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 600px) {
    .tg-image-grid { grid-template-columns: repeat(2, 1fr); }
}

.tg-image-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: 0.2s;
}

/* Checkbox / Auswahl-Kreis */
.tg-selection-indicator {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    z-index: 2;
}

.tg-image-item.selected { border-color: #086070; box-shadow: 0 0 8px rgba(8,96,112,0.3); }
.tg-image-item.selected .tg-selection-indicator {
    background: #43a047;
    border-color: #fff;
}
.tg-image-item.selected .tg-selection-indicator::after {
    content: '✓';
    color: white;
    font-size: 14px;
    display: block;
    text-align: center;
    line-height: 18px;
}

/* Lupe Button unter dem Bild */
.tg-zoom-trigger {
    background: #f8f8f8;
    color: #555;
    text-align: center;
    font-size: 11px;
    padding: 5px 0;
    cursor: pointer;
    border-top: 1px solid #eee;
}
.tg-zoom-trigger:hover { background: #eee; }

/* Lightbox */
.tg-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.tg-lightbox-content { max-width: 90%; max-height: 85%; border: 3px solid #fff; }
.tg-close { position: absolute; top: 30px; right: 60px; color: #fff; font-size: 50px; cursor: pointer; }