/**
 * TechBid Auctions - Style CSS
 * 
 * SEKCJE:
 * 1. Szczegóły aukcji (uwa-auction-details)
 * 2. Badge liczby ofert (techbid-bid-badge)
 * 3. Mapa lokalizacji (product-location-map)
 * 4. Komunikat dla gości (guest-message)
 * 5. Max bid container
 * 6. Responsive
 */

/* ========================================================================
   SEKCJA 1: SZCZEGÓŁY AUKCJI
   ======================================================================== */

.uwa-auction-details {
    margin: 15px 0;
}

.uwa-auction-details .uwa-auction-commission {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.uwa-auction-details .uwa-auction-details-label {
    color: #666;
}

.uwa-auction-details .uwa-auction-details-value {
    color: #ff6b35;
    font-weight: 600;
}

.uwa-auction-details .uwa-auction-details-note {
    color: #888;
    font-size: 12px;
}

.uwa-auction-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.uwa-auction-inline .uwa-part {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.uwa-auction-inline .uwa-sep {
    color: #ddd;
    margin: 0 5px;
}

/* ========================================================================
   SEKCJA 2: BADGE LICZBY OFERT
   ======================================================================== */

.techbid-bid-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
}

.techbid-bid-badge .bid-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.techbid-bid-badge .bid-count {
    line-height: 1;
}

/* ========================================================================
   SEKCJA 3: MAPA LOKALIZACJI
   ======================================================================== */

.product-location-map-wrapper {
    margin: 20px 0;
}

.product-location-map {
    max-width: 100%;
    height: auto;
}

.product-location-map svg {
    width: 100%;
    height: auto;
    max-width: 200px;
}

.product-location-map path {
    transition: fill 0.3s ease;
    fill: #fff;
    stroke: #ff671f;
    stroke-width: 1.17px;
}

/* ========================================================================
   SEKCJA 4: KOMUNIKAT DLA GOŚCI
   ======================================================================== */

.guest-message {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    margin: 20px 0;
}

.guest-message p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.guest-message .login-button,
.guest-message .register-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin: 5px;
    transition: all 0.3s ease;
}

.guest-message .login-button {
    background: #ff6b35;
    color: #fff;
}

.guest-message .login-button:hover {
    background: #e55a2b;
}

.guest-message .register-button {
    background: #fff;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.guest-message .register-button:hover {
    background: #ff6b35;
    color: #fff;
}

/* ========================================================================
   SEKCJA 5: MAX BID CONTAINER
   ======================================================================== */

.max-bid-container {
    display: flex;
    gap: 10px;
}

/* Historia ofert - własny bid */
.bid_username.my-bid {
    font-weight: 700;
    color: #ff6b35;
}

/* ========================================================================
   SEKCJA 6: RESPONSIVE
   ======================================================================== */

@media (max-width: 768px) {
    .techbid-bid-badge {
        font-size: 12px;
        padding: 3px 6px;
        bottom: 8px;
        right: 8px;
    }
    
    .techbid-bid-badge .bid-icon {
        width: 14px;
        height: 14px;
    }
    
    .uwa-auction-inline {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .uwa-auction-inline .uwa-sep {
        display: none;
    }
    
    .guest-message .login-button,
    .guest-message .register-button {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .techbid-bid-badge {
        font-size: 11px;
        padding: 2px 5px;
    }
    
    .product-location-map svg {
        max-width: 150px;
    }
}

@media (max-width: 360px) {
    .techbid-bid-badge {
        font-size: 10px;
    }
}
