/**
 * PRO Checkout Styles
 * Common styles for all PRO shipping services
 *
 * @package HgE_Pro_FAN_Courier
 * @since 2.0.0
 */

/* Pickup Point Selector Common Styles */
.hgezlpfcr-pro-pickup-selector {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.hgezlpfcr-pro-pickup-selector h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.hgezlpfcr-pro-pickup-selector .button {
    margin-top: 10px;
}

/* Selected Pickup Point Display */
.hgezlpfcr-pro-selected-point {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #4CAF50;
    border-radius: 3px;
}

.hgezlpfcr-pro-selected-point strong {
    color: #4CAF50;
    display: block;
    margin-bottom: 5px;
}

.hgezlpfcr-pro-selected-point .address {
    font-size: 12px;
    color: #666;
}

/* Loading State */
.hgezlpfcr-pro-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.hgezlpfcr-pro-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: hgezlpfcr-spin 1s linear infinite;
}

@keyframes hgezlpfcr-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message */
.hgezlpfcr-pro-error {
    margin-top: 10px;
    padding: 10px;
    background-color: #ffebee;
    border: 1px solid #f44336;
    border-radius: 3px;
    color: #c62828;
    font-size: 13px;
}

/* FANBox Map Container */
#hgezlpfcr-fanbox-map-container {
    margin-top: 10px;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* PayPoint / OMV Selector Dropdown */
.hgezlpfcr-pro-point-dropdown {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.hgezlpfcr-pro-point-dropdown:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 3px rgba(76, 175, 80, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    #hgezlpfcr-fanbox-map-container {
        height: 300px;
    }

    .hgezlpfcr-pro-pickup-selector {
        padding: 10px;
    }
}
