/**
 * Tenbit Addon - Service Pricing Table Widget Styles
 * Author: Team Tenbit Solutions
 */

.tenbit-pricing-table-wrap {
	position: relative;
	width: 100%;
	background-color: #FFFFFF;
	border: 1px solid #E5ECF4;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(11, 43, 92, 0.04);
	box-sizing: border-box;
}

/* Table Header */
.tenbit-pricing-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #0B2B5C;
	padding: 18px 28px;
	box-sizing: border-box;
}

.tenbit-pricing-col-title {
	color: #FFFFFF;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	line-height: 1;
}

/* Rows */
.tenbit-pricing-body {
	width: 100%;
	box-sizing: border-box;
}

.tenbit-pricing-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 28px;
	border-bottom: 1px solid #EEF2F6;
	box-sizing: border-box;
	text-decoration: none;
	transition: background-color 0.25s ease;
}

.tenbit-pricing-row:last-child {
	border-bottom: none;
}

.tenbit-pricing-row:hover {
	background-color: #FAFCFF;
}

/* Link reset */
a.tenbit-pricing-row {
	color: inherit;
	cursor: pointer;
}

a.tenbit-pricing-row:hover,
a.tenbit-pricing-row:focus {
	text-decoration: none;
	color: inherit;
}

/* Left Service Cell */
.tenbit-pricing-service-cell {
	display: inline-flex;
	align-items: center;
	flex-grow: 1;
	padding-right: 20px;
	box-sizing: border-box;
}

/* Vertical Orange Accent Line */
.tenbit-service-accent-bar {
	display: inline-block;
	width: 3px;
	height: 18px;
	background-color: #FF5A00;
	border-radius: 2px;
	margin-right: 12px;
	flex-shrink: 0;
	vertical-align: middle;
}

/* Service Title Text */
.tenbit-service-name {
	color: #0B2B5C;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.01em;
	transition: color 0.25s ease;
}

.tenbit-pricing-row:hover .tenbit-service-name {
	color: #FF5A00;
}

/* Right Rate Badge Cell */
.tenbit-pricing-rate-cell {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	flex-shrink: 0;
	box-sizing: border-box;
}

/* Rate Badge Base */
.tenbit-rate-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 20px;
	font-family: inherit;
	font-size: 13.5px;
	line-height: 1.25;
	box-sizing: border-box;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tenbit-pricing-row:hover .tenbit-rate-badge {
	transform: scale(1.02);
}

/* Highlight Badge (Peach / Orange) */
.tenbit-rate-badge.badge-highlight {
	background-color: #FFF5F0;
	border: 1px solid #FDD8C4;
	color: #FF5A00;
	font-weight: 700;
}

.tenbit-rate-badge.badge-highlight .tenbit-badge-icon {
	color: #FF5A00;
}

.tenbit-rate-badge.badge-highlight svg {
	fill: #FF5A00;
	stroke: #FF5A00;
}

/* Standard Badge (Soft Blue) */
.tenbit-rate-badge.badge-standard {
	background-color: #F0F6FC;
	border: 1px solid #E2EDF8;
	color: #0B2B5C;
	font-weight: 600;
}

.tenbit-rate-badge.badge-standard .tenbit-badge-icon {
	color: #0B2B5C;
}

.tenbit-rate-badge.badge-standard svg {
	fill: #0B2B5C;
	stroke: #0B2B5C;
}

/* Badge Icon */
.tenbit-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
	font-size: 13px;
	line-height: 1;
	flex-shrink: 0;
}

.tenbit-badge-icon svg {
	width: 14px;
	height: 14px;
}

.tenbit-badge-text {
	display: inline-block;
}

/* Responsive */
@media (max-width: 767px) {
	.tenbit-pricing-header {
		padding: 14px 18px;
	}

	.tenbit-pricing-row {
		flex-direction: column;
		align-items: flex-start;
		padding: 16px 18px;
		row-gap: 12px;
	}

	.tenbit-pricing-service-cell {
		padding-right: 0;
		width: 100%;
	}

	.tenbit-pricing-rate-cell {
		width: 100%;
		justify-content: flex-start;
	}

	.tenbit-service-name {
		font-size: 14.5px;
	}

	.tenbit-rate-badge {
		font-size: 12.5px;
		padding: 6px 14px;
	}
}
