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

/* Kontrolki */
.dobble-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;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
}

/* Kontener na karty – DWIE W RZĘDZIE */
.dobble-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* 🔥 MOCNO WYPUKŁE KARTY */
.dobble-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;
}

.dobble-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);
}

/* Koło */
.dobble-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;
}

.dobble-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;
}

/* Sześciokąt */
.dobble-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;
}

.dobble-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;
}

/* Ikony */
.dobble-card img {
    position: absolute;
    object-fit: contain;
}

/* Druk – ukryj dekoracje */
@media print {
    .dobble-controls {
        display: none !important;
    }
    .dobble-card {
        box-shadow: none !important;
        border-radius: 0 !important;
        clip-path: none !important;
    }
    .dobble-card.shape-circle,
    .dobble-card.shape-hexagon {
        box-shadow: none !important;
        border: none !important;
    }
}

/* Tablet: 1 kolumna */
@media (max-width: 992px) {
    .dobble-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Telefon: pełna szerokość */
@media (max-width: 576px) {
    .dobble-card {
        transform: none !important;
        box-shadow:
            0 6px 16px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            inset 0 -1px 2px rgba(0, 0, 0, 0.05) !important;
    }
}
/* ✅ 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;
}

/* Dla pewności – cały router */
.media-frame-router {
    background: #000000 !important;
    border-bottom: 1px solid #000000 !important;
}
