/********** Global declarations ***********/

:root {
  /********** primary colors **********/
  --primary-background: white;
  --primary-danger: #d32f2f;
  --primary-success: #4caf50;
  --primary-success-light: #EDF7ED;
  --primary-light: #f3f5f7;
  --primary-color: #167c85;
  --title-color: #002e5d;
  --primary-active-border: #0c0c0c;
  --primary-label: rgba(0, 0, 0, 0.6);
  --primary-master: #ffd532;
  --primary-footer: #167c85;
  --primary-white: #ffffff;
  --marketplace-text: gray;
  --marketplace-publish: #f1c40f;
  --status-stepper-color: rgb(229, 246, 253);
  --alert-color: #e5f6fd;

  /************** primary border  theme **********/
  --primary-border: #c8ced5;
  --primary-border-radius: 5px;
  --primary-border-width: 1px;

  /*********** secondary colors ***********/

  --secondary-background: #f7fafc;
  --secondary-border: #2794e3;
  
  --purchase-color : #5B8856;
  --cashout-color : #183A5F;

  /************** breakpoints ****************/
  --mobile: 600px;
  --tablet: 960px;
  --laptop: 1280px;
  --desktop: 1920px;
  --nav-height: 90px;

}

/********* fonts used in the  app **********/
@font-face {
  font-family: titleFont;
  src: url(Roboto/Roboto-Regular.ttf);
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: bodyFont;
  src: url(Roboto/Roboto-Regular.ttf);
  font-display: swap;
}

/**************** font ends here ***************/

html {
  font-size: calc(60% + 0.8vmin);
  height: 100%;
  scroll-behavior: smooth;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow-x: hidden;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow-x: hidden;
  background-color: var(--secondary-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
   print-color-adjust: exact; 
   -webkit-print-color-adjust: exact; 
}

/*************** style for date picker **********/
input[type='date']::-webkit-datetime-edit-text,
input[type='date']::-webkit-datetime-edit-month-field,
input[type='date']::-webkit-datetime-edit-day-field,
input[type='date']::-webkit-datetime-edit-year-field {
  color: var(--primary-border);
  font-family: bodyFont;
}

input[type='color'] {
  width: 20px;
  height: 20px;
  outline: none;
  padding: 0px;
  margin: 0px;
  border: none;
  box-shadow: none;
  border-radius: 10px;
}

.react-date-picker {
  padding: 20px !important;
  border-radius: 5px !important;
  font-family: 2rem;
}

input[type='date']:active {
  border: 1px solid var(--primary-color);
}

input[type='date']:focus {
  border: 1px solid var(--primary-color);
}

input[type='date'].date-input-value::-webkit-datetime-edit-text,
input[type='date'].date-input-value::-webkit-datetime-edit-month-field,
input[type='date'].date-input-value::-webkit-datetime-edit-day-field,
input[type='date'].date-input-value::-webkit-datetime-edit-year-field {
  color: black !important;
}

input[type='date']::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  padding: 30px;
}

input[type='date'] {
  background: #fff
    url(https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/calendar_2.png)
    97% 50% no-repeat;
}

input[type='date']::-webkit-inner-spin-button {
  display: none;
}

input[type='date']::-webkit-calendar-picker-indicator {
  opacity: 0;
}
input[type='date'] {
  display: -webkit-inline-flex;
  font-family: monospace;
  overflow: hidden;
  padding: 0;
  -webkit-padding-start: 1px;
}

input[type='date']::placeholder {
  color: var(--primary-border);
  font-size: small;
}
input[type='textarea']::placeholder {
  color: lightgray;
  font-size: small;
}

#date-picker {
  width: 96%;
  padding: 10px;
  font-size: medium;
  outline: none;
  border-radius: var(--primary-border-radius);
  border: 1px solid var(--primary-border);
  font-family: bodyFont;
  margin-right: 200px !important;
}

#date-picker:active {
  border: 1px solid var(--primary-active-border) !important;
}

input::placeholder {
  font-size: small;
}

/**************************** AUTH STYLING ****/
.verify-email-success-title {
  padding-top: 1rem;
}
.verify-email-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 1rem;
}

.primary-shadow {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/**************************** BUTTON****/
.status-button {
  background-color: unset;
  color: var(--primary-color);
  border: solid 1px var(--primary-color);
  text-transform: capitalize;
  font-family: bodyFont;
  border-radius: 10px;
  height: auto;
  /* width: 5rem; */
  /* font-size: 1rem; */
  /* font-weight: 900; */
  /* outline: none; */
}

.application-failed-btn {
  color: whitesmoke;
  background-color: var(--primary-danger);
  text-transform: capitalize;
  font-family: bodyFont;
  border-radius: 2px;
  height: 1.5rem;
  width: 5rem;
  font-weight: 600;
  outline: none;
  border: none;
}

.action {
  cursor: pointer;
}

.full-width {
  width: 100%;
}

.overflow-box {
  overflow-y: auto;
  overflow-x: none;
  height: 68vh;
}

/********************* cards **************************/
.success-image {
  width: 7rem;
  height: 7rem;
}

.danger-image {
  width: 7rem;
  height: 7rem;
}
.css-19np357-MuiDrawer-docked {
  border-bottom: 1px solid transparent !important;
}
.comming-soon-image {
  width: 200px;
  height: 100px;
}


/**************************** hide the input arrow for number**/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
}

/**************** END ***************/

/****************** scrollbar css ******************/
#scrollableDiv {
  min-height: 300px;
}

::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--primary-master);
  height: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-master);
}

/*********** global loader style  ********/
.global-loader {
  /* width: 100vw; */
  height: 100vh;
  transition: all 0.1s ease-in-out;
  -webkit-transition: all 0.1s ease-in-out;
}

.ocr-loader {
  min-height: 30vh;
  width: 100%;
  transition: all 0.1s ease-in-out;
  -webkit-transition: all 0.1s ease-in-out;
}

.dashboard-page-loader {
  min-height: calc(100vh - 150px);
  width: 100%;
  transition: all ease-in-out;
}

.global-loader img {
  aspect-ratio: 3/1;
}

/************ adjustment for the tooltip of  the introjs **************/

.introjs-tooltipReferenceLayer * {
  font-family: bodyFont !important;
}
/*********************** global responsivness handling r************************/
@media screen and (max-width: 990px) {
  .logo {
    aspect-ratio: 3/2;
  }

  .global-loader img {
    aspect-ratio: 3/2;
  }

  #scaled-frame {
    zoom: 1;
  }
}
