/* Import Merriweather from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Inter:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    font-family: 'Roboto', sans-serif !important;
}

* {
    font-family: 'Roboto', sans-serif !important;
}

/* Ensure Font Awesome icons use their own font */
.fas, .far, .fal, .fab, .fa, [class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "FontAwesome", "FontAwesome6Free", Arial, sans-serif !important;
    font-weight: 900 !important; /* for solid icons */
}


html{
    scroll-behavior: smooth;
  }
  
  .dropdown-menu-parent{

    top: 38px;
  }
  .dev-card {

    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }

  .card{

    transition: all 0.3s ease-in-out;
  }

  .dev-card:hover .dev-image img {
    
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out; /* Smooth transition for the image */
  }

  .dev-card:hover .card {
    
    color: white;
    background-color: #066617;
  }

  .dev-image img{

    width: 90%;
    height: 90%;
    transition: all 0.3s ease-in-out;
    
  }

  .dev-image{

    display: flex;
    justify-content: center;
    justify-items: center;
    position: sticky;
    top: -200px;
    z-index: 100;
  }

  .copyright-link:hover{

    color: #066617;
    text-decoration: none;
  }

  .nav-sidebar .nav-item>.nav-link{

    color: #343a40 !important;
  }
  
  .hidden-action {
      opacity: 0;
      pointer-events: none;
      
  }
  .show-action {

      opacity: 1;
      pointer-events: unset;

  }

  .nav-item:hover{

    color: #343a40 !important;
  }

  .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
      background-color: #066617 !important;
      color: #fff !important;
  }
  
  .blinking-text {
    animation: blink 1s infinite;
  }

  .icon-link{
    font-size: 17px;
    padding-top: 0px;
    padding-bottom: 0px;
    transition: 0.3s ease-in-out;
  }

  .icon-link:hover{
    opacity: 0.95;
  }

  .banner {
      background-size: cover;
      background-position: center;
      width: 100%;
      /* margin-top: 10vh!important; */
      overflow: hidden;
  }

  .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    background-color: rgba(0, 0, 0, 0.295); /* Semi-transparent black overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  div .dev-preloader-container{
    background: #f4f6f9;
    display: flex;
    height: 100vh;
    width: 100%;
    transition: height .2s linear;
    justify-items: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;

  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent black overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }


  .hero-carousel {
    width: 100%;
    height: 90vh; 
    overflow: hidden;
  }
  
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
  }
  

  
  .hero-banner{
    height: 120vh; 
    background-color: white; 
    /* padding-left:70px;
    padding-right:70px;
    padding-bottom:70px; */
    border-radius: 0% 0% 25% 25% / 0% 0% 13% 13%;
  }

  div #dev-preloader{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .spinner-border{
    width: 50px !important;
    height: 50px !important;
    border-width: 0.5rem !important;
  }

  .avatar-container {
    width: 250px; /* Adjust width as per your design */
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 50%; /* Makes the container circular */
    box-shadow: 0 0 0 10px #28A745; /* Simulates an outer border */
}

.avatar-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Ensures the image fills the container */
}

.avatar-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 50%; /* Match the container's shape */
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth fade-in effect */
    z-index: 10;
}

.avatar-overlay i {
    font-size: 30px; /* Adjust icon size */
}

.avatar-container:hover .avatar-overlay {
    opacity: 1; /* Show overlay on hover */
}

  .dev-elevation{
    box-shadow: -8px -9px 63px -24px rgba(0,0,0,0.50);
    -webkit-box-shadow: -8px -9px 63px -24px rgba(0,0,0,0.50);
    -moz-box-shadow: -8px -9px 63px -24px rgba(0,0,0,0.50);
  }

  .tile {

    display: block;
    float: left;
    text-decoration: none;
    position: relative;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: .02em;
    line-height: 20px;
    overflow: hidden;
    border: 4px solid transparent;
    margin: 0 10px 10px 0;
    border-radius: 25px!important;
    transition: 3ms ease-in-out ;
  }
 
  .tile.tile-normal{
    
    padding: 10px;
    text-align: center;
    width: 135px;
    height: 135px;
  }

  .tile.tile-row-span-2{

    padding: 10px;
    text-align: center;
    width: 135px!important;
    height: 280px!important;
  }

  .tile.tile-col-span-2{

    padding: 10px;
    text-align: center;
    width: 280px!important;
    height: 135px!important;
  }

  .tile .tile-body>i {
    margin-top: 17px;
    display: block;
    font-size: 40px;
    line-height: 56px;
    text-align: center;
  }

  .tile .tile-object {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 30px;
    
  }

  .tile .tile-object.tile-name {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 15px;
    font-weight: 400;
    font-size: 13px;
    color: #fff;
  }

  .tooltip{
    position: absolute;
    width: 120px;
    height: 50px;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 1;
    transform: scale(0);
  }

  .tooltip-active{
      transform: scale(1);
  }

  .tooltip-holder{
      position: absolute;
      border-radius: 5px;
  }

  .tile:hover{

    border: 5px solid rgb(244 246 249);
  }

  .school-primary{
    background: #066617;
    color: white;
  }

  .bg-primary-color{

    background: #343a40!important;
    color: white;

  }

  .bg-blue-hoki{
    background: #67809F!important;
    color: white;
  } 

  .bg-blue-metal{

    background: #4B77BE!important;
    color: white;

  }

  .bg-gree-ocean{

    background: #32c5d2!important;
    color: white;

  }

  .bg-gree-kael{

    background: #1BBC9B!important;
    color: white;
    
  }


  .bg-red-blood{

    background: #D91E18!important;
    color: white;

  }
  
  .bg-red-peal{

    background: #E26A6A!important;
    color: white;

  }

  .bg-orange-warm{

    background: #E87E04!important;
    color: white;

  }


  .bg-yellow-gold{

    background: #E87E04!important;
    color: white;

  }

  .bg-purple-royal{

    background: #8E44AD!important;
    color: white;

  }


  .btn-primary-color {
    background-color: #007bff!important;
    border-color: #007bff!important;
    color: white;
  }

  .btn-primary-color:hover {
    background-color: #004cff!important;
    border-color: #004cff!important;
    color: white;
  }

  .btn-secondary-color {
    background-color: #6c757d!important;
    border-color: #6c757d!important;
    color: white;
  }

  .btn-secondary-color:hover {
    background-color: #5d666d!important;
    color: white;
  }

  .btn-success-color {
    background-color:#28a745!important;
    border-color:#28a745!important;
    color: white;
  }


  .btn-success-color:hover {
    background-color: #208437!important;
    border-color: #208437!important;
    color: white;
  }

  .btn-warning-color {
    background-color:#ffc107!important;
    border-color:#ffc107!important;
    color: white;
  }


  .btn-warning-color:hover {
    background-color: #d29e00!important;
    border-color: #d29e00!important;
    color: white;
  }

  .btn-danger-color {
    background-color:#c82333!important;
    border-color:#c82333!important;
    color: white;
  }


  .btn-danger-color:hover {
    background-color: #a51e2c!important;
    border-color: #a51e2c!important;
    color: white;
  }


  .btn-info-color {
    background-color:#17a2b8!important;
    border-color:#17a2b8!important;
    color: white;
  }


  .btn-info-color:hover {
    background-color: #128091!important;
    border-color: #128091!important;
    color: white;
  }

  .content-header h1{

    font-size: 1.4rem !important;
  }



  .animate-left{

    animation: transitionLeft 0.75s;

  }

  .animate-right{

    animation: transitionRight 0.75s;

  }

  .animate-forward{

    animation: transitionForward 0.75s;

  }

  .dropdown-divider{

    margin: .10rem 0!important;
  }



  .main-footer {
    position: sticky;
    bottom: 0;
  }



  .fab-dev {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .fab-dev:hover {
    background-color: #0056b3;
  }


  #btn-back-to-top {
    position: fixed;
    bottom: 120px;
    right: 25px;
    display: none;
    background-color: #066617;
    border-color: #066617;
    color: white;
    align-items: center;
    justify-content: center;
    animation: upDown 2s infinite alternate-reverse;
  }

  .cursor-pointer{

    cursor: pointer;
  }



  /* ANIMATION */

  @keyframes upDown {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(5mm);
      /* Moves down by 5mm */
    }
  }


  @keyframes transitionForward{

    from {
      opacity: 0;
      transform: scale(0);

    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }


  @keyframes transitionLeft{

    from {
      opacity: 0;
      transform: translateX(-220px);

    }

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

  
  @keyframes transitionRight{

    from {
      opacity: 0;
      transform: translateX(-220px);

    }

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

  @keyframes blink {
    0% { transform: scale(1.2); }
    50% { transform: scale(1); }
    100% { transform: scale(1.2); }
  }


  
  @media (min-width: 768px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .dev-preloader-container{
        transition: margin-left .3s ease-in-out;
        margin-left: 100px;
    }
}

  body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .dev-preloader-container{
    left: 4.6rem;
  }

/* Swap Schedule Functionality Styles */
.swap-selectable {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.swap-selectable:hover {
    border-color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
    transform: scale(1.02);
}

.selected-for-swap {
    border: 3px solid #ffc107 !important;
    background-color: rgba(255, 193, 7, 0.2) !important;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    transform: scale(1.05);
}

.day-slot.fetched {
    position: relative;
}

.day-slot.fetched::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    transition: all 0.3s ease;
}

.swap-selectable:hover::before {
    background: rgba(255, 193, 7, 0.1);
}

.selected-for-swap::before {
    background: rgba(255, 193, 7, 0.2);
}

/* Swap mode indicator */
.swap-mode-active {
    background-color: #fff3cd !important;
    border-color: #ffeaa7 !important;
}

/* Button states for swap mode */
#toggle-swap-mode.btn-warning {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Disabled Automate Schedule Button Styles */
#automate-schedule:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}



#automate-schedule.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

#automate-schedule.btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

/* Disabled Swap Schedule Button Styles */
#toggle-swap-mode:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#toggle-swap-mode.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

#toggle-swap-mode.btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

/* Disabled Plotting Tab Styles */
#ploting-tab.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#ploting-tab.disabled:hover {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
}
