/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
/* Fullscreen Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #ffffff; /* clean white */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.6s ease-in-out;
}

/* Preloader Logo Wrapper */
.preloader-logo-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

/* Preloader Logo Animation (Modern Pulse) */
.preloader-logo {
  width: 100%;
  height: auto;
  animation: logoPulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Subtle ring glow around the logo */
.preloader-logo-wrapper::before {
  content: '';
  position: absolute;
  top: -25px;
  left: -25px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 120, 255, 0.08) 0%, transparent 70%);
  animation: ringPulse 3s ease-in-out infinite;
  z-index: 0;
}

/* When preloader is hidden */
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Optional: fade-in main site logo */
.site-logo {
  width: 180px;
  margin: 40px auto;
  display: block;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
}

/* Animations */
@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(120, 120, 255, 0.2));
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
    filter: drop-shadow(0 0 12px rgba(120, 120, 255, 0.25));
  }
}

@keyframes ringPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.4;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/* Animations */
@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(120, 120, 255, 0.2));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(120, 120, 255, 0.4));
  }
}

@keyframes ringPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/* 
.mb-1 {
  position: relative;     
  font-size: 20px;           
  color: #2c3e50;            
  font-weight: 600;                  
  bottom: -20px;              
  line-height: 1.4;                   
}

.mb-6 {
  position: relative;              
  color: #2c3e50;                              
  bottom: -20px;              
  line-height: 1.4;

}

#formAuthentication{
  bottom: 10px;
} */

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

.app-brand-logo{
  position: absolute;
  padding: -100px;
}

.img{
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;  
  max-width: 100%;
  height: auto;
}

.acc{
  position: relative;
  bottom: 11px;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !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: 1rem !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: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

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

/* Layout demo
******************************************************************************/
.required{
  color: red;
}

.optional{
  font-size: 10px;
}

.logo-animate {
  position: relative;
  width: 180px; /* slightly smaller for modern look */
  height: auto;
  display: block;
  margin: 0 auto 24px; /* balanced spacing */
  animation: fadeGlow 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.logo-animate:hover {
  transform: scale(1.08);
}

.logo-animate {
  position: relative;
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
  animation: glowPulse 3.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.logo-animate:hover {
  transform: scale(1.08);
}

@keyframes fadeGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(50, 30, 130, 0.6));
  }
  50% {
    opacity: 1;
    transform: scale(1.07);
    filter: drop-shadow(0 0 12px rgba(100, 50, 255, 0.9));
  }
}


