/* snap.css */

.snap-generator-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.snap-controls {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.drop-area {
    border: 2px dashed #007cba;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #f9fbff;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 20px;
}

.drop-area.drag-over {
    background: #e6f4ff;
    border-color: #005a99;
}

.snap-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.snap-card {
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25),
        0 6px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.4, 1.2), box-shadow 0.3s ease;
}

.snap-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.snap-card.shape-circle {
    border-radius: 50%;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25),
        0 6px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.08),
        0 0 0 2px #ffffff;
}

.snap-card.shape-circle:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1),
        0 0 0 2px #ffffff;
}

.snap-card.shape-hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25),
        0 6px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.08),
        0 0 0 2px #ffffff;
}

.snap-card.shape-hexagon:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1),
        0 0 0 2px #ffffff;
}

.snap-card img {
    position: absolute;
    object-fit: contain;
}

@media print {
    .snap-controls { display: none !important; }
    .snap-card { box-shadow: none !important; }
}

@media (max-width: 992px) {
    .snap-cards-container { grid-template-columns: 1fr; }
}

/* Naprawa koloru tekstu w oknie biblioteki mediów WordPress */
.media-frame-router .media-router > a,
.media-frame-router .media-router > li {
    color: #000000 !important;
    text-shadow: none !important;
}

.media-frame-router .media-router > a:hover,
.media-frame-router .media-router > a:focus {
    color: #007cba !important;
}

.media-frame-router {
    background: #000000 !important;
    border-bottom: 1px solid #000000 !important;
}
