/* Style dla informacji o wysyłce na stronie produktu */
.fsbq-product-shipping-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.fsbq-product-shipping-info h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.fsbq-rule-info {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.fsbq-rule-info:last-child {
    margin-bottom: 0;
}

.fsbq-rule-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.fsbq-shipping-icon {
    font-size: 18px;
    margin-right: 8px;
}

.fsbq-rule-header strong {
    color: #0073aa;
    font-size: 14px;
}

.fsbq-rule-conditions {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.fsbq-rule-note {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f3f4;
}

.fsbq-rule-note small {
    color: #6c757d;
    font-style: italic;
}

/* Style dla szczegółowych informacji w koszyku */
.fsbq-shipping-info {
    background: #f0f6fc;
    border: 1px solid #c8d7e1;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Specjalne style dla shortcode */
.fsbq-shipping-info.fsbq-shortcode {
    background: #f8f9fa;
    border-color: #dee2e6;
}

/* Style dla injected content (wstrzykniętego przez JS) */
.fsbq-shipping-info[data-injected="true"] {
    animation: fadeInUp 0.5s ease-out;
    border: 2px solid #0073aa;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fsbq-shipping-info h4 {
    margin: 0 0 15px 0;
    color: #0073aa;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #c8d7e1;
    padding-bottom: 8px;
}

.fsbq-group-info {
    margin: 12px 0;
    padding: 12px 16px;
    border-radius: 4px;
    border-left: 4px solid #6c757d;
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.fsbq-group-info.has-discount {
    background: #e8f5e8;
    border-left-color: #46b450;
    color: #155724;
}

.fsbq-group-info.no-discount {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.fsbq-group-info p {
    margin: 0;
    font-weight: 500;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .fsbq-product-shipping-info,
    .fsbq-shipping-info {
        padding: 15px;
        margin: 15px 0;
    }
    
    .fsbq-product-shipping-info h4,
    .fsbq-shipping-info h4 {
        font-size: 15px;
    }
    
    .fsbq-rule-info {
        padding: 12px;
    }
    
    .fsbq-rule-conditions {
        font-size: 13px;
    }
    
    .fsbq-group-info {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fsbq-product-shipping-info,
    .fsbq-shipping-info {
        border-radius: 4px;
        padding: 12px;
    }
    
    .fsbq-rule-info {
        padding: 10px;
        border-radius: 3px;
    }
    
    .fsbq-rule-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .fsbq-shipping-icon {
        margin-bottom: 5px;
    }
    
    .fsbq-group-info {
        border-left-width: 3px;
    }
}

/* Animacje dla lepszego UX */
.fsbq-rule-info,
.fsbq-group-info {
    transition: all 0.2s ease;
}

.fsbq-rule-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Dostosowanie kolorów dla różnych typów komunikatów */
.fsbq-group-info.has-discount {
    border-left-color: #28a745;
}

.fsbq-group-info.has-discount::before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
    margin-right: 5px;
}

.fsbq-group-info.no-discount::before {
    content: "⚠ ";
    color: #ffc107;
    font-weight: bold;
    margin-right: 5px;
}

/* Hover effects dla interaktywności */
.fsbq-shipping-info:hover {
    border-color: #0073aa;
}

.fsbq-product-shipping-info:hover {
    border-color: #0073aa;
}

/* Style dla różnych stanów komunikatów */
.fsbq-info-message {
    padding: 8px 12px;
    border-radius: 4px;
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.fsbq-info-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.fsbq-info-message.info {
    background-color: #cce7ff;
    border: 1px solid #b3d7ff;
    color: #004085;
}

.fsbq-info-message.warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Print styles - ukryj informacje o wysyłce w druku */
@media print {
    .fsbq-product-shipping-info,
    .fsbq-shipping-info {
        display: none;
    }
} 