
.card-group {
  margin-block-end: 1.5rem;
  box-shadow: #{$shadow};
  border-radius: 4px;

  > .card {
    box-shadow: none;

    &:not(:last-child) {
      border-inline-end: 1px dotted #{$border};
    }
  }
}

.card {
    border-radius: 5px;
    margin-block-end: 1.5rem;
    box-shadow: inset 0px -1px 12px 3px rgba(255,255,255,0.05);
    background-color: transparent;
    background-position: center top;
    background-repeat: no-repeat;
    content: "";
    inset-inline-start: 0;
    inset-inline-end: 0;
    top: 0;
    width: 100%;
    &:before {
      position: absolute;
      content: "";
      width: 80%;
      height: 1px;
      top: 0;
      background: linear-gradient(45deg, transparent, $primary-03,$primary-06,$primary-06,$primary-03,transparent);
      inset-inline-start: 10%;
      box-shadow: 0 8px 17px 0px $primary;
    }

  > {
    hr {
      margin-inline-end: 0;
      margin-inline-start: 0;
    }

    .list-group {
      &:first-child .list-group-item:first-child {
        border-start-start-radius: 5px;
        border-start-end-radius: 5px;
      }

      &:last-child .list-group-item:last-child {
        border-end-end-radius: 5px;
        border-end-start-radius: 5px;
      }
    }
  }

  > .card-body {
    
    &:first-child {
      border-start-start-radius: 4px !important;
      border-start-end-radius: 4px !important;
      border-end-end-radius: 0 !important;
      border-end-start-radius: 0 !important;

      &:last-child {
        border-radius: 4px !important;
      }
    }

    &:last-child {
      border-start-start-radius: 0 !important;
      border-start-end-radius: 0 !important;
      border-end-end-radius: 4px !important;
      border-end-start-radius: 4px !important;
    }

    &:not(:first-child):not(:last-child) {
      border-radius: 0px;
    }
  }

  &.card-bg-primary {
    background-color: #{$primary};
    color: #{$fixed-black} !important;
    .card-body,.card-footer {
      color: #{$fixed-black} !important;
    }
    > .card-footer {
      border-block-start-color: #{$border};
    }

    .card-title {
      color: #{$fixed-black};
      border-block-end-color: #{$border};
    }
    .card-subtitle {
      color:#{$fixed-black};
      opacity: 0.758;
    }
  }

  &.card-bg-secondary {
    background-color: #{$secondary};
    color: rgb($white) !important;
    .card-body,.card-footer {
      color: rgb($white) !important;
    }

    > .card-footer {
      border-block-start-color: #{$border};
    }

    .card-title {
      color: rgb($white);
      border-block-end-color: #{$border};
    }
    .card-subtitle {
      color: rgb($white);
      opacity: 0.758;
    }
  }

  &.card-bg-info {
    background-color: #{$info};
    color: rgb($white) !important;
    .card-body,.card-footer {
      color: rgb($white) !important;
    }

    > .card-footer {
      border-block-start-color: #{$border};
    }

    .card-title {
      color: rgb($white);
      border-block-end-color: #{$border};
    }
    .card-subtitle {
      color: rgb($white);
      opacity: 0.758;
    }
  }

  &.card-bg-success {
    background-color: #{$success};
    color: rgb($white) !important;
    .card-body,.card-footer {
      color: rgb($white) !important;
    }

    > .card-footer {
      border-block-start-color: #{$border};
    }

    .card-title {
      color: rgb($white);
      border-block-end-color: #{$border};
    }
    .card-subtitle {
      color: rgb($white);
      opacity: 0.758;
    }
  }
  
  &.card-bg-warning {
    background-color: #{$warning};
    color: rgb($white) !important;
    .card-body,.card-footer {
      color: rgb($white) !important;
    }

    > .card-footer {
      border-block-start-color: #{$border};
    }

    .card-title {
      color: rgb($white);
      border-block-end-color: #{$border};
    }
    .card-subtitle {
      color: rgb($white);
      opacity: 0.758;
    }
  }
  
  &.card-bg-danger {
    background-color: #{$danger};
    color: rgb($white) !important;
    .card-body,.card-footer {
      color: rgb($white) !important;
    }

    > .card-footer {
      border-block-start-color: #{$border};
    }

    .card-title {
      color: rgb($white);
      border-block-end-color: #{$border};
    }
    .card-subtitle {
      color: rgb($white);
      opacity: 0.758;
    }
  }
  
  &.card-bg-dark {
    background-color: $dark;
    color: #{$fixed-white} !important;
    .card-body,.card-footer {
      color: #{$fixed-white} !important;
    }

    > .card-footer {
      border-block-start-color: #{$border};
    }

    .card-title {
      color: #{$fixed-white};
      border-block-end-color: #{$border};
    }
    .card-subtitle {
      color: rgb($white);
      opacity: 0.758;
    }
  }
  
  &.card-bg-light {
    background-color: #{$gray-200};
    color: $dark !important;
    .card-body,.card-footer {
      color: $dark !important;
    }
    
    > .card-footer {
      border-block-start-color: rgba($fixed-black, 0.15);
    }

    .card-title {
      color: $dark;
      border-block-end-color: rgba($fixed-black, 0.18);
    }
    .card-subtitle {
      opacity: 0.758;
    }
  }

  &.card-primary {
    border-block-start: 2px solid #{$primary} !important;

    .card-title {
      color: #{$primary};
    }
  }

  &.card-secondary {
    border-block-start: 2px solid #{$secondary} !important;
    
    .card-title {
      color: #{$secondary};
    }
  }

  &.card-success {
    border-block-start: 2px solid #{$success} !important;
    
    .card-title {
      color: #{$success};
    }
  }

  &.card-danger {
    border-block-start: 2px solid #{$danger} !important;
    
    .card-title {
      color: #{$danger};
    }
  }

  &.card-warning {
    border-block-start: 2px solid #{$warning} !important;
    
    .card-title {
      color: #{$warning};
    }
  }

  &.card-info {
    border-block-start: 2px solid #{$info} !important;
    
    .card-title {
      color: #{$info};
    }
  }

  &.card-dark {
    border-block-start: 2px solid $dark !important;
    
    .card-title {
      color: $dark;
    }
  }

  &.card-light {
    border-block-start: 2px solid #{$gray-400} !important;
    
    .card-title {
      color: #{$gray-600};
    }
  }
}

.card-header {
  border-block-end: 0;
  margin-block-end: 0;
  padding: 1rem 1.25rem;
  border-start-start-radius: 4px !important;
  border-start-end-radius: 4px !important;
  border-block-end: 1px dashed #{$primary-01};
  text-transform: uppercase;

  > .card-title {
    margin-block-end: 0px;

    ~ .card-subtitle {
      margin-block-end: 0px;
      margin-block-start: 0.4rem;
    }
  }

  &:first-child {
    border-radius: 0;

    &:last-child {
      border-radius: 4px;
    }
  }

}

.card-body {
  padding: 1.25rem;
}

.card-subtitle {
  margin-block-start: -0.575rem;
  margin-block-end: 1rem;
  color: #{$muted};
}

.card-footer {
  position: relative;
  padding: 1.25rem 1.25rem;
  background-color: transparent;
  border-block-start: 1px solid #{$border};

  &:last-child {
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    border-end-end-radius: 4px;
    border-end-start-radius: 4px;
  }
}

.card-collapsed {
  > :not(.card-header):not(.card-status) {
    display: none;
  }

  >.card-header{
    border-radius: 4px;
    padding-block-end: 1.25rem;
  }
}

.card-link {
  &:hover {
    text-decoration: none;
  }

  + .card-link {
    margin-inline-start: 1.25rem;
  }
}

.card-img-overlay {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  inset-block-end: 0;
  inset-inline-start: 0;
  padding: 1.25rem;
  border-radius: 4px;
  overflow: auto;
}

.card-img {
  width: 100%;
  border-radius: 4px;
}

.card-img-top {
  width: 100%;
  border-start-start-radius: 4px;
  border-start-end-radius: 4px;
}

.card-img-bottom {
  width: 100%;
  border-end-end-radius: 4px;
  border-end-start-radius: 4px;
}

.card-img-start {
  width: 100%;
  height: 100%;
  border-start-start-radius: 4px;
  border-end-start-radius: 4px;
}

.card-img-end {
  width: 100%;
  height: 100%;
  border-start-end-radius: 4px;
  border-end-end-radius: 4px;
}


.card-title {
  font-weight: 500;
  font-size: 15px;
  color: #{$primary};
}

.card-alert {
  padding: 1rem 1.25rem;
  font-size: 14px;
  margin-block-start: 1.25rem;
  border-width: 0px 0px 0px 1px;
  border-style: solid;

  &.alert-primary {
    border-color: #{$primary};
  }

  &.alert-secondary {
    border-color: #{$secondary};
  }

  &.alert-danger {
    border-color: #{$danger};
  }

  &.alert-success {
    border-color: #{$success};
  }

  &.alert-warning {
    border-color: #{$warning};
  }

  &.alert-info {
    border-color: #{$info};
  }

  &.alert-dark {
    border-color: $dark;
  }

  &.alert-light {
    border-color: #{$gray-400};
  }
}

.card-sigin{
  background: rgb($white) ;
  padding: 50px;
  border-radius: 4px;
}

.square-box div:nth-child(1) {
    inset-block-start: 12%;
    inset-inline-start: 42%;
    animation: animate 10s linear infinite;
}

.square-box div {
   position: absolute;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 5px solid rgba($fixed-white,  0.3);
    border-radius: 35px;
}

.square-box div:nth-child(2) {
  inset-block-start: 70%;
  inset-inline-start: 50%;
  animation: animate 7s linear infinite;
}

.square-box div:nth-child(4) {
  inset-block-start: 20%;
  inset-inline-start: 60%;
  animation: animate 10s linear infinite;
}

.square-box div:nth-child(3) {
  inset-block-start: 17%;
  inset-inline-start: 6%;
  animation: animate 9s linear infinite;
}

.square-box div:nth-child(5) {
  inset-block-start: 88%;
  inset-inline-start: 10%;
  animation: animate 6s linear infinite;
}

.square-box div:nth-child(6) {
    inset-block-start: 80%;
    inset-inline-start: 70%;
    animation: animate 12s linear infinite;
}

.square-box div:nth-child(7) {
    inset-block-start: 60%;
    inset-inline-start: 80%;
    animation: animate 15s linear infinite;
}

.square-box div:nth-child(8) {
    inset-block-start: 32%;
    inset-inline-start: 25%;
    animation: animate 16s linear infinite;
}

.square-box div:nth-child(9) {
    inset-block-start: 20%;
    inset-inline-start: 80%;
    animation: animate 10s linear infinite;
}

.square-box div:nth-child(10) {
  inset-block-start: 40%;
  inset-inline-start: 72%;
  animation: animate 5s linear infinite;
}

.square-box div:nth-child(11) {
  inset-block-start: 50%;
  inset-inline-start: 30%;
  animation: animate 6s linear infinite;
}

.square-box div:nth-child(12) {
  inset-block-start: 65%;
  inset-inline-start: 16%;
  animation: animate 9s linear infinite;
}

.square-box div:nth-child(13) {
  inset-block-start: 45%;
  inset-inline-start: 3%;
  animation: animate 14s linear infinite;
}

.square-box div:nth-child(14) {
  inset-block-start: 47%;
  inset-inline-start: 55%;
  animation: animate 3s linear infinite;
}

.square-box div:nth-child(15) {
  inset-block-start: 79%;
  inset-inline-start: 90%;
  animation: animate 8s linear infinite;
}

@keyframes animate {
  0% {
    transform: scale(0) translateY(0) rotate(0);
    opacity: 1;
  }

  100% {
    transform: scale(1.3) translateY(-90px) rotate(360deg);
    opacity: 0;
  }
}

@media (max-width: 767px){
  .card-sigin-main{
  padding:25px;
  }
}
	
@media (max-width: 767px){
	.card-sigin {
		padding: 25px;
	}
}

.card-fullscreen {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    inset-block-end: 0;
    z-index: 9999;
    margin: 0;
   &.card {
    background-color: #000 !important;
   }
}
[data-theme-color="glassy"] {
  .card.card-bg-primary .card-body, .card.card-bg-primary .card-footer {
    color: #fff !important;
  }
}