.dhd-production-time-selector {
    margin: 15px 0;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #f9f9f9;
}

.dhd-production-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dhd-production-label {
    font-weight: 500;
    font-size: 13px;
    color: #333;
}

.dhd-icon-options {
    display: flex;
    gap: 2px;
    background: #f8f9fa;
    padding: 4px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.dhd-icon-option {
    position: relative;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: transparent;
}

.dhd-icon-option:hover {
    background: #e3f2fd !important;
    transform: scale(1.1);
}

.dhd-icon-option.selected {
    background: #007cba !important;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.3);
}

.dhd-fee-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #d63638;
    color: white;
    border-radius: 8px;
    padding: 1px 4px;
    font-size: 9px;
    font-weight: bold;
    line-height: 1;
    min-width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dhd-total-display {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    background: #e8f5e8;
    padding: 4px 8px;
    border-radius: 4px;
}

.dhd-selection-details {
    margin-top: 6px;
    font-size: 11px;
    color: #666;
    text-align: center;
    min-height: 14px;
    padding: 0 10px;
}

/* Tooltip styles */
.dhd-icon-option::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
    margin-bottom: 8px;
}

.dhd-icon-option::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
    margin-bottom: -2px;
}

.dhd-icon-option:hover::after,
.dhd-icon-option:hover::before {
    opacity: 1;
}



/* Loading state */
.dhd-total-display.loading {
    opacity: 0.6;
    position: relative;
}

.dhd-total-display.loading::after {
    content: '...';
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Prevent double-clicks */
.dhd-icon-option {
    user-select: none;
}

.dhd-icon-option:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}



/* Mobile responsiveness */
@media (max-width: 768px) {
    .dhd-icon-option::after {
        left: 0;
        transform: none;
        white-space: normal;
        width: 180px;
    }
    
    .dhd-icon-option::before {
        left: 15px;
        transform: none;
    }
    
    .dhd-production-header {
        justify-content: center;
        text-align: center;
    }
    
    .dhd-icon-options {
        justify-content: center;
    }
}
