/* Kontener wyników */
.results-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
}

/* Wspólne style dla kart cenowych */
.price-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: #ffffff;
    border: 2px solid #e1e8ed;
    border-radius: 16px;
    padding: 25px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* Karta PROMO (SPI) */
.price-card.promo {
    border-color: #ff9800;
    background: linear-gradient(to bottom right, #ffffff, #fffdf9);
}

.price-card.promo h4 {
    color: #e65100;
    margin-top: 10px;
}

/* Karta STANDARD (IRT) */
.price-card.standard {
    border-color: #0055a4;
    background: linear-gradient(to bottom right, #ffffff, #f0f7ff);
}

.price-card.standard h4 {
    color: #0055a4;
}

/* Badge "Najniższa cena" */
.badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #ff9800;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(255,152,0,0.3);
}

/* Wartość ceny */
.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
    color: #1a1a1a;
}

.price-card p {
    font-size: 0.9rem;
    color: #5f6368;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Lista detali pod ceną */
.price-details {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0; /* Pcha listę na dół karty */
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}

.price-details li {
    font-size: 0.85rem;
    color: #3c4043;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.price-details li::before {
    content: "•";
    color: currentColor;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: 0;
}

/* Placeholder dla pustego stanu */
.placeholder-info {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
    border: 2px dashed #dadce0;
    border-radius: 16px;
    color: #70757a;
    width: 100%;
}

.placeholder-info i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.5;
}

/* Spinner ładowania */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0055a4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
