/* custom.css */

/* Define main color variables */
:root {
    --main-orange: #291f19; /* your requested color */
    --main-cyan: #00BCD4;   /* your requested color */
  }
  
  /* We'll integrate these into some backgrounds, buttons, etc. */
  
  /* Sidebar styling with new colors */
  .sidebar-container {
    width: 250px;
    min-height: 100vh;
    background: var(--main-orange);
    transition: transform 0.3s ease;
  }
  .sidebar-container .nav-link {
    color: #fff !important;
  }
  .sidebar-container .nav-link:hover {
    background-color: rgba(255,255,255,0.15);
  }
  .sidebar-logo {
    font-size: 1.5rem;
    color: #fff;
  }
  
  /* For submenus inside the sidebar */
  .submenu {
    margin-left: 1rem; 
    margin-bottom: 1rem;
    display: none; /* We'll toggle this with JS if needed */
  }
  .submenu a {
    display: block;
    padding-left: 1rem;
    margin-top: 5px;
  }
  .submenu a:hover {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
  }
  
  /* Topbar color */
  .topbar {
    border-bottom: 2px solid var(--main-cyan);
  }
  
  /* Animate fadeIn and slideIn for container */
  .container, .container-fluid {
    animation: fadeSlide 0.6s ease forwards;
  }
  @keyframes fadeSlide {
    0% {
      opacity: 0; 
      transform: translateY(20px);
    }
    100% {
      opacity: 1; 
      transform: translateY(0);
    }
  }
  
  /* Buttons with your colors */
  .btn-custom-orange {
    background: var(--main-orange);
    color: #fff;
    border: none;
  }
  .btn-custom-orange:hover {
    background: #e8640e;
  }
  
  .btn-custom-cyan {
    background: var(--main-cyan);
    color: #fff;
    border: none;
  }
  .btn-custom-cyan:hover {
    background: #00a2b7;
  }
  
  /* Media query for mobile sidebar toggle */
  @media (max-width: 768px) {
    .sidebar-container {
      position: absolute;
      left: -250px;
      top: 0; 
      bottom: 0;
      z-index: 999;
    }
    .sidebar-container.show {
      transform: translateX(250px);
    }
  }
  
  /* Fancy swirling background for login page */
  @keyframes swirl {
    0% { background-position: 0 0; }
    50% { background-position: 400px 400px; }
    100% { background-position: 0 0; }
  }
  .login-bg {
    background: linear-gradient(135deg, #8d5ac4 0%, #3575e6 100%); /* Updated gradient colors */
    background-size: 300% 300%;
    animation: gradient-animation 10s ease infinite; /* Gradient animation */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-card {
    background-color: #ffffff;
    border-radius: 20px; /* Increased rounding for a modern look */
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow for better contrast */
    animation: card-fade-in 1s ease; /* Card entry animation */
}

@keyframes card-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    /* font-size: 2rem; */
    font-weight: bold;
    width: 200px;
    text-align: center;
    color: #2575fc; /* Match the gradient for consistency */
    margin-bottom: 1rem;
    animation: logo-bounce 2s infinite; /* Logo bounce animation */
}

@keyframes logo-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.logo{
  width: 200px;
 
  text-align: center;
  align-items: center;
  margin-bottom: 1rem;
  animation: logo-bounce 2s infinite; /* Logo bounce animation */
}