/*
// Version: 20250803-001625
// File: posh-dashboard.css
*/

body {
	font-family: Poppins, sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body .posh-advocate-container {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 1.5rem;
	box-sizing: border-box;
}

.posh-dashboard-container {
	max-width: 768px;
	margin: 2rem auto;
	padding: 0 1rem;
	box-sizing: border-box;
}

.posh-dashboard-container h9 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #fff;
}

.posh-dashboard-container a {
	text-decoration: none;
}

.posh-dashboard-container .nav-buttons {
	display: flex;
	gap: 12px;
	margin: 1rem 0;
	flex-wrap: wrap;
}

.posh-dashboard-container .greeting {
	font-size: 1.5rem;
	font-weight: 500;
	color: #000;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
}

.posh-select {
	font-family: Poppins, sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #222;
	background-color: #fff;
	border: 2px solid #E0457B;
	border-radius: 8px;
	padding: 6px 10px;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.2s ease;
	margin-bottom: 1rem;
}

.posh-select:focus {
	outline: none;
	border-color: #c73869;
	box-shadow: 0 0 0 2px #fcd2e0;
}

.styled-select {
	font-size: 0.95rem;
	font-family: Poppins, sans-serif;
	padding: 6px 10px;
	border-radius: 8px;
	border: 2px solid #E0457B;
	appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg fill='%23E0457B' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px;
	cursor: pointer;
	margin-bottom: 1rem;
}

.posh-dashboard-container ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.posh-dashboard-container li {
	margin-bottom: 2rem;
}

.posh-section-title {
	font-weight: 600;
	font-family: Poppins, sans-serif;
	color: #ffffff;
}

.section-rank,
.section-myteam,
.section-orders,
.section-incentive {
	padding: 2rem;
	border-radius: 10px;
	position: relative;
	font-family: Poppins, sans-serif;
}

.section-myteam {
	background-color: #F7C498;
	margin-bottom: 1rem;
}

.section-orders {
	background-color: #0ABAB5;
	margin-bottom: 1rem;
}

.section-incentive {
	background-color: #375275;
	color: white;
	border-radius: 12px;
}

.team-center-container {
	max-width: 764px;
	margin: 0 auto;
	padding: 1.5rem;
	box-sizing: border-box;
	font-family: Poppins, sans-serif;
}

.team-center-header {
	font-size: 2.5rem;
	font-weight: 600;
	color: #222;
	margin-bottom: 0.25rem;
}

.team-center-subtext {
	color: #555;
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

.team-drawer-wrapper {
	width: 100%;
	margin-bottom: 1rem;
}

.team-drawer-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	background: #E0457B;
	color: #fff;
	border: none;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	padding: 10px 20px;
	margin-bottom: 1rem;
	transition: all 0.2s ease;
}

.team-drawer-toggle.hide-state {
	background: #fff;
	color: #E0457B;
	border: 2px solid #E0457B;
}

#filter-drawer {
	display: none;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
	transition: all 0.3s ease;
}

#filter-drawer.active {
	display: flex;
}

.drawer-group {
	display: flex;
	flex-direction: column;
	flex: 1 1 140px;
	min-width: 140px;
}

.drawer-group label {
	font-weight: 500;
	margin-bottom: 4px;
}

.drawer-input,
.drawer-select {
	padding: 8px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.team-filter-button-wrapper {
	align-self: flex-end;
}

.pink-pill {
	background-color: #E0457B;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: bold;
	cursor: pointer;
	font-size: 15px;
	transition: background-color 0.2s ease;
}

.pink-pill:hover {
	background-color: #c73869;
}

.white-pill {
	background-color: #fff;
	color: #E0457B;
	border: 2px solid #E0457B;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: bold;
	cursor: pointer;
	font-size: 15px;
	transition: background-color 0.2s ease;
}

.white-pill:hover {
	background-color: #fce5ef;
}

.customer-table,
.team-results-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	font-family: Poppins, sans-serif;
	margin-bottom: 2rem;
	table-layout: fixed;
}

.customer-table th,
.customer-table td,
.team-results-table th,
.team-results-table td {
	padding: 10px;
	vertical-align: middle;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Remove inner border between column 1 and 2 */
.team-results-table td:nth-child(1),
.team-results-table th:nth-child(1) {
	border-right: none;
	text-align: center;
	white-space: normal;
	overflow: visible;
	text-overflow: unset;
}

.team-results-table td:nth-child(2),
.team-results-table th:nth-child(2) {
	border-left: none;
	text-align: left;
}

/* Align other columns */
.team-results-table th:nth-child(3),
.team-results-table td:nth-child(3),
.team-results-table th:nth-child(4),
.team-results-table td:nth-child(4),
.team-results-table th:nth-child(5),
.team-results-table td:nth-child(5) {
	text-align: center;
}

/* Widths */
.team-results-table th:nth-child(1) { width: 30px; text-align: center; }
.team-results-table th:nth-child(2) { width: 50%; text-align: center; }
.team-results-table th:nth-child(3) { width: 75px; text-align: center; }
.team-results-table th:nth-child(4) { width: 75px; text-align: center; }
.team-results-table th:nth-child(5) { width: 120px; text-align: center; }

.customer-table td:nth-child(1),
.customer-table th:nth-child(1) {
	width: 40%;
	text-align: left;
}

.customer-table td:nth-child(2),
.customer-table th:nth-child(2),
.customer-table td:nth-child(3),
.customer-table th:nth-child(3) {
	width: 20%;
	text-align: center;
}

.customer-table td:nth-child(4),
.customer-table th:nth-child(4) {
	width: 20%;
	text-align: right;
}

.customer-table tbody tr:hover,
.team-results-table tbody tr:hover {
	background-color: #fafafa;
}

.team-results-table td .team-expand-button {
	display: inline-block;
	min-width: 16px;
	font-size: 18px;
	font-weight: 400;
	color: #E0457B;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}

.team-name-link.contact-trigger {
	color: #E0457B;
	cursor: pointer;
	font-weight: 500;
	text-decoration: none;
	background: none;
	border: none;
	font-size: inherit;
	padding: 0;
}

.team-error-message {
	color: #B00020;
	background: #ffe6e6;
	padding: 1rem;
	border-radius: 6px;
	font-weight: 500;
}

#posh-contact-modal,
#posh-order-modal,
#customer-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}

#posh-order-modal.active {
	display: flex;
}

.order-modal-content {
	width: 90%;
	max-width: 600px;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow-y: auto;
	max-height: 80vh;
}

.contact-card-host {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 1rem;
	box-sizing: border-box;
}

.contact-card-wrapper {
	width: 400px;
	border-radius: 24px;
	border: 4px solid #E0457B;
	background: #fff;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	position: relative;
	font-size: 15px;
	line-height: 1.6;
	color: #000;
}

.contact-close {
	position: absolute;
	top: 12px;
	right: 16px;
	font-size: 24px;
	font-weight: bold;
	color: #E0457B;
	background: none;
	border: none;
	cursor: pointer;
}

.contact-row {
	margin-bottom: 8px;
}

.contact-row strong {
	display: inline-block;
	width: 90px;
	font-weight: 600;
}

.contact-row a {
	color: #E0457B;
	text-decoration: none;
}

.posh-orders-pagination.clean {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	gap: 10px;
	margin: 0 0 2rem;
	flex-wrap: nowrap;
}

.section-order-button {
	background-color: #ffffff;
	color: #222;
	border: 1px solid #ccc;
	border-radius: 10px;
	min-width: 68px;
	height: 52px;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease-in-out;
}

.section-order-button.active {
	background-color: #E0457B;
	color: #fff;
	border-color: #E0457B;
	box-shadow: 0 0 0 2px #E0457B55;
}

.section-order-button:hover {
	box-shadow: 0 0 0 2px #E0457B33;
}

.down-multiselect {
	position: relative;
	font-size: 14px;
}

.down-multiselect-toggle {
	width: 100%;
	padding: 8px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	text-align: left;
}

.down-multiselect-options {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	max-height: 200px;
	overflow-y: auto;
	z-index: 999;
	margin-top: 4px;
}

.down-multiselect.open .down-multiselect-options {
	display: block;
}

.down-multiselect-options label {
	display: flex;
	align-items: center;
	padding: 6px 10px;
	cursor: pointer;
}

.down-multiselect-options label:hover {
	background-color: #f3f3f3;
}

.down-multiselect-options input[type="checkbox"] {
	margin-right: 8px;
}

.down-multiselect-clear {
	font-size: 12px;
	color: #E0457B;
	font-weight: 600;
	cursor: pointer;
	padding: 6px 10px;
	text-align: right;
}

@media (max-width: 500px) {
	.customer-table th,
	.customer-table td,
	.team-results-table th,
	.team-results-table td {
		font-size: 12px;
		padding: 8px;
	}
	.hide-mobile,
	.hide-mobile-extra {
		display: none !important;
	}
}