@import "./bootstrap.min.css";
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,300;0,400;1,300&family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sen:wght@400;500;600;700;800&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
@import "./layout.css";
@import "./tables.css";

/* Root variables */
:root {
	/* fonts */
	--heading-family: "Sen", sans-serif;
	--body-family: "Poppins", sans-serif;

	/* colors */
	--dark: #1c1b20;
	--pale-purple: #ececf9;
	--grey: #f6f8fa;
	--grey-1: #f9f9f9;
	--red: #af3636;
	--dark-red: #be2730;
	--whitesmoke: #dedede;
	--blue: #3d7dfd;
	--link-color: #0085cf;
	--light-brown: #eaa463;
	--green: #44aa55;
	--light-green: #89ce7e;
	--yellow: #fff84e;
	--disabled: #d1d1d1;
	--pink: #f9ecec;
	--danger-bg: #fa62621a;

	--bs-table-hover-bg: #ecf1f9;
	--bs-border-color: rgba(0, 0, 0, 0.1);

	--body-text-color: rgba(0, 0, 0, 0.7);
	--heading-color: rgba(0, 0, 0, 0.8);

	/* shadows */

	--shadow-1: 0px 4px 24px 0px #00000080;
	--shadow-2: 0px 0px 20px 0px #0000000d;
	--shadow-3: 0px 4px 20px 0px #0000001a;
	--shadow-4: 0px 0px 10px 0px #0000000d;

	/* filters - chnage icon color using filters*/
	--nav-item-hover-filter: invert(24%) sepia(58%) saturate(5040%) hue-rotate(351deg) brightness(98%) contrast(87%); /* red */
	--nav-item-disabled-filter: invert(93%) sepia(0%) saturate(0%) hue-rotate(162deg) brightness(90%) contrast(93%); /* grey */
}
/* Overrides */
body {
	font-family: var(--body-family);
	color: var(--body-text-color);
	font-size: 14px;
	line-height: 18px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	font-family: var(--heading-family);
	font-weight: 700;
	margin-bottom: 0px;
	color: var(--heading-color);
}

h1,
.h1 {
	font-size: 40px;
	line-height: 48px;
}

h2,
.h2 {
	font-size: 34px;
	line-height: 40px;
}

h3,
.h3 {
	font-size: 24px;
	line-height: 30px;
}

h4,
.h4 {
	font-size: 20px;
	line-height: 24px;
}
h5,
.h5 {
	font-size: 18px;
	line-height: 22px;
}

h6,
.h6 {
	font-size: 16px;
	line-height: 21px;
}

p {
	margin: 0px;
}

a {
	text-decoration: none;
}

hr {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0px;
}

hr.white {
	border: 1px solid rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 1024px) {
	.h1,
	h1 {
		font-size: 32px;
		line-height: 38.4px;
	}
	.h2,
	h2 {
		font-size: 28px;
		line-height: 34px;
	}
}

.logo {
	width: 94.5px;
}

.display-6 {
	font-size: 20px;
	font-weight: 300;
}

.btn {
	padding: 16px 24px;
	font-size: inherit;
	height: fit-content;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	width: max-content;
	text-decoration: none;
}

.btn:hover {
	filter: brightness(120%);
}

.black-outlined,
.black-outlined:hover {
	border-color: black;
	color: black;
}

.btn-primary {
	background-color: black;
	color: #fff;
	border: none;
	outline: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:active {
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
}

.btn-success,
.btn-success:hover,
.btn-success:focus,
.btn.btn-success:active {
	background-color: var(--light-green);
	border-color: var(--light-green);
}

.btn-white-outlined,
.btn-white-outlined:hover,
.btn-white-outlined:focus,
.btn-white-outlined:active {
	border-color: #ffffff;
	color: #ffffff;
}

.btn-block {
	width: 100%;
	display: block;
}

.text-button {
	padding: 0px;
	border: none;
	outline: none;
	background-color: transparent;
}

/* alerts */
.alert {
	padding: 10px;
	border-radius: 5px;
	justify-content: space-between;
	display: flex;
	gap: 10px;
	height: fit-content;
	align-items: center;
}

.alert-warning {
	background-color: var(--red);
	color: white;
}

.badge {
	padding: 5px 10px;
	font-size: inherit;
	line-height: inherit;
}

.badge.bg-dark {
	background-color: #000000cc !important;
}

.pill {
	display: flex;
	gap: 6px;
	padding: 2px 8px;
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;
	background-color: var(--grey);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	width: fit-content;
}

.pill-danger {
	font-weight: 700;
	text-transform: uppercase;
	color: #fa6262;
	background-color: #fa62624d;
}

.copy-block {
	border: 1px solid #0000001a;
	padding: 6px 12px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	border-radius: 5px;
	min-width: 175px;
	width: fit-content;
	cursor: pointer;
	word-break: break-all;
}

.copy-block:focus {
	animation: copyanimation 1s linear;
}

@keyframes copyanimation {
	0% {
		border-color: #000000;
	}
	100% {
		border-color: #0000001a;
	}
}

/* breadcrumbs */

.breadcrumbs,
.breadcrumbs > * {
	font-size: 12px !important;
	line-height: 18px !important;
	color: rgba(0, 0, 0, 0.7);
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.breadcrumbs .active {
	font-weight: 700;
	text-decoration: underline;
}
/********** Utils **********/

.break-word {
	word-break: break-all;
}

.fit-content {
	width: fit-content;
}

.max-content {
	width: max-content;
}

.display-contents {
	display: contents;
}

.half-page {
	max-height: calc(50vh - 60px);
}
.container-950px {
	max-width: 950px;
	margin-left: auto;
	margin-right: auto;
}
/* overlays, dropdowns and popovers */

.dropdown-container {
	display: none !important;
}

.dropdown-trigger {
	cursor: pointer;
}

.popover-top {
	position: absolute;
	bottom: calc(100% - 12px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 1030; /*Taking into account boostrap's min z-index*/
}

#screen-overlay {
	width: 100vw;
	height: 100vh;
	position: fixed;
	z-index: -10;
	inset: 0;
	/* pointer-events: none; */
}

#screen-overlay.visible {
	background-color: rgba(0, 0, 0, 0.15);
	z-index: 1020; /*Taking into account boostrap's min z-index*/
}

/* shadows */
.shadow-1 {
	box-shadow: var(--shadow-1);
}
.shadow-2 {
	box-shadow: var(--shadow-2);
}

.mist-bottom {
	position: relative;
}
.mist-bottom::after {
	content: "";
	display: block;
	height: 60px;
	position: sticky;
	bottom: 0;
	background: linear-gradient(360deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

/* font */
.body-family {
	font-family: var(--body-family);
}

.heading-family {
	font-family: var(--heading-family);
}

.dark-text-danger {
	color: var(--dark-red) !important;
}

.body-text-color {
	color: var(--body-text-color) !important;
}

.link-color {
	color: var(--link-color) !important;
}

.body-text {
	font-size: 14px;
}

.small-text {
	font-size: 12px;
	line-height: 18px;
}

/* backgrounds and colors */
.grey-bg {
	background-color: var(--grey-1);
}

.dark-grey-bg {
	background-color: #00000025;
}

.pale-purple-bg {
	background-color: var(--pale-purple);
	color: var(--body-text-color);
}

.bg-yellow {
	background-color: var(--yellow);
}

.bg-pink {
	background-color: var(--pink);
}

.danger-bg {
	background-color: var(--danger-bg);
}

.blue-gradient-bg {
	background-color: #19a1f0;
	background-image: linear-gradient(-60deg, #7458ff 0%, #19a1f0 100%);
	color: white !important;
	padding: 32px;
}

.blue-gradient-bg hr {
	border-color: rgba(255, 255, 255, 0.7);
}
/********** Icons **********/

.icon-size-1 {
	width: 18px;
}
.icon-size-2 {
	width: 20px;
}
/* convert black icons to white */
.white-icon {
	-webkit-filter: invert(100%); /* Safari/Chrome */
	filter: invert(100%);
}
/********** Forms **********/

/* inputs */
.form-control,
.form-select {
	padding: 12px 15px;
	border-color: var(--pale-purple);
	font-size: 14px;
}

.form-control::placeholder {
	font-size: 12px;
	line-height: 18px;
	color: #0000004d;
	font-weight: 500;
}

/* radios  and checkboxes*/
.checkbox-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 13px;
}
.radio-group-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 10px;
}

.custom-checkbox input,
.custom-radio input {
	display: none;
}

.custom-checkbox {
	padding: 14px 12px 10px 12px;
	display: grid;
	place-items: center;
}
.custom-radio {
	padding: 14px 16px 10px 16px;
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 16px;
	text-align: left;
}

.custom-checkbox,
.custom-radio {
	background-color: var(--grey-1);
	border-radius: 5px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	color: rgba(0, 0, 0, 0.8);
	font-size: 14px;
	min-height: 45px;
	padding: 1.4em;
}

.custom-checkbox:hover,
.custom-radio:hover {
	background-color: white;
	border-color: rgba(0, 0, 0, 0.6);
}

.custom-checkbox:has(input:checked),
.custom-radio:has(input:checked) {
	background-color: white;
	border-color: rgba(0, 0, 0, 0.8);
	box-shadow: 0px 4px 8px 0px #00000026;
}

/* Search bar */
.search-bar {
	display: flex;
	gap: 8px;
	border: 1px solid var(--pale-purple);
	border-radius: 20px;
	padding: 0px 20px;
	height: 42px;
	width: 370px;
	max-width: 90vw;
}

.search-bar button,
.search-bar input {
	border: none;
	outline: none;
}

.search-bar input {
	width: 100%;
}

.search-bar button {
	background-color: transparent;
}

/* Sliders and Ranges */
.licence-slider-wrapper {
	border: 1px solid #ececf9;
	padding: 10px 15px 10px;
	width: fit-content;
	border-radius: 15px;
}
.licence-slider {
	width: 745px;
	max-width: 95vw;
	position: relative;
}

.licence-slider > * {
	width: 100%;
}
.licence-slider .percentages,
.licence-slider .track {
	display: flex;
	justify-content: space-between;
}

.licence-slider .track {
	height: 21px;
	position: absolute;
	bottom: 6px;
	z-index: -1;
}
.licence-slider .track .line {
	height: 7px;
	background: #e7e7e7;
	width: 100%;
	position: absolute;
	bottom: -1px;
	border-radius: 5px;
	/* */
}

.licence-slider .track span {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	position: relative;
	background-color: #e7e7e7;
	bottom: -10px;
}
.licence-slider .percentages {
	font-weight: 600;
	font-family: var(--heading-family);
	left: 0.5rem;
	position: relative;
	margin-bottom: 10px;
}

.licence-slider input {
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	height: 7px;
	border-radius: 5px;
	background-color: transparent;
}

.licence-slider input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	height: 16px;
	width: 16px;
	background-color: var(--dark-red);
	border-radius: 50%;
}

.licence-slider input::-moz-range-thumb {
	background-color: blue;
}
/* sinple page forms - used in auth/account pages, popups, etc */

.single-page-form-container {
	width: 400px;
	max-width: 90vw;
	/* min-height: 649px; */
	background-color: white;
	padding: 30px;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.single-page-form-container.h-auto {
	min-height: fit-content;
}

.single-page-form-container > * {
	margin: 0px;
}

.single-page-form-container form {
	display: grid;
	gap: 15px;
	color: rgba(0, 0, 0, 0.5);
	text-align: left;
	font-size: 14px;
}
.single-page-form-container form > *,
.single-page-form-container button {
	width: 280px;
	max-width: 100%;
}

.single-page-form-container ::-webkit-input-placeholder {
	color: rgba(0, 0, 0, 0.5);
}

.single-page-form-container :-ms-input-placeholder {
	color: rgba(0, 0, 0, 0.5);
}

.single-page-form-container ::placeholder {
	color: rgba(0, 0, 0, 0.5);
}

.single-page-form-container select:has(:checked[value=""]) {
	color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 350px) {
	.single-page-form-container {
		max-width: 85vw;
	}
	.single-page-form-container form > *,
	.single-page-form-container button {
		width: 210px;
	}
}

.custom-scrollbar {
	overflow: auto;
}

.custom-scrollbar::-webkit-scrollbar {
	width: 7px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
	background-color: var(--pale-purple);
	visibility: hidden;
	border-radius: 30px;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb {
	visibility: visible;
}

/* Cards */
.custom-card {
	padding: 30px;
	border: 1px solid var(--pale-purple);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.billing-card-grid-1 > div {
	padding: 16px 32px;
	font-weight: 500;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.billing-card-grid-1 > div:not(:last-of-type) {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.case-file-grid,
.case-info-grid {
	display: grid;
	gap: 12px;
	padding: 32px;
}

.case-info-grid > * {
	display: grid;
	grid-template-columns: minmax(min-content, 1fr) 2fr;
}

.case-info-grid > * > :first-child {
	font-weight: 700;
}

.case-file-grid > * {
	display: grid;
	grid-template-columns: 4fr 2fr 2fr;
	gap: 12px;
}

.case-file-grid h6 {
	font-size: 12px;
	font-family: var(--body-family);
	line-height: 18px;
	font-weight: 700;
}

.case-file-grid a {
	color: inherit;
}
/* counter */
.upload-info-counter span {
	width: 21px;
	height: 21px;
	background-color: var(--grey-1);
}
.upload-info-counter .filled {
	background-color: var(--red);
}

/* Drag and Drop */

.drag-area {
	display: flex;
	flex-direction: column;
	gap: 8;
	align-items: center;
	padding: 16px 32px;
	width: 100%;
	max-width: 358px;
	border: 1px dashed #484746;
	border-radius: 8px;
	background-color: white;
}

.upload-file-ui {
	display: flex;
	gap: 8px;
	padding: 8px 16px 8px 8px;
	border-radius: 8px;
	border: 1px solid var(--whitesmoke);
	align-items: start;
	background-color: white;
	width: 100%;
	max-width: 358px;
	word-break: break-all;
}

.drag-n-drop .upload-file-ui:not(:last-of-type) {
	margin-bottom: 10px;
}

.drag-n-drop:has(.upload-file-ui) .drag-area {
	margin-bottom: 20px;
}

.file-ui {
	font-size: 12px;
	line-height: 18px;
	margin: 8px 0px;
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 8px;
}

h6.file-ui {
	color: var(--body-text-color);
	margin-top: 24px;
	font-weight: 700;
}

/***************** Table accordion *****************/
.table-accordion-wrapper {
	color: var(--heading-color);
}

.table-accordion-wrapper details summary::-webkit-details-marker {
	display: none !important;
}

.table-accordion-wrapper h6 {
	font-weight: 700;
	color: inherit;
}

.table-accordion-wrapper details summary,
.table-accordion-item {
	display: grid;
	padding: 16px 32px;
	column-gap: 8px;
	border-top: 1px solid var(--pale-purple);
}

.table-accordion-wrapper details summary:hover,
.table-accordion-item:hover,
.accordion-btn-group > *:hover {
	background-color: var(--bs-table-hover-bg);
}

.accordion-grid-3 details summary,
.accordion-grid-3 .table-accordion-item {
	grid-template-columns: auto auto 1fr !important;
}

.accordion-grid-2 details summary,
.accordion-grid-2 .table-accordion-item {
	grid-template-columns: 2fr 1fr !important;
}

*[class*="accordion-grid-"] details summary :last-child,
*[class*="accordion-grid-"] .table-accordion-item :last-child {
	text-align: end;
}
.alert-accordion {
	grid-template-columns: minmax(30%, 1fr) auto 2fr !important;
	column-gap: 64px !important;
	row-gap: 12px;
}
.alert-accordion :last-child {
	text-align: start !important;
}
.full-grid-width {
	grid-column: 1 / span end;
}

.accordion-btn-group {
	display: contents;
}
.accordion-btn-group > * {
	padding: 16px 32px;
	display: flex;
	justify-content: start;
	gap: 8px;
	width: 100%;
	background-color: transparent;
	border: none;
	outline: none;
}
.accordion-btn-group > * {
	border-top: 1px solid #0000001a;
}

@media screen and (max-width: 724px) {
	summary.alert-accordion {
		grid-template-columns: 2fr 1fr auto !important;
		column-gap: 12px !important;
		grid-template-areas: "one two three";
	}
	summary.alert-accordion :last-child {
		grid-area: two;
	}
	summary.alert-accordion :nth-child(2) {
		grid-column: 3 / span end;
	}
	.table-accordion-item.alert-accordion {
		grid-template-columns: 1fr auto !important;
		column-gap: 0px !important;
	}

	.table-accordion-item.alert-accordion :last-child {
		grid-column: 1 / span end;
	}
	.table-accordion-item.alert-accordion :nth-child(2),
	summary.alert-accordion :nth-child(2) {
		text-align: end;
	}
}

/***************** Modals *****************/

.custom-modal {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	z-index: 1050; /*Taking into account boostrap's min z-index*/
	overflow-y: scroll;
	display: none;
}

.backdrop {
	background-color: rgba(0, 0, 0, 0.3);
	display: grid;
	place-content: center;
	padding: 25px 10px;
	min-height: 100%;
}

.backdrop-intro {
	background-color: rgba(0, 0, 0, 0.7);
	place-content: start space-evenly;
}

@media only screen and (max-width: 600px) {
	.backdrop-intro {
		background-color: rgba(0,0,0,0.9);
		place-content: start space-evenly;
	}
}

.custom-modal-content {
	background-color: white;
	padding: 32px;
	border-radius: 20px;
	box-sizing: border-box;
	width: 535px;
	max-width: 90vw;
	display: grid;
	gap: 32px;
	box-shadow: 0px 4px 30px 0px #00000026;
	font-weight: 500;
}

.custom-modal-content h6 {
	font-family: var(--body-family);
	font-size: 12px;
	line-height: 18px;
	font-weight: 700;
}
.custom-modal .single-page-form-container {
	min-height: fit-content;
	margin: 0px auto;
	padding-top: 0px;
}

.warning {
	background: var(--red);
	line-height: 2.3em;
	padding-left: 1em;
	color: white;
}

/******** Page Specific styles - Auth Pages ********/
.auth-page {
	/*
	background-color: var(--yellow);
	*/

	background-color: #f5f5f5;
}
.auth-page,
.auth-page h1 {
	color: #000000;
}

.auth-page .single-page-form-container {
	border: 1px solid black;
	border-radius: 30px;
	padding: 48px 32px;
	gap: 32px;
}

@media screen and (min-width: 1024px) {
	.auth-page .single-page-form-container {
		padding: 48px;
	}
}

/* timeline-container */

.timeline-container {
	margin: 0 20px 10px 20px;
	padding: 20px 0px;
	border-left: 1px solid #0000001a;
}

.timeline {
	display: grid;
	gap: 24px;
}

.timeline .event {
	padding: 8px 12px;
	border-radius: 5px;
	font-size: 10px;
	color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	margin-left: 12px;
}

.timeline .event .label {
	font-size: 12px;
	line-height: 18px;
	color: rgba(0, 0, 0, 0.7);
	font-weight: 500;
}

.timeline .circle {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	position: absolute;
	z-index: 1;
	left: -18px;
}

.user {
	background-color: #ffbe7326;
}
.user .circle {
	background-color: #ffbe73;
}

.check {
	background-color: #a8e08e26;
}
.check .circle {
	background-color: #a8e08e;
}

.file {
	background-color: #8ad6ff26;
}
.file .circle {
	background-color: #8ad6ff;
}

.issue {
	background-color: #fa626226;
}
.issue .circle {
	background-color: #fa6262;
}

.bank {
	background-color: #b38aff26;
}

.bank .circle {
	background-color: #b38aff;
}

.bank_logo {
	max-width: 50px;

}

.nonborder {
	box-sizing: inherit;
}