:root {
	--text-1: #75788d;
	--text-2: #1d1e25;
	--text-3: #2f2f2f;
	--primary: #4f4f4f;
	--primary-hover: #4f4f4f;
	--success: #279745;
	--success-hover: #228a3e;
	--form-border: #dfdfdfcc;
	--btn: #4f4f4f;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: "Urbanist", "Roboto", "Arial", sans-serif;
	height: 100%;
	/* background-color: #f1f4f5; */
}

main {
	height: 100%;
}

.content {
	padding-bottom: 150px;
	padding-top: 10px;
}

/* form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    height: 100%;
} */
.text-1 {
	color: var(--text-1);
	font-weight: 400;
	margin: 0;
}

.text-center {
	text-align: center;
}

.text-m {
	font-size: 1rem;
}

.d-flex {
	display: flex;
}

.flex-grow {
	flex-grow: 1;
}

.m-0 {
	margin: 0;
}

.p-0 {
	padding: 0;
}

.mt-1 {
	margin-top: 1rem;
}

.mt-1-5 {
	margin-top: 1.5rem;
}

.mt-2 {
	margin-top: 2rem;
}

.myt-form-group {
	display: flex;
	flex-direction: column;
	font-family: "Manrope", "Arial", sans-serif;
	margin-bottom: 0.75rem;
}

.myt-form-label {
	color: var(--text-1);
	font-size: 0.875rem;
	margin-bottom: 0.25rem;
}

.myt-form-input {
	border: 1px solid var(--form-border);
	border-radius: 8px;
	min-height: 33px;
	font-size: 15px;
	padding: 0rem 0.5rem;
	color: var(--text-2);
}

.myt-form-input:focus {
	outline: none;
	outline: 1.5px solid var(--primary);
}

::placeholder {
	font-family: "Manrope", "Arial", sans-serif;
	color: var(--text-1);
}

.label {
	font-weight: 600;
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.input {
	padding: 0.5rem;
	font-family: "Urbanist", "Arial", sans-serif;
	font-size: 1rem;
	border: 1px solid var(--form-border);
	border-radius: 8px;
	background-color: #f9f9f9;
	margin-bottom: 1.25rem;
}

.input:focus {
	outline: none;
	outline: 1.5px solid var(--primary);
}

.btn-form {
	min-height: 48px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-weight: 500;
	font-size: 0.875rem;
	background-color: var(--primary);
	color: #fff;
}

.btn-form:hover {
	background-color: var(--primary-hover);
}

.header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 1.5rem;
}

.header h1 {
	margin: 0;
	margin-bottom: 0.5rem;
}

.btn-back-container {
	width: 100%;
}

.btn-back {
	padding: 0.75rem 0.675rem;
	display: flex;
	align-items: center;
	border: 1px solid transparent;
	background-color: transparent;
}

.btn-back:hover {
	cursor: pointer;
}

.btn-back--icon svg {
	display: flex;
	width: 1.5rem;
	margin-right: 0.5rem;
}

.btn-back--text {
	font-size: 0.95rem;
	font-weight: 400;
}

.btn-back:hover {
	background-color: #f1f1f1;
}

dialog button:hover {
	cursor: pointer;
}

.copyright {
	position: fixed;
	width: 100%;
	bottom: 5px;
	text-align: center;
}

.copyright a {
	color: var(--text-1);
	font-size: 0.8rem;
	margin-left: 0.25rem;
	text-decoration: none;
	margin: 1rem 0;
}

/* 
==========================================
LOGIN
==========================================
*/

.logo {
	width: 50%;
}

.logo img {
	width: 100%;
}

.reminder {
	/* flex-grow: 1; */
	padding: 1rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.reminder p {
	margin: 0;
	line-height: 1.7;
}

.btn-sign-in {
	width: 100%;
	background-color: var(--primary);
	color: #ffffff;
	border: 1px solid transparent;
	border-radius: 8px;
	min-height: 48px;
	font-weight: 600;
	/* margin-bottom: 1rem; */
	font-size: 1.075rem;
	margin-top: 15px;
}

.btn-sign-in:not(:disabled):hover {
	cursor: pointer;
	background-color: var(--primary-hover);
}

.btn-sign-in:disabled {
	background-color: #a8a8a8;
	opacity: 0.75;
}

/* 
NAV
*/

.nav {
	/*position: -webkit-sticky;*/
	/*position: sticky;*/
	position: fixed;
	/* border: 1px solid #f0f0f0; */
	bottom: 0;
	width: 100%;
	height: 50px;
	background-color: var(--primary);
	/*padding: 20px;*/
	box-shadow: 0px -3px 4px rgba(0, 0, 0, 0.11);
	-webkit-box-shadow: 0px -3px 4px rgba(0, 0, 0, 0.11);
	-moz-box-shadow: 0px -3px 4px rgba(0, 0, 0, 0.11);
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
	align-content: center;
	justify-content: center;
	align-items: center;
	text-align: center;
	overflow-x: hidden;
	padding-top: 5px;
	z-index: 5;
}

.nav p {
	margin: 0;
}

.btmnav {
	font-size: 13px;
	color: #cccccc;
	text-decoration: none;
}

.btmnav.active {
	color: white;
}

a {
	text-decoration: none !important;
	color: unset !important;
}
@media (width >=1024px) {
	body {
		display: grid;
		place-items: center;
	}

	main,
	.copyright,
	.nav {
		width: clamp(560px, 40%, 640px);
	}
}

/* 
==========================================
DASHBOARD
==========================================
*/
.info {
	display: flex;
	flex-direction: column;
}

.completed-count {
	color: var(--primary);
	font-weight: 600;
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.date-picker-container {
	background-color: var(--primary);
	color: #fff;
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 10px;
	margin-top: 15px;
}

.date-picker-container p {
	margin: 0;
}

.date-picker {
	width: 100%;
	display: flex;
	align-items: center;
	margin-bottom: 0.875rem;
}

.date-picker--date {
	display: flex;
	align-items: center;
}

.date-picker--date span {
	fill: #fff;
	margin-right: 0.5rem;
	width: 1.5rem;
	height: 1.5rem;
}

.date-picker--btn {
	border-radius: 50%;
	border: 1px solid transparent;
	width: 1.75rem;
	height: 1.75rem;
	margin-left: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #ffffff;
}

.date-picker--btn:hover {
	background-color: #f2f2f2;
	cursor: pointer;
}

.date-picker--btn svg {
	width: 100%;
}

.date-picker--btn path {
	fill: var(--primary);
}

.legend {
	display: flex;
	justify-content: space-around;
	/* column-gap: 1rem; */
	font-size: 0.85rem;
	font-weight: 500;
	margin: 0.75rem 0;
	padding: 0 0.5rem;
	width: 100%;
}

.status {
	display: flex;
	align-items: center;
}

.status.in-progress::before {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	margin-right: 4px;
	background-color: #ffd950;
}

.status.pending::before {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	margin-right: 8px;
	background-color: #737373;
}

.status.completed::before {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	margin-right: 8px;
	background-color: #17971b;
}

.status.failed::before {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	margin-right: 8px;
	background-color: #ec2020;
}

.status.acknowledged::before {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	margin-right: 8px;
	background-color: #03a9f4;
}

ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lead {
	border: 0.5px solid #0000001a;
	border-radius: 8px;
	padding: 0.75rem;
	color: var(--text-2);
	display: flex;
	font-size: 1.05rem;
	font-family: "Manrope", sans-serif;
	margin-bottom: 0.5rem;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	overflow: hidden;
}

.lead:hover {
	cursor: pointer;
	background-color: #f6f6ff;
}

.lead-info--name {
	font-weight: 600;
	font-size: 1.075rem;
}

.lead-info--date {
	font-size: 0.7rem;
	color: var(--text-1);
}

.lead-info--remark {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	color: #f00000;
}

.lead-status-container {
	margin-left: auto;
	display: flex;
	align-items: center;
}

.lead-status {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.25rem;
	border-radius: 4px;
}

.lead-status.in-progress {
	background-color: #fdffa5;
	color: #8b7d00;
}

.lead-status.pending {
	background-color: #e8e8e8;
	color: #414141;
}

.lead-status.completed {
	background-color: #beffc1;
	color: #008205;
}

.lead-status.failed {
	background-color: #fbd3d0;
	color: #800a20;
}

.outdated::after {
	content: "";
	z-index: 2;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: #ebebeb7a;
}

dialog {
	padding: 0;
	border: 1px solid transparent;
	border-radius: 8px;
	width: clamp(240px, 80%, 360px);
}

dialog::backdrop {
	background-color: rgba(0, 0, 0, 0.25);
}

.dialog-content {
	border-radius: 8px;
	padding: 0.5rem;
}

.dialog-content * {
	width: 100%;
}

/* 
==========================================
CUSTOMER DETAIL
==========================================
*/

.client-details {
	padding: 0.675rem;
	border-radius: 8px;
	/* background-color: #F7FAFF; */
	box-shadow: 0px 1px 2.5px rgba(0, 0, 0, 0.2);
}

.client-details--name {
	font-weight: 500;
}

.client-details--address,
.client-details--contact {
	font-size: 0.95rem;
	margin-top: 0.25rem;
	display: flex;
	align-items: center;
	color: var(--text-1);
}

.client-details--address svg,
.client-details--contact svg {
	width: 1.25rem;
	height: auto;
	margin-right: 0.25rem;
}

.section {
	display: flex;
	flex-direction: column;
	margin-bottom: 1.25rem;
}

.sv-notes-label {
	background-color: #dedede;
	color: var(--text-2);
	padding: 0.125rem 0.5rem;
	border-radius: 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.sv-notes {
	margin-top: 0.625rem;
	color: #686868;
}

.contact-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	grid-template-rows: 3rem 3rem;
	column-gap: 0.5rem;
	row-gap: 0.5rem;
	flex-grow: 1;
}

.contact-option {
	display: flex;
	align-items: center;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	border: 1px solid #e2e2e2;
	text-decoration: none;
	color: var(--text-2);
	font-weight: 600;
}

.contact-option:visited {
	color: var(--text-2);
}

.contact-option:hover {
	border: 2px solid #b8b8b8;
}

.contact-option svg {
	width: 1.75rem;
	height: 1.75rem;
	margin-right: 0.25rem;
}

.buttons button {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 48px;
	font-size: 1.1rem;
	font-weight: 500;
	border-radius: 8px;
	outline: none;
	cursor: pointer;
	transition: background-color 300ms ease-in-out;
}

.btn-defer {
	background-color: transparent;
	color: #868686;
	border: 1.5px solid rgba(134, 134, 134, 0.5);
	margin-bottom: 0.875rem;
}

.btn-defer:hover {
	opacity: 0.7;
}

.btn-start {
	background-color: var(--primary);
	color: #fff;
	border: 1px solid transparent;
	font-weight: 500;
}

.btn-start:hover {
	background-color: var(--primary-hover);
}

.btn-arrived {
	background-color: var(--success);
	color: #fff;
	border: 1px solid transparent;
	font-weight: 500;
	display: none;
}

.btn-arrived:hover {
	background-color: var(--success-hover);
}

/* Defer dialog element */
dialog {
	border: 1px solid transparent;
	border-radius: 8px;
	width: clamp(240px, 90%, 420px);
}

dialog::backdrop {
	background-color: rgba(0, 0, 0, 0.4);
}

.dialog-content {
	width: 100%;
	background-color: #fff;
	border-radius: 8px;
}

dialog form {
	padding: 0.5rem;
}

dialog form textarea {
	resize: vertical;
}

/* PROFILE */
.blistimg {
	width: 130px;
	height: 130px;
	border-radius: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin: auto;
}

.allbtn {
	width: 100%;
	background-color: var(--btn);
	color: #ffffff;
	border: 1px solid transparent;
	border-radius: 8px;
	min-height: 48px;
	font-weight: 600;
	/* margin-bottom: 1rem; */
	font-size: 1.075rem;
	margin-top: 20px;
}

.search {
	position: relative;
	box-shadow: 0 0 40px rgba(51, 51, 51, 0.1);
	margin-bottom: 15px;
}

.search input,
select {
	padding: 2px;
	border-radius: 5px;
	width: 100%;
	background-color: white;
}

.search input:focus {
	box-shadow: none;
	border: 2px solid blue;
}

.search .fa-search {
	position: absolute;
	top: 10px;
	left: 10px;
}

.search button {
	position: absolute;
	top: 5px;
	padding: 0px 10px;
	right: 5px;
	background: #e21a70;
	border: 0px solid;
}

.product {
	position: relative;
}

.product p {
	font-size: 14px;
	line-height: 1.2em;
	margin: 5px 0px;
	color: grey;
	letter-spacing: 0.3px;
}

.prd,
.statusbx {
	border-radius: 10px;
	/* border: 1px solid rgb(242 242 242); */
	background: #fafafa;
	padding: 5px;
	width: 100%;
}

.prd {
	min-height: 150px;
	max-height: 150px;
	border: 1px solid rgb(242 242 242);
}

.statusbx {
	min-height: 125px;
	max-height: 180px;
	border: 1px solid #0000001a;
	border-radius: 8px;
	/* padding: 0.75rem; */
}

.count {
	text-align: center;
	font-size: 45px;
	font-weight: bold;
	margin: 0;
}
.product .responsive {
	max-width: 100%;
	height: auto;
	max-height: 140px;
}

.stock {
	font-size: 13px;
	font-weight: bold;
	color: black !important;
}

.prdname {
	font-size: 17px;
	font-weight: bold;
}

.back {
	color: var(--btn);
	position: absolute;
	left: 8px;
	top: 15px;
	font-size: 20px;
	/* background: white;
    border: 1px solid #eeeeee;
    border-radius: 50%;*/
	padding: 5px 8px;
	cursor: pointer;
}

.toptitle {
	font-size: 30px;
	font-weight: bold;
	/* text-align: center; */
	margin-top: 10px;
	color: var(--primary);
}

.center {
	text-align: center;
	margin: auto;
}

.remark {
	background-color: #fafafa;
	border: 1px solid var(--form-border);
	padding: 5px;
	border-radius: 5px;
	margin: 10px 0px 20px 0px;
	font-size: 13px;
}

.cart {
	position: absolute;
	/* bottom: 52px; */
	padding: 10px;
	background-color: var(--btn);
	color: white;
	border-radius: 10%;
	right: 10px;
}

.slistimg {
	width: 100%;
	height: 65px;
	border-radius: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.stext {
	color: var(--text-1);
	font-size: 12px;
}

.success {
	color: #198754;
	padding: 5px;
	text-align: center;
	background: #e8fff4;
	border-radius: 5px;
	width: 100%;
}

.error {
	color: #872619;
	padding: 5px;
	text-align: center;
	background: #ffe8e8;
	border-radius: 5px;
	width: 100%;
}
