/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 38px;
  height: 20px;
}

.app-brand-text.demo {
  font-size: 1rem;
  letter-spacing: 0.15px;
}

.authentication-wrapper .app-brand-text.demo {
  text-transform: capitalize;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}

/* tambahan */
.app-brand-logo {
  display: inline-block;
  animation: logoIntro 0.6s ease-out forwards;
}

@keyframes logoIntro {
  from {
    transform: scale(0.8) rotate(0deg);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.app-brand-text {
  opacity: 0;
  transform: scale(0.9);
  animation: zoomFadeIn 0.6s ease forwards;
}

@keyframes zoomFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.welcome-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  opacity: 0;
  /* awal transparan */
  transform: translateY(20px);
  /* awal geser sedikit ke bawah */
  animation: slideFadeIn 0.6s ease-out forwards;
  box-sizing: border-box;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-card .card-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.welcome-card p {
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.welcome-card .btn-primary {
  background-color: #2563eb;
  border-color: #2563eb;
  transition: background-color 0.3s ease;
}

.welcome-card .btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.welcome-img {
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s ease;
}

.welcome-img:hover {
  transform: scale(1.05);
}

@media (max-width: 767.98px) {
  .welcome-card {
    text-align: center;
  }

  .welcome-img {
    margin-top: 20px;
  }
}

.foot {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: #fff;
}

.white {
  color: #fff !important;
}

.oren {
  background-color: rgb(253 116 40) !important;
}

.biru {
  background-color: rgb(47 101 203) !important;
  border-color: rgb(47 101 203) !important;
}

.colbiru {
  color: rgb(47 101 203) !important;
}

.kuning {
  background-color: #feb019;
}

.animat {
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#dashboard {
  scroll-margin-top: 80px;
}

.bg-pre {
  background-color: #484848;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
}

table.dataTable thead th {
  text-align: left;
  vertical-align: middle;
}

table.dataTable tbody td {
  text-align: left;
}

.mtb {
      margin: 95px 0 95px 0 !important;
    }
