/**
 * Frontend Styles for WooCommerce Quote Request
 */

/* Quote Button Styles */
.wc-quote-add-to-quote {
	margin: 20px 0;
}

.wc-quote-button {
	background-color: #0073aa;
	color: #fff;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	cursor: pointer;
	border-radius: 3px;
	transition: background-color 0.3s ease;
}

.wc-quote-button:hover {
	background-color: #005a87;
	color: #fff;
}

.wc-quote-button-loop {
	background-color: #0073aa;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	display: inline-block;
	border-radius: 3px;
	transition: background-color 0.3s ease;
}

.wc-quote-button-loop:hover {
	background-color: #005a87;
	color: #fff;
}

.wc-quote-button-added {
	background-color: #28a745 !important;
	color: #fff !important;
	cursor: default !important;
}

.wc-quote-button-added:hover {
	background-color: #28a745 !important;
	color: #fff !important;
}

.wc-quote-view-button {
	background-color: #0073aa;
	color: #fff;
	margin-left: 10px;
}

.wc-quote-view-button:hover {
	background-color: #005a87;
	color: #fff;
}

/* Quote Counter in Header */
.wc-quote-counter-menu-item {
	position: relative;
}

.wc-quote-counter-link {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}

.wc-quote-counter-badge {
	display: inline-block;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background-color: #0073aa;
	color: #fff;
	border-radius: 10px;
	padding: 0 6px;
	font-size: 12px;
	font-weight: bold;
	transition: all 0.3s ease;
}

.wc-quote-counter-badge.has-items {
	background-color: #d63638;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

/* Status Badges */
.wc-quote-status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wc-quote-status-pending {
	background-color: #f0b849;
	color: #fff;
}

.wc-quote-status-sent {
	background-color: #2271b1;
	color: #fff;
}

.wc-quote-status-accepted {
	background-color: #00a32a;
	color: #fff;
}

.wc-quote-status-rejected {
	background-color: #d63638;
	color: #fff;
}

.wc-quote-status-expired {
	background-color: #646970;
	color: #fff;
}

/* Guest Information Form */
.wc-quote-guest-info {
	margin: 20px 0;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.wc-quote-guest-info h3 {
	margin-top: 0;
	margin-bottom: 15px;
}

.wc-quote-guest-info .form-row {
	margin-bottom: 15px;
}

.wc-quote-guest-info label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.wc-quote-guest-info .required {
	color: #dc3232;
}

.wc-quote-guest-info .input-text {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.wc-quote-login-required {
	margin: 20px 0;
}

.wc-quote-login-required .button {
	background-color: #0073aa;
	color: #fff;
}

.wc-quote-login-required .button:hover {
	background-color: #005a87;
	color: #fff;
}

/* Quote Cart Page */
.wc-quote-cart-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.wc-quote-cart-page h1 {
	margin-bottom: 30px;
}

.wc-quote-cart-empty {
	text-align: center;
	padding: 60px 20px;
}

.wc-quote-cart-table {
	width: 100%;
	margin-bottom: 30px;
}

.wc-quote-cart-table th {
	background-color: #f5f5f5;
	padding: 15px;
	text-align: left;
	border-bottom: 2px solid #ddd;
}

.wc-quote-cart-table td {
	padding: 15px;
	border-bottom: 1px solid #eee;
}

.wc-quote-cart-item:hover {
	background-color: #f9f9f9;
}

.wc-quote-remove {
	color: #a00;
	font-size: 24px;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
	width: 24px;
	height: 24px;
	text-align: center;
}

.wc-quote-remove:hover {
	color: #dc3232;
}

.wc-quote-quantity {
	width: 80px;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.wc-quote-cart-notes {
	margin: 30px 0;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 5px;
}

.wc-quote-cart-notes h3 {
	margin-top: 0;
	margin-bottom: 15px;
}

.wc-quote-notes {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-family: inherit;
	resize: vertical;
}

.wc-quote-cart-actions {
	margin-top: 30px;
	display: flex;
	gap: 15px;
	align-items: center;
}

.wc-quote-submit-button {
	background-color: #0073aa;
	color: #fff;
	padding: 15px 30px;
	font-size: 16px;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.wc-quote-submit-button:hover {
	background-color: #005a87;
	color: #fff;
}

/* My Account Quotes */
.wc-quote-status {
	padding: 5px 12px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	display: inline-block;
}

.wc-quote-status-pending {
	background-color: #ffc107;
	color: #000;
}

.wc-quote-status-sent {
	background-color: #17a2b8;
	color: #fff;
}

.wc-quote-status-accepted {
	background-color: #28a745;
	color: #fff;
}

.wc-quote-status-rejected {
	background-color: #dc3545;
	color: #fff;
}

.quote-details-content {
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 5px;
}

.quote-details-content h4 {
	margin-top: 0;
	margin-bottom: 10px;
}

.quote-details-content ul {
	margin: 0;
	padding-left: 20px;
}

.quote-details-content li {
	margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
	.wc-quote-cart-actions {
		flex-direction: column;
	}
	
	.wc-quote-cart-actions .button {
		width: 100%;
		text-align: center;
	}
	
	.wc-quote-cart-table {
		font-size: 14px;
	}
	
	.wc-quote-cart-table th,
	.wc-quote-cart-table td {
		padding: 10px;
	}
}

