/* you.bid Reserve Price Manager - Frontend Styles */

.youbid-reserve-price-manager-box {
    background: #fff9c4;
    border: 1px solid #f0c929;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
}

.youbid-reserve-price-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.youbid-reserve-price-content {
    flex: 1;
}

.youbid-reserve-price-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #8b5a0b !important;
}

.youbid-reserve-price-description {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.youbid-reserve-price-info {
    margin-bottom: 20px;
}

.youbid-reserve-price-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.youbid-reserve-price-info strong {
    color: #333;
    font-weight: 600;
}

.youbid-reserve-price-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.youbid-reserve-price-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.youbid-lower-price-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.youbid-lower-price-form label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.youbid-price-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 300px;
}

.youbid-currency-symbol {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.youbid-new-reserve-price {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.youbid-new-reserve-price:focus {
    outline: none;
    border-color: #f0c929;
    box-shadow: 0 0 0 2px rgba(240, 201, 41, 0.2);
}

.youbid-lower-price-btn,
.youbid-remove-price-btn {
    background: #f39c12;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    max-width: 300px;
}

.youbid-lower-price-btn:hover,
.youbid-remove-price-btn:hover {
    background: #e67e22;
}

.youbid-lower-price-btn:disabled,
.youbid-remove-price-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.youbid-remove-price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.youbid-remove-price-btn {
    background: #f44336;
}

.youbid-remove-price-btn:hover {
    background: #d32f2f;
}

.youbid-warning-text {
    margin: 0;
    font-size: 12px;
    color: #d32f2f;
    font-style: italic;
}

.youbid-reserve-price-messages {
    margin-top: 15px;
    min-height: 20px;
}

.youbid-reserve-price-message {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.youbid-reserve-price-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.youbid-reserve-price-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #e57373;
}

.youbid-reserve-price-message.loading {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #64b5f6;
}

/* Blinking animation for success messages */
@keyframes youbid-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.youbid-reserve-price-message.blink {
    animation: youbid-blink 0.8s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .youbid-reserve-price-manager-box {
        flex-direction: column;
    }
    
    .youbid-reserve-price-icon {
        align-self: center;
    }
    
    .youbid-price-input-wrapper,
    .youbid-lower-price-btn,
    .youbid-remove-price-btn {
        max-width: 100%;
    }
}

