/* assets/css/wcps.css */

input[readonly].short {
    background-color: #f0f0f0;
    color: #666;
    cursor: not-allowed;
}

.wcps-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.wcps-badge.pre-sale {
    background: #ff6b6b;
    color: white;
    position: absolute;
    top: 60px;
    left: 10px;
}

.widget_shopping_cart .wcps-badge.pre-sale {
    position: static;
    display: inline;
    padding: 2px 6px;
    font-size: 11px;
    vertical-align: middle;
}

.wcps-pre-sale-panel {
    background: #fff8f0;
    border: 1px solid #ffd4a3;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.wcps-pre-sale-panel.ended {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.wcps-pre-sale-panel.ended .wcps-tag {
    background: #999;
}

.wcps-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.wcps-min-order {
    font-size: .9em;
    color: #334155;
    margin-bottom: 8px;
}

.wcps-min-order-label {
    font-weight: 500;
}

.wcps-min-order-value { 
    color: #e67e22;
}

.wcps-tag {
    background: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.wcps-moq-progress {
    margin-bottom: 16px;
}

.wcps-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.wcps-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ffa502);
    transition: width 0.3s ease;
}

.wcps-progress-text {
    font-size: 13px;
    color: #666;
}

.wcps-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcps-timeline-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.wcps-timeline-item.highlight {
    background: #fff3e0;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.wcps-label {
    color: #666;
}

.wcps-value {
    color: #333;
}