/**
 * Buildzair Contractor Dashboard — minimal, self-contained styling.
 * Namespaced under .bz- so it never collides with Workreap/theme CSS.
 * Colors are neutral defaults; adjust the variables below to match
 * BuilDzair's brand palette whenever convenient.
 */

:root {
	--bz-primary: #1a9e5c;
	--bz-primary-light: #e7f7ef;
	--bz-border: #e4e4e7;
	--bz-text: #1f2328;
	--bz-text-muted: #6b7280;
	--bz-bg: #f9fafb;
}

.bz-dashboard {
	display: flex;
	gap: 24px;
	max-width: 1200px;
	margin: 32px auto;
	padding: 0 16px;
	align-items: flex-start;
}

.bz-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
}

.bz-badge--qualified {
	background: var(--bz-primary);
	color: #fff;
}

.bz-badge--pending {
	background: #f3f4f6;
	color: var(--bz-text-muted);
}

.bz-profile__qualified-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bz-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	margin-top: 10px;
}

.bz-profile__qualified-badge i {
	font-size: 15px;
}

.bz-dashboard__content {
	flex: 1;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: 12px;
	padding: 32px;
	min-width: 0;
}

.bz-dashboard__content h2 {
	margin-top: 0;
}

.bz-stats {
	display: flex;
	gap: 16px;
	margin: 20px 0;
	flex-wrap: wrap;
}

.bz-stat-card {
	background: var(--bz-bg);
	border-radius: 10px;
	padding: 16px 24px;
	min-width: 140px;
}

.bz-stat-card__value {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: var(--bz-text);
}

.bz-stat-card__label {
	display: block;
	font-size: 13px;
	color: var(--bz-text-muted);
	margin-top: 4px;
}

.bz-notice {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 14px;
	margin-bottom: 16px;
}

.bz-notice--success {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #065f46;
}

.bz-notice--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.bz-verification-intro {
	background: var(--bz-primary-light);
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 20px;
}

.bz-verification-intro h3 {
	margin: 0 0 10px;
	color: var(--bz-primary);
}

.bz-verification-intro p {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.7;
}

.bz-verification-intro p:last-child {
	margin-bottom: 0;
}

.bz-location-heading {
	font-size: 15px;
	font-weight: 700;
	margin: 20px 0 4px;
}

.bz-project-docs-hint {
	font-size: 13px;
	color: var(--bz-text-muted, #6b7280);
	margin: 0 0 12px;
}

.bz-project-doc-slot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f1f2f4;
	flex-wrap: wrap;
}

.bz-project-doc-slot:last-child {
	border-bottom: none;
}

.bz-project-doc-slot > span:first-child {
	min-width: 110px;
	font-weight: 600;
	font-size: 14px;
}

.bz-project-doc-status {
	font-size: 12px;
	color: var(--bz-primary, #1a9e5c);
}

.bz-boq-choice-slot {
	flex-direction: column;
	align-items: stretch !important;
	width: 100%;
}

.bz-boq-radio-option {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	margin: 10px 0 4px;
	width: 100%;
}

.bz-boq-radio-option input[type="radio"] {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.bz-boq-mode-panel {
	padding: 10px 24px;
	width: 100%;
	box-sizing: border-box;
}

#bz-generate-boq-status {
	font-size: 12px;
	color: #dc2626;
	margin-inline-start: 10px;
}

.bz-project-single {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	overflow: hidden;
	margin: 30px 0;
}

.bz-project-single__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding: 24px;
	border-bottom: 1px solid #f1f2f4;
}

.bz-project-single__title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
}

.bz-project-single__owner {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bz-project-single__owner img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.bz-project-single__owner span {
	display: block;
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
}

.bz-project-single__cta {
	flex-shrink: 0;
}

.bz-project-single__body {
	display: flex;
	gap: 24px;
	padding: 24px;
	flex-wrap: wrap;
}

.bz-project-single__main {
	flex: 2;
	min-width: 280px;
}

.bz-project-single__main h3 {
	font-size: 16px;
	margin: 0 0 10px;
}

.bz-project-single__description {
	font-size: 14px;
	line-height: 1.9;
	color: #374151;
	margin-bottom: 24px;
}

.bz-project-single__docs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bz-project-single__docs li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid #f1f2f4;
}

.bz-project-single__docs li:last-child {
	border-bottom: none;
}

.bz-project-single__docs a {
	color: var(--bz-primary, #1a9e5c);
	font-weight: 600;
}

.bz-project-single__no-docs {
	color: var(--bz-text-muted, #6b7280);
	font-size: 13px;
}

.bz-project-single__sidebar {
	flex: 1;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bz-project-single__spec {
	background: #f9fafb;
	border-radius: 10px;
	padding: 12px 14px;
}

.bz-project-single__spec span {
	display: block;
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
	margin-bottom: 4px;
}

.bz-project-single__spec strong {
	display: block;
	font-size: 14px;
}

.bz-project-single__spec p {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--bz-text-muted, #6b7280);
}

.bz-project-single__spec--highlight {
	background: var(--bz-primary-light, #e7f7ef);
}

.bz-project-single__spec--highlight strong {
	color: var(--bz-primary, #1a9e5c);
}

.bz-project-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bz-tag {
	background: #eef2ff;
	color: #4338ca;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 999px;
}

.bz-owner-projects {
	max-width: 960px;
	margin: 30px auto;
}

.bz-owner-projects__title {
	font-size: 22px;
	margin: 0 0 24px;
}

.bz-owner-projects__summary {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.bz-owner-projects__summary-box {
	flex: 1;
	min-width: 160px;
	background: #f9fafb;
	border-radius: 12px;
	padding: 16px;
	text-align: center;
}

.bz-owner-projects__summary-box span {
	display: block;
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
	margin-bottom: 6px;
}

.bz-owner-projects__summary-box strong {
	display: block;
	font-size: 16px;
}

.bz-owner-projects__summary-box--highlight {
	background: var(--bz-primary-light, #e7f7ef);
}

.bz-owner-projects__summary-box--highlight strong {
	color: var(--bz-primary, #1a9e5c);
}

.bz-owner-projects__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}

.bz-owner-projects__table th,
.bz-owner-projects__table td {
	padding: 14px 16px;
	text-align: start;
	font-size: 14px;
	border-bottom: 1px solid #f1f2f4;
}

.bz-owner-projects__table th {
	background: #f9fafb;
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
	font-weight: 600;
}

.bz-owner-projects__table tr:last-child td {
	border-bottom: none;
}

.bz-owner-projects__row-btn {
	white-space: nowrap;
	padding: 6px 14px !important;
	font-size: 13px !important;
}

.bz-proposals-mgmt {
	max-width: 960px;
	margin: 30px auto;
}

.bz-proposals-mgmt__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 20px;
}

.bz-proposals-mgmt__title {
	font-size: 22px;
	margin: 0;
}

.bz-proposals-mgmt__header-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

@media (max-width: 782px) {
	.bz-proposals-mgmt__header { flex-direction: column; align-items: stretch; }
	.bz-proposals-mgmt__header-actions .wr-btn { flex: 1; text-align: center; justify-content: center; }
}

.bz-proposals-mgmt__summary {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.bz-proposals-mgmt__summary-box {
	flex: 1;
	min-width: 160px;
	background: #f9fafb;
	border-radius: 12px;
	padding: 16px;
	text-align: center;
}

.bz-proposals-mgmt__summary-box span {
	display: block;
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
	margin-bottom: 6px;
}

.bz-proposals-mgmt__summary-box strong {
	display: block;
	font-size: 16px;
}

.bz-proposals-mgmt__summary-box--highlight {
	background: var(--bz-primary-light, #e7f7ef);
}

.bz-proposals-mgmt__summary-box--highlight strong {
	color: var(--bz-primary, #1a9e5c);
}

.bz-proposal-row {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 14px;
}

.bz-proposal-row__main {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.bz-proposal-row__contractor {
	flex: 1.4;
	font-weight: 700;
	min-width: 140px;
}

.bz-proposal-row__amount {
	flex: 1.8;
	min-width: 160px;
	font-size: 14px;
	white-space: nowrap;
}

.bz-proposal-row__duration,
.bz-proposal-row__status {
	flex: 1;
	min-width: 100px;
	font-size: 14px;
}

.bz-proposal-row__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	min-width: 190px;
	margin-inline-start: auto;
}

.bz-proposal-row__view-details {
	text-align: center;
	margin-top: 12px;
}

.bz-proposal-row__view-details .bz-proposal-btn {
	width: 100%;
	max-width: 100%;
}

.bz-proposal-row__details {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #f1f2f4;
	font-size: 13px;
	color: #374151;
}

.bz-proposal-row__details p {
	margin: 0 0 8px;
}

.bz-proposal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: 1.5px solid transparent;
	white-space: nowrap;
}

.bz-proposal-btn--details {
	background: #fff;
	border-color: var(--bz-primary, #1a9e5c);
	color: var(--bz-primary, #1a9e5c);
}

.bz-proposal-btn--details:hover {
	background: var(--bz-primary-light, #e7f7ef);
}

.bz-proposal-btn--accept {
	background: var(--bz-primary, #1a9e5c);
	border-color: var(--bz-primary, #1a9e5c);
	color: #fff;
}

.bz-proposal-btn--accept:hover {
	background: #158550;
}

.bz-proposal-btn--reject {
	background: #fff;
	border-color: #dc2626;
	color: #dc2626;
}

.bz-proposal-btn--reject:hover {
	background: #fef2f2;
}

.bz-proposal-row--header {
	background: #f9fafb;
	border-radius: 8px;
	padding: 10px 16px;
}

.bz-proposal-row--header .bz-proposal-row__main {
	padding: 0;
}

.bz-proposal-boq-summary {
	margin-top: 10px;
}

.bz-proposal-boq-lot {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 8px;
	overflow: hidden;
}

.bz-proposal-boq-lot__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	background: #f9fafb;
	cursor: pointer;
}

.bz-proposal-boq-lot__header strong {
	color: var(--bz-primary, #1a9e5c);
}

.bz-proposal-boq-lot__items {
	padding: 6px 14px;
}

.bz-proposal-boq-item {
	display: flex;
	gap: 10px;
	padding: 6px 0;
	border-top: 1px solid #f3f4f6;
	font-size: 13px;
	flex-wrap: wrap;
}

.bz-proposal-boq-item__desc {
	flex: 3;
	min-width: 160px;
}

.bz-proposal-boq-item__qty {
	flex: 1;
	color: #6b7280;
	text-align: center;
}

.bz-proposal-boq-item__price,
.bz-proposal-boq-item__subtotal {
	flex: 1;
	text-align: end;
	font-weight: 600;
}

.bz-proposal-boq-grand-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--bz-primary-light, #e7f7ef);
	border-radius: 8px;
	padding: 10px 14px;
	margin-top: 8px;
	font-weight: 700;
}

.bz-proposal-boq-grand-total strong {
	color: var(--bz-primary, #1a9e5c);
}

@media (max-width: 782px) {
	.bz-proposal-row--header { display: none; }
	.bz-proposal-row__actions { min-width: 0; }
	.bz-proposal-boq-item { flex-direction: column; }
	.bz-proposal-boq-item__desc, .bz-proposal-boq-item__qty, .bz-proposal-boq-item__price, .bz-proposal-boq-item__subtotal { text-align: start; width: 100%; }
}

.bz-employer-projects__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.bz-employer-projects__header h1 {
	margin: 0;
	font-size: 22px;
}

.bz-proposal-page {
	max-width: 720px;
	margin: 30px auto;
}

.bz-proposal-page__project-recap {
	background: var(--bz-primary-light, #e7f7ef);
	border-radius: 12px;
	padding: 18px 22px;
	margin-bottom: 24px;
}

.bz-proposal-page__project-recap span:first-child {
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
}

.bz-proposal-page__project-recap h2 {
	margin: 4px 0 10px;
	font-size: 19px;
}

.bz-proposal-page__project-recap h2 a {
	color: inherit;
}

.bz-proposal-page__project-meta {
	display: flex;
	gap: 18px;
	font-size: 13px;
	color: var(--bz-text-muted, #6b7280);
}

.bz-proposal-form {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 24px;
}

.bz-duration-group {
	display: flex;
	gap: 10px;
}

.bz-duration-group input,
.bz-duration-group select {
	flex: 1;
}

/* The global '.select2-container { width: 100% !important; }' rule
   (added for fields that should each fill their own full-width
   form-group) fights this flex row specifically — a select2-enhanced
   unit dropdown here needs to SHARE the row with the number input,
   not claim the whole line and push it to wrap. More specific
   selector wins over the global rule even with matching !important. */
.bz-duration-group .select2-container {
	width: auto !important;
	flex: 1;
}

.bz-advance-payment {
	background: #f9fafb;
	border-radius: 10px;
	padding: 14px 16px;
}

.bz-advance-payment__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.bz-advance-payment__toggle input[type="checkbox"] {
	width: 16px;
	height: 16px;
}

.bz-advance-payment__row {
	display: flex;
	gap: 16px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
	flex-wrap: wrap;
}

.bz-advance-payment__row > div {
	flex: 1;
	min-width: 160px;
}

.bz-proposal-form__actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px;
}

.bz-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 24, 39, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 20px;
}

.bz-modal {
	background: #fff;
	border-radius: 14px;
	padding: 28px;
	max-width: 420px;
	width: 100%;
	text-align: center;
}

.bz-modal h3 {
	margin: 0 0 12px;
	color: var(--bz-primary, #1a9e5c);
	font-size: 18px;
}

.bz-modal p {
	font-size: 14px;
	color: #374151;
	line-height: 1.8;
	margin: 0 0 20px;
}

.bz-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.bz-project-type-modal {
	max-width: 900px;
	text-align: center;
	position: relative;
	padding: 36px;
}

.bz-project-type-modal h2 {
	margin: 0 0 8px;
	font-size: 24px;
}

.bz-project-type-modal > p {
	margin: 0 0 28px;
	color: var(--bz-text-muted, #6b7280);
}

.bz-project-type-modal__close {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var(--bz-text-muted, #6b7280);
}

.bz-project-type-cards {
	display: flex;
	gap: 20px;
	text-align: start;
}

.bz-project-type-card {
	flex: 1;
	border: 2px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
}

.bz-project-type-card--execution {
	border-color: #a7f3d0;
	background: #f4fdf8;
}

.bz-project-type-card--study {
	border-color: #bfdbfe;
	background: #f5f9ff;
}

.bz-project-type-card__image {
	width: 100%;
	max-width: 220px;
	height: auto;
	margin-bottom: 14px;
	display: block;
}

.bz-project-type-card h3 {
	margin: 0 0 10px;
	font-size: 19px;
}

.bz-project-type-card--execution h3 {
	color: var(--bz-primary, #1a9e5c);
}

.bz-project-type-card--study h3 {
	color: #2563eb;
}

.bz-project-type-card p {
	font-size: 13px;
	color: #374151;
	line-height: 1.7;
	margin: 0 0 16px;
}

.bz-project-type-card ul {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bz-project-type-card ul li {
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #374151;
}

.bz-project-type-card--execution ul li i {
	color: var(--bz-primary, #1a9e5c);
}

.bz-project-type-card--study ul li i {
	color: #2563eb;
}

.bz-project-type-card .wr-btn {
	margin-top: auto;
	width: 100%;
	text-align: center;
	justify-content: center;
}

.bz-project-type-card--study .wr-btn {
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
}

.bz-project-type-card--study .wr-btn:hover {
	background: var(--bz-primary, #1a9e5c);
	border-color: var(--bz-primary, #1a9e5c);
	color: #fff;
}

.bz-project-type-modal__note {
	margin: 20px 0 0;
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.bz-verification-upload-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bz-verification-status {
	font-size: 13px;
	color: var(--bz-text-muted);
}

.bz-portfolio-photos-row {
	display: flex;
	gap: 12px;
}

.bz-portfolio-dropzone {
	width: 110px;
	height: 90px;
	border: 2px dashed var(--bz-border);
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

.bz-portfolio-dropzone__label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 100%;
	cursor: pointer;
	color: var(--bz-text-muted);
	font-size: 12px;
	text-align: center;
}

.bz-portfolio-dropzone i {
	font-size: 22px;
}

.bz-portfolio-table-thumb {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 6px;
	margin-inline-end: 4px;
}

.bz-portfolio-table {
	width: 100%;
	border-collapse: collapse;
}

.bz-portfolio-table th,
.bz-portfolio-table td {
	text-align: right;
	padding: 12px 10px;
	border-bottom: 1px solid var(--bz-border);
	font-size: 14px;
}

.bz-portfolio-table th {
	color: var(--bz-text-muted);
	font-weight: 600;
}

.bz-portfolio-edit {
	background: none;
	border: none;
	color: var(--bz-text-muted);
	cursor: pointer;
	font-size: 16px;
	margin-inline-end: 8px;
}

.bz-portfolio-delete {
	background: none;
	border: none;
	color: #dc2626;
	cursor: pointer;
	font-size: 16px;
}

.bz-settings-row {
	display: flex;
	gap: 16px;
}

.bz-settings-row .form-group {
	flex: 1;
}

.bz-settings-image-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--bz-bg);
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 24px;
}

.bz-settings-image-card__text h4 {
	margin: 0 0 6px;
}

.bz-settings-image-card__text p {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--bz-text-muted);
}

.bz-settings-image-card__preview {
	width: 90px;
	height: 90px;
	flex-shrink: 0;
	border-radius: 10px;
	background: #fff;
	background-size: cover;
	background-position: center;
	border: 1px solid var(--bz-border);
}

.bz-settings-save-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
}

.bz-settings-save-row em {
	font-size: 13px;
	color: var(--bz-text-muted);
	font-style: normal;
}

#bz-settings-status {
	font-size: 13px;
	color: var(--bz-primary);
}

.bz-sidebar-group-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bz-sidebar-group-arrow {
	font-size: 12px;
	transition: transform 0.15s ease;
	margin-inline-start: auto;
}

.bz-sidebar-group--open .bz-sidebar-group-arrow {
	transform: rotate(180deg);
}

.bz-sidebar-submenu {
	list-style: none;
	margin: 0;
	padding-inline-start: 30px;
}

.bz-sidebar-submenu li a {
	font-size: 13px;
	padding: 8px 0;
	display: block;
}

.bz-select-icon-option {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 2px 0;
}

.bz-pcard {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 20px;
}

.bz-pcard__title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding: 20px 24px;
}

.bz-pcard__title {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	flex: 1;
	min-width: 0;
}

.bz-pcard__title a {
	color: inherit;
}

.bz-pcard__title-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.bz-pcard__save {
	display: inline-flex;
}

.bz-pcard__divider {
	height: 1px;
	background: #f1f2f4;
}

.bz-pcard__divider--green {
	background: var(--bz-primary, #1a9e5c);
	opacity: 0.35;
}

.bz-pcard__body {
	display: flex;
}

.bz-pcard__main {
	flex: 1;
	padding: 20px 24px;
	min-width: 0;
}

.bz-pcard__sidebar {
	background: var(--bz-primary-light, #e7f7ef);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 170px;
	flex-shrink: 0;
}

.bz-pcard__sidebar-item span {
	display: block;
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
	margin-bottom: 4px;
}

.bz-pcard__sidebar-item strong {
	display: block;
	font-size: 14px;
	color: var(--bz-primary, #1a9e5c);
	word-break: break-word;
}

.bz-pcard__description-wrap {
	margin-bottom: 14px;
}

.bz-pcard__description {
	font-size: 14px;
	line-height: 1.8;
	color: #374151;
	max-height: 4.8em;
	overflow: hidden;
	transition: max-height 0.2s ease;
}

.bz-pcard__description-wrap--expanded .bz-pcard__description {
	max-height: none;
}

.bz-pcard__more {
	background: none;
	border: none;
	padding: 0;
	margin-top: 6px;
	color: var(--bz-primary, #1a9e5c);
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}

.bz-pcard__specs {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.bz-pcard__spec {
	flex: 1;
	min-width: 150px;
	background: #f9fafb;
	border-radius: 10px;
	padding: 12px 14px;
	text-align: center;
}

.bz-pcard__spec i {
	display: block;
	margin: 0 auto 6px;
	font-size: 18px;
	color: var(--bz-text-muted, #6b7280);
}

.bz-pcard__spec span {
	display: block;
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
	margin-bottom: 4px;
}

.bz-pcard__spec strong {
	display: block;
	font-size: 14px;
	color: var(--bz-primary, #1a9e5c);
}

.bz-pcard__footer {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	padding: 14px 24px;
	font-size: 13px;
	color: var(--bz-text-muted, #6b7280);
}

.bz-pcard__footer span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.bz-pcard__deadline {
	margin-inline-start: auto;
}

.bz-select-icon-option i {
	margin-top: 2px;
	color: var(--bz-primary, #1a9e5c);
}

.bz-select-icon-option__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bz-select-icon-option__text span {
	font-size: 12px;
	color: var(--bz-text-muted, #6b7280);
}

.select2-selection__rendered i {
	margin-inline-end: 4px;
	color: var(--bz-primary, #1a9e5c);
}

/* Select2 sometimes doesn't fill the same width as our plain
   .form-control inputs/selects — force it to match. */
.select2-container {
	width: 100% !important;
}

.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
	width: 100%;
	min-height: 46px;
	display: flex;
	align-items: center;
	padding: 0 12px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	line-height: normal;
	padding: 0;
}

.select2-container .select2-selection--single .select2-selection__arrow {
	height: 100%;
	top: 0;
}

/* Workreap's own mobile-only avatar dropdown duplicates our full
   sidebar for Contractor (see add_contractor_body_class() for why this
   has to be CSS-only, scoped to this body class). */
body.bz-is-contractor .wr-user-menu.d-xl-none.d-xxl-none {
	display: none !important;
}

.bz-profile {
	max-width: 1000px;
	margin: 32px auto;
	padding: 0 16px;
}

.bz-profile__cover {
	height: 110px;
	background: var(--bz-primary);
	border-radius: 12px 12px 0 0;
}

.bz-profile__header {
	background: #fff;
	border: 1px solid var(--bz-border);
	border-top: none;
	border-radius: 0 0 12px 12px;
	padding: 0 24px 20px;
}

.bz-profile__header-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: -48px;
}

.bz-profile__avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--bz-primary-light);
	border: 3px solid #fff;
	overflow: hidden;
}

.bz-profile__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bz-profile__share {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}

.bz-profile__share-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bz-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bz-text-muted);
	text-decoration: none;
}

.bz-profile__identity {
	margin-top: 12px;
}

.bz-profile__identity h1 {
	font-size: 20px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.bz-profile__tagline {
	color: var(--bz-text-muted);
	font-size: 14px;
	margin: 4px 0 0;
}

.bz-profile__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 20px;
	margin-top: 20px;
}

.bz-profile__card {
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: 12px;
	padding: 18px 20px;
	margin-bottom: 16px;
}

.bz-profile__card-label {
	font-size: 13px;
	color: var(--bz-text-muted);
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.bz-profile__info-label {
	font-size: 12px;
	color: var(--bz-text-muted);
	margin: 0 0 3px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.bz-profile__zoomable {
	cursor: zoom-in;
}

.bz-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.bz-lightbox--open {
	display: flex;
}

.bz-lightbox img {
	max-width: 90%;
	max-height: 85vh;
	border-radius: 6px;
}

.bz-lightbox__close {
	position: absolute;
	top: 20px;
	right: 28px;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	line-height: 1;
}

.bz-profile__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bz-profile__tag {
	background: var(--bz-primary-light);
	color: var(--bz-primary);
	font-size: 13px;
	padding: 5px 12px;
	border-radius: 999px;
}

.bz-profile__portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.bz-profile__portfolio-item {
	aspect-ratio: 1;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	background-color: var(--bz-bg);
}

.bz-profile__empty {
	font-size: 13px;
	color: var(--bz-text-muted);
	margin: 0;
}

.bz-profile__about-text {
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
}

.bz-profile__achievement {
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--bz-border);
}

.bz-profile__achievement:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}

.bz-profile__achievement-title {
	font-size: 15px;
	margin: 0 0 4px;
}

.bz-profile__achievement-details {
	font-size: 13px;
	color: var(--bz-text-muted);
	line-height: 1.6;
	margin: 0 0 10px;
}

.bz-profile__info-row {
	padding: 10px 0;
	border-bottom: 1px solid var(--bz-border);
}

.bz-profile__info-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.bz-profile__info-value {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

@media (max-width: 782px) {
	.bz-profile__body {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.bz-dashboard {
		flex-direction: column;
	}
	.wr-dashboard-sidebar-wrapper {
		width: 100%;
	}
	.bz-settings-row {
		flex-direction: column;
	}
	.bz-settings-image-card {
		flex-direction: column;
		align-items: flex-start;
	}
	.bz-portfolio-photos-row {
		flex-wrap: wrap;
	}
	.bz-pcard__body {
		flex-direction: column;
	}
	.bz-pcard__title-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.bz-pcard__title-actions {
		width: 100%;
		justify-content: space-between;
	}
	.bz-project-single__body {
		flex-direction: column;
	}
	.bz-project-single__header {
		flex-direction: column;
		align-items: flex-start;
	}
	.bz-project-type-cards {
		flex-direction: column;
	}
	.bz-project-type-card__image {
		display: none;
	}
	.bz-owner-projects__table {
		display: block;
	}
	.bz-owner-projects__table thead {
		display: none;
	}
	.bz-owner-projects__table tbody,
	.bz-owner-projects__table tr {
		display: block;
		width: 100%;
	}
	.bz-owner-projects__table tr {
		border-bottom: 8px solid #f4f5f7;
		padding: 10px 0;
	}
	.bz-owner-projects__table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		border-bottom: none;
		padding: 8px 16px;
		text-align: end;
	}
	.bz-owner-projects__table td[data-label]::before {
		content: attr(data-label);
		font-size: 12px;
		color: var(--bz-text-muted, #6b7280);
		font-weight: 600;
		text-align: start;
	}
	.bz-owner-projects__row-btn {
		width: 100%;
		text-align: center;
	}
}

.bz-verified-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #2563eb;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	vertical-align: middle;
	margin-inline-start: 4px;
}

.bz-doc-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	background: #f9fafb;
	padding: 2px 8px;
	border-radius: 999px;
	margin-inline-start: 6px;
}

.bz-verification-status-box {
	background: #f9fafb;
	border-radius: 12px;
	padding: 18px;
	margin-top: 20px;
	text-align: center;
}

.bz-verification-motivate {
	margin: 10px 0 0;
	font-size: 13px;
	color: #6b7280;
}

.bz-verification-motivate--done {
	color: var(--bz-primary, #1a9e5c);
	font-weight: 600;
}

.bz-sidebar-unverified-notice {
	background: #fff7ed;
	color: #b45309;
	font-size: 11px;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 8px;
	margin: 6px 0 0;
}

.bz-privacy-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #6b7280;
	font-weight: 500;
	margin-top: 6px;
}

.bz-profile__contact-info {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 8px;
	font-size: 13px;
}

.bz-profile__contact-info a {
	color: inherit;
}
