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

.footer {
  position: fixed;
  height: 60px;
  bottom: 0;
  width: 100%;
}

/* Removing focus outline for form controls */
.form-control:focus, .form-control:active {
    outline: none;
    box-shadow: none;
}

/* Removing focus outline for input type="search" specifically */
input[type="search"]:focus {
    outline: none;
    box-shadow: none;
}

.log-color{
    background-color: #8EC5FC;
    background-image: linear-gradient(150deg, #8EC5FC 0%);
}
.card-gradient {
    background-image: linear-gradient(to right bottom, #1876cb, #4475d4, #6672da, #856ddd, #a366dc);
}
.card2-gradient {
    background: linear-gradient(to right, #c33764, #1d2671);
}
.card3-gradient {
    background-image: radial-gradient(circle, #c4fcef, #a2f0dd, #7ee3cc, #54d6b9, #00c9a7);
}
/* 
Bootstrap dark #212529
Dark Blue #0e2238 */
.custom-navbar-color {
  background-color: #212529;
}

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1 {
    font-weight: 600;
    font-size: 1.5rem;
}

body {
    font-family: 'Poppins', sans-serif;
}

.wrapper {
    display: flex;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    background-color: #fafbfe;
}

#sidebar {
    width: 70px;
    min-width: 70px;
    z-index: 1000;
    transition: all .25s ease-in-out;
    background-color: #212529;
    display: flex;
    flex-direction: column;
}

#sidebar.expand {
    width: 260px;
    min-width: 260px;
}

.toggle-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 1rem 1.5rem;
}

.toggle-btn i {
    font-size: 1.5rem;
    color: #FFF;
}

.sidebar-logo {
    margin: auto 0;
}

.sidebar-logo a {
    color: #FFF;
    font-size: 1.15rem;
    font-weight: 600;
}

#sidebar:not(.expand) button.side-but span,
#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
}

.sidebar-nav {
    padding: 2rem 0;
    flex: 1 1 auto;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #FFF;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.1rem;
    margin-right: .75rem;
}

a.sidebar-link.active, 
a.sidebar-link:hover {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #3b7ddd;
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #212529;
    padding: 0;
    min-width: 15rem;
    display: none;
}

a.sidebar-link.active, 
#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}
.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: white;
  background: radial-gradient(125% 125% at 50% 10%, #e4e5ef 30%, #0934aa 100%);
  z-index: -10;
}

/* From Uiverse.io by vinodjangid07 */ 
.setting-btn {
  width: 45px;
  height: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #2b3035;
  border-radius: 10px;
  cursor: pointer;
  border: none;
}
.bar {
  width: 50%;
  height: 2px;
  background-color: rgb(229, 229, 229);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 2px;
}
.bar::before {
  content: "";
  width: 2px;
  height: 2px;
  background-color: #2b3035;
  position: absolute;
  border-radius: 50%;
  border: 2px solid white;
  transition: all 0.3s;
  box-shadow: 0px 0px 5px white;
}
.bar1::before {
  transform: translateX(-4px);
}
.bar2::before {
  transform: translateX(4px);
}
.setting-btn:hover .bar1::before {
  transform: translateX(4px);
}
.setting-btn:hover .bar2::before {
  transform: translateX(-4px);
}

/* From Uiverse.io by vinodjangid07 */ 
.bttn {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 70px;
  height: 30px;
  border: none;
  padding: 0px 10px;
  background-color: rgb(68, 128, 240);
  color: white;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 2px 2px 0px rgb(80, 79, 79);
  transition-duration: .3s;
}

.svg {
  width: 13px;
  position: absolute;
  right: 0;
  margin-right: 10px;
  fill: white;
  transition-duration: .3s;
}

.bttn:hover {
  color: transparent;
}

.bttn:hover svg {
  right: 43%;
  margin: 0;
  padding: 0;
  border: none;
  transition-duration: .3s;
}

.bttn:active {
  transform: translate(3px , 3px);
  transition-duration: .3s;
  box-shadow: 2px 2px 0px rgb(140, 32, 212);
}
/* From Uiverse.io by KINGFRESS */ 
.log-but {
  font-weight: bold;
  color: white;
  border-radius: 2rem;
  cursor: pointer;
  width: 95.02px;
  height: 42.66px;
  border: none;
  background-color: #2242f6;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.4s ease, transform 0.4s ease; /* smooth change */
}

.log-but .span-mother {
  display: flex;
  overflow: hidden;
}

.log-but:hover .span-mother {
  position: absolute;
}
.log-but:hover{
  background-color: #0729ed;
  transform: scale(1.05); /* slight zoom on hover */
}

.log-but:hover .span-mother span {
  transform: translateY(1.2em);
}

.log-but .span-mother span:nth-child(1) {
  transition: 0.2s;
}

.log-but .span-mother span:nth-child(2) {
  transition: 0.3s;
}

.log-but .span-mother span:nth-child(3) {
  transition: 0.4s;
}

.log-but .span-mother span:nth-child(4) {
  transition: 0.5s;
}

.log-but .span-mother span:nth-child(5) {
  transition: 0.6s;
}

.log-but .span-mother span:nth-child(6) {
  transition: 0.7s;
}

.log-but .span-mother2 {
  display: flex;
  position: absolute;
  overflow: hidden;
}

.log-but .span-mother2 span {
  transform: translateY(-1.5em);
}

.log-but:hover .span-mother2 span {
  transform: translateY(0);
}

.log-but .span-mother2 span {
  transition: 0.2s;
}

.log-but .span-mother2 span:nth-child(2) {
  transition: 0.3s;
}

.log-but .span-mother2 span:nth-child(3) {
  transition: 0.4s;
}

.log-but .span-mother2 span:nth-child(4) {
  transition: 0.5s;
}

.log-but .span-mother2 span:nth-child(5) {
  transition: 0.6s;
}

.log-but .span-mother2 span:nth-child(6) {
  transition: 0.7s;
}
