/*===========================
		COMMON css
===========================*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
/*========== GOOGLE FONTS ==========*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*========== VARIABLES CSS ==========*/
:root {
    --header-height: 3.5rem;
    --nav-width: 250px;
    /*========== Colors ==========*/
    --first-color: #024059;
    --first-color-light: #F4F0FA;
    --title-color: #19181B;
    --text-color: #3D484D;
    --text-color-light: #A5A1AA;
    --body-color: #EBF7FB;
    --container-color: #FFFFFF;
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --normal-font-size: .938rem;
    --small-font-size: .75rem;
    --smaller-font-size: .75rem;
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    /*========== z index ==========*/
    --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*========== BASE ==========*/
*, ::before, ::after {
  box-sizing: border-box;
}

body {
  margin: var(--header-height) 0 0 0;
  padding: 1rem 1rem 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h3 {
  margin: 0;
}

a {
    text-decoration: none;
    color: #03658C;
}

img {
  max-width: 100%;
  height: auto;
}

/* button colors */
.btn-primary {
    background-color: #024059 !important;
}
    .btn-primary:hover {
        background-color: #03658C !important;
    }
    .btn-primary:active, .btn-primary:visited {
        background-color: #1D97BF !important;
    }

/* form controls */
.form-control:focus {
    border-color: #03658C !important;
    -webkit-box-shadow: none !important;
    outline: -webkit-focus-ring-color auto 0px !important;
}


/*========== HEADER ==========*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  padding: 0 1rem;
  z-index: var(--z-fixed);
}

.header__container {
  display: flex;
  align-items: center;
  height: var(--header-height);
  justify-content: space-between;
}

.header__img {
  width: 35px;
  height: 55px;
}
.header__img_right {
    transform: translateX(45px);
}

.header__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
  display: none;
}

.header__icon, 
.header__toggle {
  font-size: 1.2rem;
}

.header__toggle {
  color: var(--title-color);
  cursor: pointer;
}

/*========== NAV ==========*/
.panav {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  padding: 1rem 1rem 0;
  background-color: var(--container-color);
  box-shadow: 1px 0 0 rgba(22, 8, 43, 0.1);
  z-index: var(--z-fixed);
  transition: .8s;
}

.nav__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 3rem;
  overflow: auto;
  scrollbar-width: none; /* For mozilla */
}

/* For Google Chrome and others */
.nav__container::-webkit-scrollbar {
  display: none;
}

.nav__logo {
  font-weight: var(--font-semi-bold);
  margin-bottom: 2.5rem;
}

.nav__list, 
.nav__items {
  display: grid;
}

.nav__list {
  row-gap: 2.5rem;
}

.nav__items {
  row-gap: 1.5rem;
}

.nav__subtitle {
  font-size: var(--normal-font-size);
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: var(--text-color-light);
}

.nav__link {
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.nav__link:hover {
  color: var(--first-color);
  transition: .8s;
}

.nav__icon {
  font-size: 1.2rem;
  margin-right: .5rem;
}

.nav__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  white-space: nowrap;
}

.nav__logout {
  margin-top: 5rem;
}

/* Dropdown */
.nav__dropdown {
  overflow: hidden;
  max-height: 21px;
  transition: .8s ease-in-out;
}

.nav__dropdown-collapse {
  background-color: var(--first-color-light);
  border-radius: .25rem;
  margin-top: 1rem;
}

.nav__dropdown-content {
  display: grid;
  row-gap: .5rem;
  padding: .75rem 2.5rem .75rem 1.8rem;
}

.nav__dropdown-item {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.nav__dropdown-item:hover {
  color: var(--first-color);
  transition: .8s;

}

.nav__dropdown-icon {
  margin-left: auto;
  transition: .8s;
}

/* Show dropdown collapse */
.nav__dropdown:hover {
  max-height: 100rem;
}

/* Rotate icon arrow */
.nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

/*===== Show menu =====*/
.show-menu {
  left: 0;
}

/*===== Active link =====*/
.active {
  color: var(--first-color);
}

/* ========== MEDIA QUERIES ==========*/
@media screen and (min-width: 768px) {
  body {
    padding: 1rem 3rem 0 6rem;
  }
  .header {
    padding: 0 3rem 0 6rem;
  }
  .header__container {
    height: calc(var(--header-height) + .5rem);
  }
  .header__toggle {
    display: none;
  }
  .header__logo {
    display: block;
  }
  .header__img {
    width: 40px;
    height: 55px;
    order: 1;
  }
  .header__img_right {
    transform: translateX(45px);
  }
  .panav {
    left: 0;
    padding: 1.2rem 1.5rem 0;
    width: 68px; /* Reduced navbar */
  }
  .nav__items {
    row-gap: 1.7rem;
  }
  .nav__icon {
    font-size: 1.3rem;
  }

  /* Element opacity */
  .nav__logo-name, 
  .nav__name, 
  .nav__subtitle, 
  .nav__dropdown-icon {
    opacity: 0;
    transition: .8s;
  }
  
  
  /* Navbar expanded */
  .panav:hover {
    width: var(--nav-width);
  }
  
  /* Visible elements */
  .panav:hover .nav__logo-name {
    opacity: 1;
  }
  .panav:hover .nav__subtitle {
    opacity: 1;
  }
  .panav:hover .nav__name {
    opacity: 1;
  }
  .panav:hover .nav__dropdown-icon {
    opacity: 1;
  }
}
.footer {
    margin-bottom: var(--header-height)!important;
}

.modal-body-wrapper {
    overflow-y: scroll;
}

/* ========== cart style ========== */
.card-style {
    background: #fff;
    box-sizing: border-box;
    padding: 25px 30px;
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: 0px 10px 20px rgba(200, 208, 216, 0.3);
    border-radius: 10px;
}

@media (max-width: 767px) {
    .card-style {
        padding: 20px;
    }
}

.card-style .jvm-zoom-btn {
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    right: 30px;
    bottom: 30px;
    cursor: pointer;
}

    .card-style .jvm-zoom-btn.jvm-zoomin {
        bottom: 70px;
    }

.card-style .dropdown-toggle {
    border: none;
    background: none;
}

    .card-style .dropdown-toggle::after {
        display: none;
    }

.card-style .dropdown-menu {
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.07);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.07);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.07);
}

    .card-style .dropdown-menu li:hover a {
        color: #2f80ed !important;
    }

    .card-style .dropdown-menu li a {
        display: block;
        font-size: 14px;
    }
/* =========== form elements css ========== */
/* ===== input style ===== */
.input-style-1 {
    position: relative;
    margin-bottom: 30px;
}

    .input-style-1 label {
        font-size: 14px;
        font-weight: 500;
        color: #262d3f;
        display: block;
        margin-bottom: 10px;
    }

    .input-style-1 input,
    .input-style-1 textarea {
        width: 100%;
        background: rgba(239, 239, 239, 0.5);
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        padding: 16px;
        color: #5d657b;
        resize: none;
    }

        .input-style-1 input:focus,
        .input-style-1 textarea:focus {
            border-color: #2f80ed;
        }

        .input-style-1 input[type="date"], .input-style-1 input[type="time"],
        .input-style-1 textarea[type="date"],
        .input-style-1 textarea[type="time"] {
            background: transparent;
        }

.input-style-2 {
    position: relative;
    margin-bottom: 30px;
    z-index: 1;
}

    .input-style-2 label {
        font-size: 14px;
        font-weight: 500;
        color: #262d3f;
        display: block;
        margin-bottom: 10px;
    }

    .input-style-2 input,
    .input-style-2 textarea {
        width: 100%;
        background: rgba(239, 239, 239, 0.5);
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        padding: 16px;
        color: #5d657b;
        resize: none;
    }

        .input-style-2 input:focus,
        .input-style-2 textarea:focus {
            border-color: #2f80ed;
        }

        .input-style-2 input[type="date"], .input-style-2 input[type="time"],
        .input-style-2 textarea[type="date"],
        .input-style-2 textarea[type="time"] {
            background: transparent;
        }

            .input-style-2 input[type="date"]::-webkit-inner-spin-button,
            .input-style-2 input[type="date"]::-webkit-calendar-picker-indicator {
                opacity: 0;
            }

            .input-style-2 input[type="date"] ~ .icon {
                z-index: -1;
            }

    .input-style-2 .icon {
        position: absolute;
        right: 0;
        bottom: 0;
        padding: 17px;
    }

.input-style-3 {
    position: relative;
    margin-bottom: 30px;
}

    .input-style-3 label {
        font-size: 14px;
        font-weight: 500;
        color: #262d3f;
        display: block;
        margin-bottom: 10px;
    }

    .input-style-3 input,
    .input-style-3 textarea {
        width: 100%;
        background: rgba(239, 239, 239, 0.5);
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        padding: 16px;
        padding-left: 45px;
        color: #5d657b;
        resize: none;
    }

        .input-style-3 input:focus,
        .input-style-3 textarea:focus {
            border-color: #2f80ed;
        }

    .input-style-3 .icon {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        padding: 16px;
    }



/**Modal Styles for Print**/
@media print {
    body * {
        visibility: hidden;
    }

    .modal-content * {
        visibility: visible;
        overflow: visible;
    }

    .main-page * {
        display: none;
    }

    .btn-primary {
        display: none;
    }

    .modal {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
        min-height: 550px;
        visibility: visible;
        overflow: visible !important; /* Remove scrollbar for printing. */
    }

    .modal-dialog {
        visibility: visible !important;
        overflow: visible !important; /* Remove scrollbar for printing. */
    }

}


