@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&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
  .logo{
      width:30%;
      margin-bottom:20px;
  }

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #23252a;
}

.box {
    position: relative;
    width: 480px;
    height: 580px;
    background: #1c1c1c;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
}

.box::before{
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #45f3ff, #45f3ff, #45f3ff);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}

.box::after{
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #45f3ff, #45f3ff, #45f3ff);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -3s;
}

.borderLine::before{
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #ff2770, #ff2770, #ff2770);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -1.5s;
}

.borderLine::after
{
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #ff2770, #ff2770, #ff2770);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -4.5s;
}


@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    
}

.box form{
    position: absolute;
    inset: 4px;
    background: #222;
    padding: 50px 40px;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.box form h2{
    color: #fff;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
}

.box form .inputBox{
    position: relative;
    width: 395px;
    margin-top: 25px;
}

.box form .inputBox input{
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    outline: none;
    border: none;
    box-shadow: none;
    color: #23242a;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    z-index: 10;
}

.box form .inputBox span{
    position: absolute;
    left: 0;
    padding: 20px 0px 10px;
    pointer-events: none;
    color: #8f8f8f;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
}

.box form .inputBox input:valid ~ span,
.box form .inputBox input:focus ~ span {
    color: #fff;
    font-size: 0.75em;
    transform: translateY((-34px));
}

.box form .inputBox i{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}

.box form .inputBox input:valid ~ i,
.box form .inputBox input:focus ~ i {
    height: 44px;
}

.box form .links{
    display: flex;
    justify-content: space-between;
}

.box form .links a{
    margin: 10px 0;
    font-size: 0.90em;
    color: #8f8f8f;
    text-decoration: none;
}

.box form .links a:hover,
.box form .links a:nth-child(2){
    color: #fff;
}

#submit{
    border: none;
    outline: none;
    padding: 9px 25px;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 4px;
    font-weight: 600;
    width: 100px;
    margin-top: 10px;
}

#submit:active{
    opacity: 0.8;
}
*,
::after,
::before {
  box-sizing: border-box;
}

body {
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  margin: 0;
  padding: 0;
  font: 400 1.8vh/1.5 "Poppins", sans-serif;
}
p {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  border: 0;
  width: 100%;
  height: auto;
}
:root {
  --bordercolor: #ebeff2;
  --secondcolor: #2ed47a;
  --spancolor: #109cf1;
  --fWeight500: 500;
}
.d-flex {
  display: flex;
  justify-content: space-between;
}

/* grid */
.wrapper {
  display: grid;
  grid-template-columns: 256px calc(100% - 256px);
  grid-template-rows: 60px calc(100% - 60px);
  gap: 0px 0px;
  height: 100vh;
  width: 100vw;
  grid-template-areas:
    "sidebar search "
    "sidebar main";
}
.sidebar {
  grid-area: sidebar;
  height: 100vh;
  box-shadow: 6px 0 18px rgba(0, 0, 0, 0.06);
}

.main {
  grid-area: main;
  margin: 3vh; /*  22px */
  display: flex;
  flex-flow: row nowrap;
  gap: 30px;
  max-height: 90vh;
}
/* inside main */
.first {
  flex: 2 1 55%;
  display: flex;
  flex-flow: column nowrap;
  order: 1;
  max-height: 90vh;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.06), 0px 6px 18px rgba(0, 0, 0, 0.06);
}
.second {
  flex: 1 1 35%;
  flex-flow: column nowrap;
  order: 2;
  gap: 15px;
}
.container {
  padding: 2% 2.8%;
}

/* sidebar style */
.header {
  padding: 0 1.6rem;
  border-bottom: 1px solid #ebeff2;
}
.header > h3 {
  font: 600 18px/1.3 "Open Sans", sans-serif;
  color: var(--spancolor);
}
.sidebar_inner {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 90vh;
  padding: 0 1.3vw;
}
.person {
  margin: 24px 24px 40px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.description {
  margin-left: 16px;
  display: inline-block;
}
.description .descriptionName {
  font-size: 1.8vh;
  font-weight: var(--fWeight500);
}
.description .descriptionMail {
  font-size: 1.4vh;
  color: #90a0b7;
}
ul {
  padding: 0;
}
li {
  list-style: none;
}
.nav-item {
  margin-bottom: 20px;
}
.nav-item:not(:first-child) > a {
  text-decoration: none;
  color: #fefefe;
}
.nav-item:first-child > a {
  text-decoration: none;
  color: #fff;
}
.nav-item > a:hover {
  color: #fefefe;
}
.menu-icon {
  display: flex;
  align-items: center;
}
.nav-label {
  margin-left: 14px;
  font-weight: var(--fWeight500);
}
.nav-item:last-child {
  padding-top: 24px;
  border-top: 1px solid var(--bordercolor);
}
.toggle {
  position: absolute;
  bottom: 0;
}

/* Media Queries*/
@media (max-width: 1130px) {
  .main {
    flex-flow: column;
    margin: 0;
    gap: 5px;
  }
}
@media only screen and (max-width: 500px) {
  .wrapper {
    display: grid;
    width: 100vw;
    height: 100vh;
    grid-template-areas:
      "search"
      "main";
    grid-template-columns: 4fr;
    grid-template-rows: 60px 1fr;
  }
  .logo{
      width:30%;
  }
  .search {
    border: none;
  }
  .search-form {
    border: none;
  }
  .main {
    flex-flow: column;
    margin: 0;
    gap: 5px;
  }
  .sidebar {
    display: none;
  }
  .first {
    box-shadow: none;
  }
  .week {
    display: none;
  }
  .calendar > h3 {
    margin-bottom: 3%;
  }
  .icon {
    left: 60%;
  }
  .show-more {
    display: none;
  }
  .deals {
    box-shadow: none;
  }
  .task {
    box-shadow: none;
  }
}
.table {
    color: #f8f9fa;
    background-color: #343a40;
    width: 100%; /* Optional */
    text-align:center;
    margin-bottom:40px;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #fff;
}

.table th {
    color: #ffffff;
}

.table-bordered th, .table-bordered td {
    border: 1px solid #6c757d;
}
.form-label{
    font-size:16px;
    color:#fff;
}
.usage_count{
    color: #fff; 
    background:#FF0000;
    text-transform: uppercase;
    font-size:18px;
    padding:10px;
    border-radius:5px;
}
#loading{
    color:#fff;
}