@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;400;500;600;700;800&display=swap');

* {
    font-family: 'Mukta', sans-serif;
}

body {
    --sidebar-width: 300px;
    --border-width: 1.5px;
    --nav-height: 6rem;
    --sensible-data: 0;
    --cblue: #383285;
    --cpink: #CE007F;
    --cpurple: #8A0481;
    --cwhite: #fafbff;
    --cgrey: #d1d1d1;
    --cgreen: #AFEDB3;
    --cred: #ECB0B3;
    margin: 0;
    background-color: var(--cwhite);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

.vh-100 {
    height: 100vh!important;
}

.h-100 {
    height: 100%!important;
}

.w-100 {
    width: 100%!important;
}

.m-0 {
    margin: 0!important;
}

.m-2 {
    margin: .5rem;
}

.d-flex {
    display: flex!important;
}

.align-items-center {
    align-items: center!important;
}

.align-self-center {
    align-self: center!important;
}

.align-content-center {
    align-content: center!important;
}

.justify-content-center {
    justify-content: center!important;
}

.wrap {
    flex-wrap: wrap!important;
}

.m-auto {
    margin: auto!important;
}

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

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

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

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

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

.text-cwhite {
    color: var(--cwhite);
}

.text-cpink {
    color: var(--cpink);
}

.text-cpurple {
    color: var(--cpurple);
}

.text-cblue {
    color: var(--cblue);
}

.p-absolute {
    position: absolute!important;
}

.mh-auto {
    margin-left: auto;
    margin-right: auto;
}

.ml-3 {
    margin-left: 1rem!important;
}

.mb-2 {
    margin-bottom: .75rem;
}

.ml-auto, .close-pop-btn {
    margin-left: auto!important;
}

.mt-3 {
    margin-top: 1rem!important;
}

.scroll::-webkit-scrollbar {
    width: 10px;
    background: transparent;
}
  
.scroll::-webkit-scrollbar-button {
    display: none;
}

.scroll::-webkit-scrollbar-thumb {
    background: var(--cblue);
}


.grid-cont {
    display: grid;
    grid-template-columns: var(--sidebar-width) auto;
    grid-template-rows: var(--nav-height) auto;
}

nav {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    border-bottom: var(--border-width) solid var(--cwhite);
}

.d-none {
    display: none!important;
}

.btn {
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 40px;
    cursor: pointer;
}

.logo {
    width: 70px;
    height: 70px;
}

.logo-cont {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--cwhite);
    border-radius: 15px;
}

.logo-text {
    width: 100px;
    margin-left: 8px;
    object-fit: contain;
}

.btn:hover {
    opacity: 0.8;
}

.nav-cont {
    height: 4rem;
    padding: 1rem 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: linear-gradient(45deg, var(--cpurple) 0%, var(--cpink) 100%);
}

.nav-cont * {
    font-weight: 600;
}

.nav-search {
    border: none;
    padding: 0.3rem;
    font-size: 1rem;
}

.sidebar-nav {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
    padding: 2rem 1rem;
}

.nav-username {
    margin-left: auto;
    color: var(--cpurple);
    font-size: 1.2rem;
}

.nav-search-icon {
    margin-left: -2rem;
    color: var(--cpurple);
    font-size: 1rem;
}

.nav-button {
    padding: .2rem .8rem;
    margin: 0 8px;
}

.p-2 {
    padding: 1rem;
}

.sidebar-nav-brand {
    font-size: 2rem;
    font-weight: bolder;
    text-align: left;
    color: var(--cwhite);
    line-height: 2.5rem;
}

.sidebar-nav-button {
    font-size: 1.3rem;
    margin: 0.5rem;
    font-weight: bolder;
    padding: 0.3rem 1.2rem;   
    text-align: left;
    align-items: baseline;
    border-radius: 0;
    background: var(--cgrey);
    box-sizing: border-box;
    width: calc(100% - 1rem);
    border-radius: 50px;
}

.app-cont {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.app-grid-cont {
    max-height: calc((100vh - var(--nav-height)));
}

.item-grid, .agent-item {
    margin: .5rem 0;
    background: var(--cgrey);
    padding: .5rem 2rem;
    color: var(--cpurple);
}

.item-grid > div, .item-grid-bar{
    color: var(--cpurple);
    display: grid;
    grid-template-columns: 30% 20% 30% 20%;
}

.item-grid-bar {
    margin: 1rem;
    padding: 0 2rem;
    margin-bottom: .5rem;
}

.item-grid > div > * {
    overflow-x: hidden;
    margin: 2px;
}

.item-grid > i {
    display: flex;
    margin: 5px;
    align-items: center;
}

.item-grid > div > h4 {
    margin-left: 15px;
}

.item-grid > div:hover, .item-grid > i:hover, .create-agent:hover, .agent-item:hover, .doc-item > i:hover, .close-pop-btn:hover, .remove-file:hover, #user-input-label:hover, .items-grid-s > *:hover, .doc-s > *:hover, .input-item:hover, .response-data-controls > *:hover, .user-data-controls > *:hover {
    opacity: 0.6;
    cursor: pointer;
}

.fa-trash.delete-doc-button:hover {
    opacity: 0.6;
    cursor: pointer;
}

.items-grid-cont, .docs-list-cont{
    border-radius: 5px;
    padding: 1rem 0px;
    color: var(--cpurple);
}

.items-grid-cont > *:not(.items-grid-s), .items-grid-s > *{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    justify-items: center;
    margin-top: 5px;
    align-items: center;
}

.items-grid-s > *, .b-grey{
    background: var(--cgrey)!important;
}

.doc-s{
    overflow-y: scroll;
    max-height: 180px;
}

.users-scroll-cont, .items-grid-s {
    margin: .5rem;
    overflow-y: auto;
    height: calc((100vh - var(--nav-height)) - 110px);
}

.auth-form {
    background-color: var(--cwhite);
    padding: 2rem;
    margin: auto;
    width: 340px;
    height: fit-content;
    border-radius: 15px;
    z-index: 2;
    color: var(--cpurple);
}

.auth-form > h2 {
    margin: 1rem 0;
}

.auth-form > button {
    margin-top: 1rem;
}

.auth-form > span {
    margin: 4px 0px;
    font-size: 1.1rem;
    font-weight: 600;
}

.auth-form > input {
    padding: 0.4rem;
    font-size: 1rem;
    margin-bottom: 12px;
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--cblue);
    color: var(--cpurple);
    background: transparent;
}

*:focus {
    outline: none;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px var(--cpurple) inset;
  color: var(--cwhite)!important;
}

.auth-form > img {
    width: 250px;
    margin: auto;
}

.auth-cont {
    display: grid;
    justify-content: center;
    background: url("../img/background.jpeg") center / cover no-repeat;
}

.user-grid-rows {
    display: grid;
    grid-template-columns: 20% 40% 40%;
    color: var(--cpurple);
    margin: 1rem;
    padding: 0 1rem;
    margin-bottom: .5rem;
}

#status-select {
    margin-left: .5rem;
    background-color: var(--cwhite);
    color: var(--cpurple);
    border: 1px solid var(--cpurple);
    padding: .3rem;
}

.user-grid-rows > * {
    margin: 0px auto;
}

.create-agent {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

.create-agent > button {
    background: var(--cpurple);
    padding: 10px;
    color: var(--cwhite);
    border-radius: 5px;
}

.agent-item {
    display: grid;
    grid-template-columns: 20% 40% 40%;
    background: var(--cgrey);
    margin-top: 5px;
    color: var(--cpurple);
}

.agent-item > * {
    cursor: pointer;
    margin: 0px auto;
    overflow-x: hidden;
    max-width: 80%;
    padding: 7px;
}

.response-data-cont, #user-data-cont, .item-show {
    margin: 1rem;
    padding: 1rem;
    color: var(--cpurple);
    flex-direction: column;
    overflow: auto;
    height: 75vh;
}

#item-show-header h3, #item-show-header h4 {
    margin: 4px 0;
}

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

.response-data-controls > *, .user-data-controls > * {
    cursor: pointer;
    margin-left: 1.2rem;
}

.response-data-controls > *:last-child, .user-data-controls > *:last-child {
    margin-left: auto;
}

.response-data-controls > *:first-child, .user-data-controls > *:first-child {
    margin-left: 0;
}

.response-data-cont > *:not(.items-grid-cont):not(.show-items) > * , #user-data-cont > *:not(.user-data-controls) > div > * {
    margin: 0;
}

#user-data-cont > *:not(.user-data-controls) {
    display: flex;
    flex-wrap: wrap;
}

#user-data-cont > *:not(.user-data-controls) > div {
    display: flex;
}

#user-data-cont > *:not(.user-data-controls) > div > *:last-child {
    margin-left: 6px;
}

#user-data-cont > *:not(.user-data-controls) > * {
    width: 100%;
    margin: 4px 0;
}

.response-data-header {
    margin: 1rem 0;
    color: var(--cpurple);
}

input[type=checkbox],.file-upload-input {
	height: 0;
	width: 0!important;
	visibility: hidden;
}

label[checkbox] {
	cursor: pointer;
	text-indent: -9999px;
	width: 80px!important;
	height: 40px;
	background: var(--cgrey);
	display: block;
	border-radius: 50px;
	position: relative;
}

.ml-2 {
    margin-left: .5rem;
}

label[checkbox]:after {
	content: '';
	position: absolute;
	top: 5px;
	left: 5px;
	width: 30px;
	height: 30px;
	background: var(--cpurple);
	border-radius: 15px;
	transition: 0.3s;
}

input[type=checkbox]:checked + label:after {
	left: calc(100% - 5px);
	transform: translateX(-100%);
}

label[checkbox]:active:after {
	width: 50px;
}

.pop-up {
    position: fixed;
    height: 100vh;
    top: 0px;
    display: flex;
    justify-content: center;
    background: rgba( 0, 0, 0, 0.4);
    color: var(--cblue);
}

.pop-cont {
    background: var(--cwhite);
    padding: 8px 12px;
    margin: 0 8px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    max-height: 90%;
    opacity: 0.1;
    min-width: 50%;
}

.d-pdf {
    transition: width 300ms;
    width: 500px;
    height: 100vh;
    margin: auto;
}

.file-cont {
    background: var(--cwhite);
    overflow-y: scroll;
    padding: 0 30px;
    display: grid;
}

.d-pdf.expanded:not(.image) {
    transition: width 300ms;
    width: 900px;
}

.d-pdf.image {
    background: var(--cwhite);
    overflow-y: scroll;
}

.pop-up.align-items-center > .pop-cont {
    margin-bottom: 300px;
}

.doc, .doc > h3, .doc-item{
    padding: 5px;
    margin: 0px auto 3px 0px;
    align-items: center;
    justify-content: space-between;
    background: var(--cwhite);
}

.doc-item {
    display: grid;
    grid-template-columns: 30% 40% 15% 15%;
    justify-items: center;
    background: var(--cwhite);
}

.doc-up {
    grid-template-columns: 30% 40% 10% 10% 10%;
}

.input-disable {
    margin-left: 40px;
    background-color: transparent;
    color: var(--cwhite);
    font-weight: 900;
    font-size: large;
    -webkit-appearance: none;
    cursor: pointer;
}

.data-edit {
    padding: 0.3rem;
    background: var(--cwhite);
    color: var(--cblue);
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0px;
    -webkit-appearance: none;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.document-list {
    overflow-y: auto;
}

.document-row {
    display: flex;
    color: black;
    border-bottom: 2px solid black;
}

.document-row > *, .doc-item > * {
    margin: 5px 10px 5px;
    color: var(--cblue);
    display: flex;
    text-decoration: none;
}

.fa-solid {
    margin-right: 10px;
}

#create-pdf {
    padding: 10px;
}

.create-pdf-t, .divider {
    border-bottom: 2px solid var(--cgrey);
}

#create-pdf > * {
    margin: 5px;
}

.b-g {
    background: var(--cgreen)!important;
}

.b-r {
    background: var(--cred)!important;
}

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

.status-toggle > div {
    border-radius: 2px;
    border: 2px solid var(--cblue);
    background: var(--cblue);
    width: 15px;
    height: 15px;
    margin-left: 5px;
}

::placeholder { 
    color: var(--cblue);
    opacity: 1;
}
  
:-ms-input-placeholder, ::-ms-input-placeholder {
    color: var(--cblue);  
}

.b-b-1-cblue {
    border-bottom: 1px solid var(--cblue);
}

.items-checkout {
    width: 100%;
    margin: 2rem;
    background: white;
    border-radius: 20px;
    color: var(--cpurple);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .items-checkout {
        margin: 2rem 10%;
    }
}

.items-checkout > .items {
    padding: 8px 4px;
    background-color: lightgray;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin: 1rem 0px;
}

.items-checkout > .items > div {
    margin-left: 1rem;
    color: var(--cblue);
}

.items-checkout > .items > div::before {
    content: "•";
}

.items-checkout > .purchase-heading > .item-name {
    margin: 0px .5rem;
}

.items-checkout > .purchase-heading > .duration {
    font-size: 1rem;
    margin-left: 1rem;
    background-color: var(--cpink);
    padding: 2px 8px;
    color: var(--cwhite);
    border-radius: 5px;
}

.checkout-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#cardPaymentBrick_container {
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.3);
    border-radius: 15px;
    width: 500px;
}

#cardPaymentBrick_container > form > div:nth-of-type(2) {
    overflow-y: auto;
    max-height: 500px;
}

.header-payments {
    background-image: linear-gradient(45deg, var(--cpurple) 0%, var(--cpink) 100%);
    border-radius: 15px;
}

.payment-description {
    border-radius: 15px;
    margin-right: 4rem;
    width: 350px;
    height: fit-content;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.3);
}

.loading {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.m-2 {
    margin: .5rem !important;
}

.dir-column {
    flex-direction: column;
}

.mv-1 {
    margin: .25rem 0;
}

.item-start {
    padding: 1.5rem;
    color: var(--cpurple);
}