/* Wholesale Plugin Styles */

.wholesale-notice {
    background: #f0f8ff;
    border: 1px solid #0073aa;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wholesale-notice h3 {
    margin: 0 0 10px 0;
    color: #0073aa;
}

.wholesale-pricing-table {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wholesale-pricing-table h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.wholesale-pricing-table table {
    width: 100%;
    border-collapse: collapse;
   	background: var(--back-color3);
    border-radius: 4px;
    overflow: hidden;
}

.wholesale-pricing-table th,
.wholesale-pricing-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.wholesale-pricing-table th {
    background: #f5f5f5;
    font-weight: bold;
}


.wholesale-info {
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.wholesale-info h4 {
    margin: 0 0 10px 0;
    color: #0073aa;
}

.wholesale-info p {
    margin: 5px 0;
}

.wholesale-minimum-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    color: #856404;
    font-size: 14px;
}

.wholesale-cart-restrictions {
    background: #000;
    border: 1px solid #dee2e6;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wholesale-cart-restrictions h3 {
    margin: 0 0 15px 0;
}

.restriction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.restriction-item:last-child {
    border-bottom: none;
}

.restriction-item .label {
    font-weight: bold;
}

.restriction-item .value {
    color: #0073aa;
    font-weight: bold;
}

.restriction-item .current {
    color: #666;
    font-size: 0.9em;
}

.wholesale-application-form,
.wholesale-login-form {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wholesale-application-form h3,
.wholesale-login-form h3 {
    margin: 0 0 20px 0;
    text-align: center;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
}

.form-row button {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
}

.form-row button:hover {
    background: #005a87;
}

.wholesale-badge {
    background: #0073aa;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 10px;
    font-weight: bold;
}

.wholesale-cart-info {
	background: #000;
	border: 1px solid #dee2e6;
	padding: 20px;
	margin: 20px 0;
	border-radius: 6px;
	display: none;
}

.wholesale-cart-info h3 {
    margin: 0 0 15px 0;
}
.wholesale-pricing .woocommerce-Price-amount.amount, .wholesale-pricing .woocommerce-Price-currencySymbol {
	color: #fff;
}
.wholesale-requirements-notice {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    color: #721c24;
}

.wholesale-requirements-notice p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wholesale-pricing-table {
        padding: 15px;
    }
    
    .wholesale-pricing-table th,
    .wholesale-pricing-table td {
        padding: 8px;
        font-size: 14px;
    }
    
    .restriction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .wholesale-application-form,
    .wholesale-login-form {
        margin: 20px;
        padding: 20px;
    }
}

/* Loading States */
.wholesale-loading {
    opacity: 0.6;
    pointer-events: none;
}

.wholesale-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 #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 