/**
* Template Name: Bocor
* Template URL: https://bootstrapmade.com/bocor-bootstrap-templatfe-nice-animation/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Archivo",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Archivo",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #d3d3d3; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #041399; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #041399; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
 --accent-color-light: #737ee4;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #e7f4ff;  /* The default color of the main navmenu links */
  --nav-hover-color: #1b2aaf; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1b2aaf; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f5f9fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #2b7ec7;
  --default-color: #ffffff;
  --heading-color: #041399;
  --surface-color: #315575;
  --contrast-color: #00eeff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

p{

  opacity: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
  
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--accent-color-light);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 70px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 30px;
  font-weight: 700;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  margin: 0 0 0 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 19, 153, 0.3);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 8px 18px;
    font-size: 14px;
  }

  .header .navmenu {
    order: 3;
  }

  .logout-btn,
  .login-nav-btn,
  .warehouse-nav-btn {
    margin-top: 10px;
    padding: 8px 18px;
    font-size: 14px;
  }
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(34, 59, 81, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    font-family: "Outfit";
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
 .navmenu {
    
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 20px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a button {
    padding: 10px 20px;
    margin-top:15px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }
 .mobile-nav-active .navmenu ul {
        display: block !important;
    }
  .navmenu ul {
        display: none !important; 
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin-top: 15px;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }
    

  .navmenu a,
  .navmenu a:focus button {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
   
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i button {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul button {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  background: url("../img/footer-bg.jpg") center center no-repeat;
  background-size: cover;
  font-size: 14px;
  text-align: center;
  padding: 60px 0 30px 0;
  position: relative;
}

.footer:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
}

.footer .container {
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 160px 0 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0px 20px;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color:var(--background-color) ;
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 67px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}


.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.hero p {
  color: var(--accent-color);
  margin: 5px 0 30px 0;
  font-size: 30px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 10px;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 25px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .img {
  border-radius: 8px;
  overflow: hidden;
}

.featured-services .img img {
  transition: 0.6s;
}

.featured-services .details {
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.featured-services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
}

.featured-services .details h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.featured-services .details p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.featured-services .service-item:hover .details h3 {
  color: var(--accent-color);
}

.featured-services .service-item:hover .details .icon {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.featured-services .service-item:hover .details .icon i {
  color: var(--accent-color);
}

.featured-services .service-item:hover .img img {
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features .features-item+.features-item {
  margin-top: 100px;
}

@media (max-width: 640px) {
  .features .features-item+.features-item {
    margin-top: 40px;
  }
}

.features .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.features .features-item ul {
  list-style: none;
  padding: 0;
}

.features .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.features .features-item ul li:last-child {
  padding-bottom: 0;
}

.features .features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .features-item p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 50px 30px;
  margin-top: 36px;
  transition: all ease-in-out 0.3s;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  text-align: center;
}

.services .service-item .icon {
  background: var(--accent-color);
  color: var(--contrast-color);
  margin: 0;
  width: 72px;
  height: 72px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
  border: 6px solid var(--background-color);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  background: var(--background-color);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 5px;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a {
  transition: color 0.3s;
  color: var(--heading-color);
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a i {
  line-height: 0;
}

.team .team-member .social a:hover {
  color: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .team-member .member-info {
  padding: 25px 15px;
  text-align: center;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--background-color);
  padding: 60px 40px;
  height: 100%;
  border-radius: 5px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 400;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  border-top-color: var(--accent-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
  margin: 20px 0;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.faq .faq-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}

.faq .faq-item h4 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

.faq .faq-item p {
  font-size: 15px;
}

.faq .faq-item:first-child {
  padding-top: 0;
  margin-top: 0;
}

.faq .faq-item:last-child {
  border: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 23px 40px 30px 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.section-hero{
  background-image: url('/../assets/img/industrial.jpg') ;
  background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0;
    width: 100%;
    min-height: 100vh;
    object-fit: contain;
  text-align: center;
    overflow: hidden;
    
     
}
.text-stroke {
  text-shadow: 1px 2px 4px rgba(255, 255, 255, 0.3);
  -webkit-text-stroke: .3px white;
}
.text-stroke-light{
    -webkit-text-stroke: .5px white;
}
.text-stroke-p {
  -webkit-text-stroke: 0px white; /* Border color and thickness */
  color: white; /* Text fill color */
  text-shadow: 1px 2px 4px rgb(0, 0, 0);
}
.text-stroke-s {
 
  text-shadow: 1px 1px 3px rgb(0, 0, 0, 0);
}
.text-stroke-n {
 
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
.text-stroke-d {
  color:#000000;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  
}

.text-contact{
  padding: 15px;
  margin:15px;
  font-size: small;
}

.text-balanza{
font-size: larger;
font-weight: bolder;
}

.hero-img {
align-self: center;
position: relative;
}

/* Styles for the FAQ collapsible items */
.faq-item .question-container {
  padding: 15px;
  background-color: #22daf3;
  border-radius: 5px;
  transition: all 0.3s ease;
  content: justify;
}

.faq-item .question-container:hover {
  background-color: #7bfffb;
}

.answer-content {
  padding: 15px;
  background-color: #ffffff;
  border-radius: 5px;
}

/* Animation for the arrow when expanded */
[aria-expanded="true"] .bi-arrow-down-square {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

[aria-expanded="false"] .bi-arrow-down-square {
  transition: transform 0.3s ease;
}

@media (min-width: 1400px) {
  .section-hero{
    background-image: url('/../assets/img/industrial.png') ; /* Image for large screens */
    background-size: cover; /* Ensure the image covers the container */
  }
}

.cardspecial{
 

  padding-bottom: 25px;
}
.cardtitle{
   -webkit-text-stroke: 1px white;
}


.carousel {
  position: relative;
  size: 80%;
}

.carousel.pointer-event {
  touch-action: pan-y;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
 
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
  transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
  transform: translateX(-100%);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  z-index: 1;
  opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-fade .active.carousel-item-start,
  .carousel-fade .active.carousel-item-end {
    transition: none;
  }
}
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #000;
  text-align: center;
  background: none;
  border: 0;
  opacity: 1;
  transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev,
  .carousel-control-next {
    transition: none;
  }
}
.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #000;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}

/* rtl:options: {
  "autoRename": true,
  "stringMap":[ {
    "name"    : "prev-next",
    "search"  : "prev",
    "replace" : "next"
  } ]
} */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-indicators {
  position: center;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-indicators [data-bs-target] {
    transition: none;
  }
}
.carousel-indicators .active {
  opacity: 1;
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 1.25rem;
  left: 15%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: center;
}

.carousel-dark .carousel-control-prev-icon,
.carousel-dark .carousel-control-next-icon {
  filter: invert(1) grayscale(100);
}

.carousel-dark .carousel-indicators [data-bs-target] {
  background-color: #000;
}

.carousel-dark .carousel-caption {
  color: #000;
}

.card-body {
  flex: 2 2 auto;}
.image-container {
  display: flex;
  justify-content: center;
}

 .heroimage1{
    width: 100%; 
    height: auto;
    align-items: center;
  aspect-ratio: 1 / 1; 
  object-fit: contain;
   
  }
  .heroimage2{
     width: 100%; 
    height: auto;
  aspect-ratio: 1 / 1; 
  object-fit: contain;
  
  
}
  .heroimage3{
    width: 100%; 
    height: auto;
  object-fit: contain;
  
  }
.serviceimg
{
    height: 100vh;
    width: 100vw;
}
.crimson-text-semibold {
  font-family: "Crimson Text", serif;
  font-weight: 600;
  font-style: normal;
}

.crimson-text-bold {
  font-family: "Crimson Text", serif;
  font-weight: 700;
  font-style: normal;
}

.crimson-text-regular-italic {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: italic;
}

.crimson-text-semibold-italic {
  font-family: "Crimson Text", serif;
  font-weight: 600;
  font-style: italic;
}

.crimson-text-bold-italic {
  font-family: "Crimson Text", serif;
  font-weight: 700;
  font-style: italic;
}

.i {
  flex-shrink: 0;
  font-size: 25px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}
.lexend-deca {
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.swiper-slide a:hover img {
  transform: scale(1.05);
}
.divcar{
  width: 40%;
}

.service-content{
  padding-left: 5%;
  padding-right: 5%;
}
.service-title{
  padding-left: 3%;
  padding-right: 5%;
}
.contenido{
  margin-left: 5%;
}


.index-nav-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
    color: white !important;
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(4, 19, 153, 0.25);
    position: relative;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    white-space: nowrap;
}

.index-nav-btn:hover {
    background: linear-gradient(135deg, #5a64c7, #030f7a);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(4, 19, 153, 0.35);
    color: white !important;
}


.index-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.index-nav-btn:hover::before {
    left: 100%;
}

.navmenu ul li .index-nav-btn {
    display: inline-flex;
    align-items: center;
}

.tabs {
    display: flex;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-bottom: 2px solid #dee2e6;
    flex-wrap: wrap;
    padding: 0;
}

.tab {
    flex: 1;
    padding: 18px 25px;
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    font-weight: 500;
    color: #495057;
    position: relative;
    overflow: hidden;
}

.tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.tab:hover::before {
    left: 100%;
}

.tab:hover {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    transform: translateY(-2px);
}

.tab.active {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.tab-content {
    display: none;

    padding: 40px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    min-height: 70vh;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    display: inline-block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #34495e;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

input, select, textarea {
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

input:hover, select:hover, textarea:hover {
    border-color: #bdc3c7;
}

textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.btn {
    background: linear-gradient(135deg, #bed6e7, #729ebb);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.alert {
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-weight: 500;
    animation: slideIn 0.5s ease-out;
   
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #c3e6cb;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-left: 4px solid #dc3545;
     position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999; /* Highest z-index to float above everything */
    max-width: 400px;
    width: calc(100% - 40px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
}

/* Navigation Integration Styles */
.warehouse-nav-btn {
    background: linear-gradient(135deg, #00A7B5, #0ea2bd);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 167, 181, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.warehouse-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.warehouse-nav-btn:hover::before {
    left: 100%;
}

.warehouse-nav-btn:hover {
    background: linear-gradient(135deg, #0ea2bd, #008C95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 167, 181, 0.4);
}

.warehouse-nav-btn i {
    font-size: 16px;
}

.header2 {
    background-color: color-mix(in srgb, #007aff, transparent 25%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: 70px;
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0, 122, 255, 0.1);
}

.header2 .logo img {
   max-height: 70px;
  margin-right: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.header2 .nav-link i {
    font-size: 24px !important;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

@media (min-width: 1200px) {
    .header2 .nav-link {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        font-size: 16px;
        font-weight: 500;
        color: #ffffff;
        transition: all 0.3s ease;
        border-radius: 8px;
    }
    
    .header2 .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
        transform: translateY(-2px);
    }
}

.header2 .index-nav-btn {
    padding: 10px 24px !important;
    font-size: 15px !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 10px !important;
}

.mobile-nav-toggle {
    font-size: 32px !important;
    padding: 8px;
    color: #ffffff;
    background: none;
    border: none;
    display: none;
}

@media (max-width: 1199px) {
    .mobile-nav-toggle {
        display: block !important;
    }
    
    .header2 .navmenu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        transition: left 0.3s ease;
        z-index: 1029;
        overflow-y: auto;
        padding: 20px;
    }
    
    .mobile-nav-active .navmenu {
        left: 0;
    }
    
    .header2 .navmenu ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin: 0;
        list-style: none;
        background: white;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .header2 .nav-item {
        width: 100%;
        margin: 8px 0;
    }
    
    .header2 .nav-link {
        display: flex !important;
        align-items: center;
        gap: 15px;
        padding: 18px 24px !important;
        border-radius: 12px;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        color: #2d3748;
        text-decoration: none;
        font-weight: 600;
        font-size: 18px !important;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        width: 100%;
        min-height: 60px;
    }
    
    .header2 .nav-link:active,
    .header2 .nav-link:hover {
        background: linear-gradient(135deg, #007aff 0%, #0066cc 100%);
        color: white !important;
        border-color: #007aff;
        transform: translateX(10px);
    }
    
    .header2 .nav-link i {
        font-size: 28px !important;
        min-width: 35px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: inherit;
    }
    
    .header2 .nav-form {
        width: 100%;
        display: block !important;
        margin: 10px 0 !important;
    }
    
    .header2 .index-nav-btn,
    .header2 .logout-btn,
    .header2 .login-nav-btn,
    .header2 .warehouse-nav-btn {
        width: 100%;
        padding: 14px 24px !important;
        font-size: 16px !important;
        min-height: 52px;
        justify-content: center;
        margin: 8px 0 !important;
        border-radius: 12px;
        gap: 10px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .header2 .nav-link,
    .header2 .index-nav-btn,
    .header2 .logout-btn,
    .header2 .login-nav-btn,
    .header2 .warehouse-nav-btn,
    .header .btn-getstarted {
        min-height: 48px;
    }
}

.header2.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 122, 255, 0.15);
}

.header2 .nav-link:focus-visible,
.header2 .index-nav-btn:focus-visible {
    outline: 3px solid rgba(0, 122, 255, 0.5);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .header2 .nav-link {
        border: 1px solid currentColor;
    }
    
    .header2 .nav-link:hover {
        border-width: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header2 .nav-link,
    .header2 .navmenu,
    .header2 .index-nav-btn {
        transition: none !important;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        
        border-radius: 8px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        min-width: auto;
        text-align: center;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px 0 10px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .tab-content h2 {
        font-size: 1.5rem;
    }
}



.login-nav-btn, .logout-btn {
    background: linear-gradient(135deg, #818add 0%, #041399 100%);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(4, 19, 153, 0.25);
}

.login-nav-btn:hover, .logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(4, 19, 153, 0.35);
    background: linear-gradient(135deg, #6a72c7 0%, #030f7a 100%);
}

.login-nav-btn i, .logout-btn i {
    font-size: 16px;
}

.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.auth-card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.auth-modal.active .auth-card {
  transform: translateY(0);
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #333;
}

.form-container.hidden {
  display: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  color: #666;
}

.form-footer a {
  color: #007bff;
  text-decoration: underline;
  font-weight: 500;
}

.message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.message.error {
  background-color: #ffebee;
  color: var(--bs-red);;
}

.message.success {
  background-color: #e8f5e9;
  color:var(--bs-green);
}

 .mobile-spacing{
  margin-top: 15px;
 }
 
 


.stat-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.status-item {
    transition: transform 0.3s ease;
}

.status-item:hover {
    transform: scale(1.05);
}

.table th.sortable {
    cursor: pointer;
    user-select: none;
}

.table th.sortable:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.no-data {
    padding: 2rem;
}

.pagination-info {
    color: #6c757d;
    font-size: 0.875rem;
}

.activity-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.activity-item:last-child {
    border-bottom: none;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 1.5rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn-group .btn {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
}
 
.tabmenu{
  margin-top: 7%;
  margin-left: 2%;
  margin-right: 2%;
}
.tab-container {
    display: flex;
   
    justify-content: flex-start;
    padding: 0 2% 0 2%;
    flex-wrap: wrap;
}

.tab-btn {
    background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--background-color), transparent 20%) 100%);
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    border-radius: 25px;
    margin: 1%;
    padding:  12px 24px ;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: var(--nav-font);
    color: var(--default-color);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(4, 19, 153, 0.2);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 90%) 100%);
    color: var(--heading-color);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-light) 100%);
    color: var(--contrast-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(4, 19, 153, 0.4);
    border-color: var(--accent-color);
}

.tab-btn.active:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), black 10%) 0%, var(--accent-color) 100%);
    box-shadow: 0 8px 25px rgba(4, 19, 153, 0.5);
}

.tab-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.tab-btn:hover i {
    transform: scale(1.1);
}

.tab-btn.active i {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.tab-btn span {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Tab Content Area */
.tab-content-area {
    margin-top: 20px;
}

.tab-content {
    display: none;
    padding: 30px;
    background: linear-gradient(145deg, var(--surface-color), color-mix(in srgb, var(--background-color), transparent 50%));
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tab-container {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 10px;
    }
    
    .tab-navigation {
  
      padding: 15px;
        margin-bottom: 15px;
    }
    
    .tab-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 140px;
    }
    
    .tab-btn span {
        font-size: 14px;
    }
    
    .tab-btn i {
        font-size: 16px;
    }
}

/* Integration with existing navigation styles */
.navmenu .tab-navigation {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.navmenu .tab-container {
    gap: 10px;
}

.navmenu .tab-btn {
    padding: 8px 16px;
    font-size: 14px;
    min-width: auto;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* Loading animation for tab content */
.tab-content-loading {
    position: relative;
    min-height: 200px;
}

.tab-content-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Enhanced focus states for accessibility */
.tab-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.tab-btn:focus:not(:focus-visible) {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .tab-btn {
        border-width: 2px;
    }
    
    .tab-btn.active {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .tab-btn,
    .tab-btn::before,
    .tab-btn i,
    .tab-content {
        transition: none;
        animation: none;
    }
    
    .tab-btn:hover {
        transform: none;
    }
    
    .tab-btn.active {
        transform: none;
    }
}

.tab-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}


.floating-alert {
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    min-width: 300px;
    position: relative;
    backdrop-filter: blur(10px);
    border-left: 4px solid transparent;
}

/* Alert Types */
.floating-alert.alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-left-color: #1e7e34;
}

.floating-alert.alert-danger {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    border-left-color: #bd2130;
}

.floating-alert.alert-warning {
    background: linear-gradient(135deg, #ffc107, #f39c12);
    border-left-color: #d39e00;
}

.floating-alert.alert-info {
    background: linear-gradient(135deg, #17a2b8, #3498db);
    border-left-color: #117a8b;
}

.floating-alert.alert-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-left-color: #004085;
}

/* Alert Content */
.alert-content {
    display: flex;
    align-items: center;
}

.alert-icon {
    margin-right: 10px;
    font-size: 16px;
}

.alert-message {
    font-weight: 500;
}

/* Close Button */
.alert-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.alert-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Styles */
@media (max-width: 480px) {
    #alert-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .floating-alert {
        min-width: auto;
    }
}

#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    pointer-events: none;
}





.model-type-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: white;
    border-radius: 0.375rem;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.model-type-item:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.model-type-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form-check {
    flex: 1;
    margin-bottom: 0;
}

.quantity-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
}

.quantity-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0;
}

.quantity-input {
    width: 70px;
    text-align: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.quantity-input:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.quantity-input:enabled {
    background-color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.15);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .model-type-info {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .quantity-input-container {
        margin-left: 1.75rem;
        margin-top: 0.5rem;
    }
}


.model-types-container {
    position: relative;
}

.model-types-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.model-type-item {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    background-color: white;
    border-radius: 0.25rem;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.model-type-item:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.model-type-item:last-child {
    margin-bottom: 0;
}

.model-type-checkbox {
    cursor: pointer;
}

.model-type-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.model-type-details {
    flex: 1;
}

.model-type-name {
    font-weight: 500;
    color: #212529;
    margin-bottom: 0.25rem;
}

.model-type-meta {
    font-size: 0.875rem;
    color: #6c757d;
}

.model-types-list::-webkit-scrollbar {
    width: 6px;
}

.model-types-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.model-types-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.model-types-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.selected-models-display {
    padding: 0.5rem;
    background-color: #e7f3ff;
    border-radius: 0.25rem;
    border: 1px solid #b6d4fe;
}

.btn-ppm {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-ppm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-ppm:hover::before {
    left: 100%;
}

.btn-ppm:hover {
    background: linear-gradient(135deg, #66BB6A 0%, #388E3C 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    color: white;
}

.btn-ppm:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.btn-ppm span {
    position: relative;
    z-index: 1;
}

.btn-ppm i {
    transition: transform 0.3s ease;
}

.btn-ppm:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* PPM Modal Header Gradient */
.bg-gradient-ppm {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

/* Price Display Styles */
.price-display {
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-display:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Value Card Styles */
.value-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #4CAF50;
    position: relative;
}

.value-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.value-card .rank-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA000);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
}
#model_id_display {
    font-family: 'Archivo', monospace;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#model_id_display.badge-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

#model_id_display.badge-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
}

/* Pulse animation for new model */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.alert-info #model_id_display {
    animation: pulse 2s infinite;
}


/* Model ID Display Styles */
#model_id_display {
    font-family: 'Archivo', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-body .alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.modal-body .alert-info .bi-info-circle-fill {
    font-size: 1.1rem;
    color: #0c5460;
}


.btn-alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.btn-alert-info:hover {
    background-color: #b8e0e9;
    border-color: #9fd4e3;
    color: #0a4a3f;
}

.btn-alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.btn-alert-danger:hover {
    background-color: #f5c2c7;
    border-color: #f1b0b7;
    color: #5a151b;
}

.pagination {
    margin-bottom: 0;
}

.pagination .page-link {
    color: var(--accent-color);
    border-color: #dee2e6;
    padding: 0.375rem 0.75rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pagination .page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-info {
    display: flex;
    align-items: center;
    height: 100%;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Responsive pagination */
@media (max-width: 576px) {
    .pagination .page-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .pagination-info {
        font-size: 0.75rem;
        text-align: center;
        margin-bottom: 10px;
    }
}

@keyframes spinner-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner-rotate {
    animation: spinner-rotate 1s linear infinite;
}

.model-types-container {
    position: relative;
}

.model-types-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
}

.manufacturer-group {
    margin-bottom: 1.5rem;
}

.manufacturer-group h6 {
    color: #6c757d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.model-type-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: white;
    border-radius: 0.375rem;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.model-type-item:hover {
    background-color: #f8f9fa;
    border-color: #0d6efd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.model-type-checkbox:checked ~ label .model-type-name {
    color: #0d6efd;
}

.quantity-input:enabled {
    background-color: #e7f3ff;
    border-color: #0d6efd;
}

.model-search-input {
    border: 2px solid #e9ecef;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.model-search-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}
/* ============================================
   SETTINGS PAGE - REDESIGNED CARDS
   ============================================ */
.settings-container {
    margin-top: 100px;
    padding: 30px 20px;
    min-height: calc(100vh - 100px);
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f5f9fc 100%);
}

.settings-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(43, 126, 199, 0.08),
                0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(43, 126, 199, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.settings-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db 0%, #2b7ec7 50%, #5dade2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(43, 126, 199, 0.15),
                0 8px 25px rgba(0, 0, 0, 0.08);
}

.settings-card:hover::before {
    opacity: 1;
}

.settings-header {
    background: linear-gradient(135deg, #2b7ec7 0%, #3498db 50%, #5dade2 100%);
    color: white;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.settings-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.settings-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.settings-header h4 {
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.settings-header h4 i {
    font-size: 1.3rem;
    margin-right: 12px;
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.settings-body {
    padding: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.settings-body p {
    color: #5a6a7a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Action Buttons - Redesigned */
.action-btn {
    margin: 6px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-btn:active {
    transform: translateY(-1px);
}

/* Primary Action Button */
.action-btn.btn-primary {
    background: linear-gradient(135deg, #2b7ec7 0%, #3498db 100%);
    box-shadow: 0 4px 15px rgba(43, 126, 199, 0.3);
}

.action-btn.btn-primary:hover {
    background: linear-gradient(135deg, #2472b3 0%, #2e86c7 100%);
    box-shadow: 0 8px 25px rgba(43, 126, 199, 0.4);
}

/* Secondary Action Button */
.action-btn.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.25);
}

.action-btn.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6a7a 0%, #8494a4 100%);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.35);
}

/* Success Action Button */
.action-btn.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.action-btn.btn-success:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

/* Info Action Button */
.action-btn.btn-info {
    background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.action-btn.btn-info:hover {
    background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.4);
}

/* Profile Info Display */
.settings-body .profile-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(43, 126, 199, 0.1);
}

.settings-body .profile-info h5 {
    color: #1e3a5f;
    font-weight: 600;
    margin-bottom: 16px;
}

.settings-body .profile-info .mb-2 {
    padding: 8px 0;
    border-bottom: 1px solid rgba(43, 126, 199, 0.06);
}

.settings-body .profile-info .mb-2:last-child {
    border-bottom: none;
}

.settings-body .profile-info i {
    color: #2b7ec7;
    width: 20px;
}

/* Settings Page Title */
.settings-container h1.display-5 {
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 8px;
}

.settings-container h1.display-5 i {
    color: #2b7ec7;
}

.settings-container .text-muted {
    color: #64748b !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .settings-container {
        padding: 20px 15px;
    }

    .settings-card {
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .settings-header {
        padding: 20px;
    }

    .settings-body {
        padding: 20px;
    }

    .action-btn {
        width: 100%;
        margin: 6px 0;
    }
}


  .profile-container {
            margin-top: 100px;
            padding: 20px;
            background-color: #f8f9fa;
            min-height: calc(100vh - 100px);
        }
        
        .profile-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-bottom: 30px;
            transition: transform 0.3s ease;
        }
        
        .profile-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .profile-header {
            background: linear-gradient(135deg, #041399 0%, #737ee4 100%);
            color: white;
            padding: 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .profile-header::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(0.8); opacity: 0.5; }
            50% { transform: scale(1.2); opacity: 0.8; }
        }
        
        .profile-body {
            padding: 40px;
        }
        
        .form-floating label {
            color: #6c757d;
        }
        
        .form-floating input:focus ~ label,
        .form-floating input:not(:placeholder-shown) ~ label {
            color: #041399;
        }
        
        .form-control:focus {
            border-color: #737ee4;
            box-shadow: 0 0 0 0.2rem rgba(115, 126, 228, 0.25);
        }
        
      
        .progress-indicator {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }
        
        .progress-step {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e9ecef;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 10px;
            position: relative;
            font-weight: bold;
            color: #6c757d;
            transition: all 0.3s ease;
        }
        
        .progress-step.active {
            background: #041399;
            color: white;
            transform: scale(1.1);
        }
        
        .progress-step.completed {
            background: #28a745;
            color: white;
        }
        
        .progress-step.completed::after {
            content: '✓';
            position: absolute;
            font-size: 20px;
        }
        
        .alert {
            border-radius: 10px;
            border: none;
            animation: slideIn 0.3s ease;
        }
        
        @keyframes slideIn {
            from {
                transform: translateY(-20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .profile-info-card {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            background: white;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .info-item:hover {
            transform: translateX(5px);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .info-item i {
            font-size: 20px;
            margin-right: 15px;
            color: #041399;
            width: 30px;
            text-align: center;
        }
        
        .info-label {
            font-weight: 600;
            color: #6c757d;
            min-width: 120px;
        }
        
        .info-value {
            color: #212529;
        }
        
        .phone-input-group {
            display: flex;
            gap: 10px;
        }
        
        .phone-input-group .form-floating:first-child {
            flex: 0 0 30%;
        }
        
        .phone-input-group .form-floating:last-child {
            flex: 1;
        }

        /* Alert slide-in animation */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced form validation styles */
.form-control:invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-control:valid {
    border-color: #198754;
    padding-right: calc(1.5em + .75rem);
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

#editClientModal .modal-header {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

#editClientModal .modal-header .btn-close {
    filter: brightness(0.8);
}

#editClientModal .form-control:focus,
#editClientModal .form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Loading state for edit button */
.btn-outline-primary.loading {
    position: relative;
    color: transparent;
}

.btn-outline-primary.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Smooth modal transitions */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

#editClientModal.show .modal-dialog {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translate(0, -50px);
        opacity: 0;
    }
    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

#deleteConfirmModal .modal-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

#deleteConfirmModal .modal-content {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#deleteConfirmModal .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    transition: all 0.3s ease;
}

#deleteConfirmModal .btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

#deleteConfirmModal .alert-warning {
    border-left: 4px solid #ffc107;
    background-color: #fff3cd;
    border-radius: 4px;
}

/* Animation for the warning icon */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

#deleteConfirmModal .bi-person-x-fill {
    animation: shake 0.5s ease-in-out;
}

/* Loading state for delete button */
#confirmDeleteBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* styles.css */
.price-input-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.price-input-container h4 {
    color: #2c3e50;
    font-weight: 600;
}

.input-group-text {
    background-color: #28a745;
    color: white;
    border: none;
}

#priceInput:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.btn-primary {
    background-color: #007bff;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.alert-success {
    border-radius: 10px;
    animation: slideIn 0.5s ease-out;
}

.alert-danger {
    border-radius: 10px;
    animation: shake 0.5s;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.percentage-input {
  font-size: 1.2rem;
  font-weight: 500;
}

.percentage-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.modal-content {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate__fadeInDown {
  animation: fadeInDown 0.5s ease-out;
}

.card.bg-light {
  background-color: #f8f9fa !important;
  border: 1px solid #dee2e6;
}

   .modal-header.bg-gradient-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-light) 100%);
}

#editProfileModal .modal-content {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#editProfileModal .modal-header {
    border-bottom: none;
    padding: 1.5rem;
}

#editProfileModal .modal-body {
    padding: 2rem;
}

#editProfileModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.25rem 2rem;
}

/* Form Floating Labels Enhanced */
#editProfileModal .form-floating > .form-control {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

#editProfileModal .form-floating > .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 19, 153, 0.25);
}

#editProfileModal .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

#editProfileModal .form-floating > label {
    padding: 1rem 0.75rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

#editProfileModal .form-floating > .form-control:focus ~ label,
#editProfileModal .form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 0.85;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: var(--accent-color);
}

/* Validation States */
#editProfileModal .form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

#editProfileModal .form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Profile Completion Progress */
.profile-completion .progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.profile-completion .progress-bar {
    transition: width 0.6s ease;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-light) 100%);
}

/* Profile Preview */
.profile-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.profile-preview:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Animated Loading State for Button */
#save-profile-btn.loading {
    position: relative;
    color: transparent;
}

#save-profile-btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s linear infinite;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Modal Animation */
#editProfileModal.show .modal-dialog {
    animation: modal-slide-in 0.3s ease-out;
}

@keyframes modal-slide-in {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #editProfileModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #editProfileModal .modal-body {
        padding: 1rem;
    }
    
    #editProfileModal .row {
        margin: 0;
    }
    
    #editProfileModal .col-md-6 {
        padding: 0;
    }
}

.table {
    font-size: 0.875rem;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.table thead th.sortable:hover {
    background-color: #f3f4f6;
}

.table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.table tbody tr:hover {
    background-color: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Substrate Badge Styles */
.substrate-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.substrate-ceramic {
    background-color: #dbeafe;
    color: #1e40af;
}

.substrate-metallic {
    background-color: #fef3c7;
    color: #92400e;
}

.substrate-mixed {
    background-color: #e5e7eb;
    color: #374151;
}

.substrate-dpf {
    background-color: #dcfce7;
    color: #166534;
}

/* Action Button Styles */
.action-buttons {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
}

.btn-action {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-action-view {
    background-color: #eff6ff;
    color: #2563eb;
}

.btn-action-view:hover {
    background-color: #2563eb;
    color: white;
}

.btn-action-edit {
    background-color: #fffbeb;
    color: #d97706;
}

.btn-action-edit:hover {
    background-color: #f59e0b;
    color: white;
}

.btn-action-delete {
    background-color: #fef2f2;
    color: #dc2626;
}

.btn-action-delete:hover {
    background-color: #ef4444;
    color: white;
}

/* Price Display */
.price-display {
    font-weight: 600;
    color: #059669;
}

/* Quantity Badge */
.quantity-badge {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
}

.quantity-low {
    background-color: #fef2f2;
    color: #dc2626;
}

/* Empty State */
.empty-state {
    padding: 3rem 1rem;
}

.empty-state-icon {
    opacity: 0.3;
}

/* Sort Indicators */
.sortable.sort-asc .bi-arrow-down-up::before {
    content: "\F128";
    color: #4F46E5;
}

.sortable.sort-desc .bi-arrow-down-up::before {
    content: "\F122";
    color: #4F46E5;
}

/* Responsive */
@media (max-width: 768px) {
    .card-header .row {
        gap: 1rem;
    }
    
    .table {
        font-size: 0.8125rem;
    }
    
    .btn-action {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   NORTHERN MODAL - REDESIGNED WITH LIGHT BLUE THEME
   ============================================ */
.northern-modal {
    border: 0;
    box-shadow: 0 25px 80px rgba(43, 126, 199, 0.15),
                0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(43, 126, 199, 0.08);
}

/* Modal Header */
.northern-modal-header {
    background: linear-gradient(135deg, #2b7ec7 0%, #3498db 50%, #5dade2 100%);
    border: 0;
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
}

.northern-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.northern-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

.northern-modal-header .modal-title {
    letter-spacing: 0.3px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Icon Circle */
.icon-circle {
    background: rgba(255, 255, 255, 0.2);
    padding: 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: iconPulse 2s infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes iconPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.modal-icon {
    font-size: 1.4rem;
}

/* Modal Body */
.northern-modal-body {
    padding: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

/* Info Badge */
.info-badge {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-radius: 14px;
    border: 1px solid rgba(43, 126, 199, 0.08);
}

.info-badge i {
    color: #2b7ec7;
}

/* Northern Style Input Fields */
.northern-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fafcff;
}

.northern-input:focus {
    border-color: #3498db;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.12);
}

.northern-input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Form Floating Labels */
.form-floating > label {
    padding: 1rem 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.form-floating > .northern-input:focus ~ label,
.form-floating > .northern-input:not(:placeholder-shown) ~ label {
    opacity: .9;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    color: #2b7ec7;
}

/* Modal Footer */
.northern-modal-footer {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 0;
    border-top: 1px solid rgba(43, 126, 199, 0.06);
    padding: 1.5rem 2rem;
}

/* Buttons */
.northern-btn-cancel {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.northern-btn-cancel:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.northern-btn-submit {
    background: linear-gradient(135deg, #2b7ec7 0%, #3498db 100%);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(43, 126, 199, 0.25);
    position: relative;
    overflow: hidden;
}

.northern-btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.northern-btn-submit:hover::before {
    left: 100%;
}

.northern-btn-submit:hover {
    background: linear-gradient(135deg, #2472b3 0%, #2e86c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 126, 199, 0.35);
}

.northern-btn-submit:active {
    transform: translateY(0);
}

/* Animation for modal */
.modal.fade .modal-dialog {
    transition: transform 0.4s ease-out;
    transform: translateY(-50px);
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

/* Icon circle animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .northern-modal-body {
        padding: 1.5rem;
    }
    
    .northern-modal-header,
    .northern-modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .northern-input {
        font-size: 0.9rem;
        padding: 0.65rem 0.9rem;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .northern-modal {
        background-color: #1a1a1a;
    }
    
    .northern-modal-body {
        color: #e0e0e0;
    }
    
    .northern-input {
        background-color: #2a2a2a;
        border-color: #3a3a3a;
        color: #e0e0e0;
    }
    
    .northern-input:focus {
        background-color: #2a2a2a;
        border-color: #8b9bff;
    }
    
    .info-badge {
        background: #2a2a3a;
    }
    
    .northern-modal-footer {
        background: #2a2a2a;
    }
}  .container-block {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        @media (max-width: 768px) {
            .container-block {
                padding: 15px;
                margin: 0 10px;
            }
        }
        
        @media (max-width: 480px) {
            .container-block {
                padding: 10px;
                margin: 0 5px;
            }
        }
        
        .filter-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .filter-section {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
        }
        
        .price-display {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent-color);
            font-family: 'Outfit', sans-serif;
        }
        
        .price-original {
            font-size: 1.2rem;
            text-decoration: line-through;
            color: #6c757d;
        }
        
        .price-calculated {
            color: #28a745;
        }
        
        .percentage-badge {
            background: var(--accent-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .catalog-card {
            transition: all 0.3s ease;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .catalog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .input-percentage {
            background-color: #f8f9fa;
            color: black;
            border: 2px solid #dee2e6;
            font-weight: 600;
        }
        
        .input-percentage:focus {
            background-color: white;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.2rem rgba(4, 19, 153, 0.25);
        }
        
        .section-header {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            padding: 2rem;
            margin-top: 10%;
            border-radius: 8px;
            margin-bottom: 2rem;
        }
        
        .control-panel {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

      .contact{
       align-content: center;
      }

      .lot-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.lot-item:hover {
    background-color: #f8f9fa;
    border-color: #0d6efd !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cursor-pointer {
    cursor: pointer;
}


.ppm-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.ppm-badge .bi {
    font-size: 0.8rem;
}

/* PPM Details in Table */
.ppm-details {
    font-size: 0.7rem;
    line-height: 1.2;
    margin-top: 0.25rem;
}

/* PPM Column */
.ppm-column {
    white-space: nowrap;
    min-width: 120px;
}

/* PPM Result Cards */
.ppm-result-card {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.ppm-result-card:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Table Responsive Enhancement */
@media (max-width: 1200px) {
    #lots-table {
        font-size: 0.875rem;
    }
    
    .ppm-details {
        font-size: 0.65rem;
    }
}

/* Action Buttons */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Modal Styles */
#lotPPMDetailModal .modal-body {
    padding: 1.5rem;
}

#lotPPMDetailModal .text-primary {
    color: #0d6efd !important;
}

/* Hover Effects */
tr:hover .ppm-badge {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Print Styles */
@media print {
    .ppm-column {
        background-color: #f8f9fa !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
#viewLotModal .modal-dialog {
    max-width: 1200px;
}

#viewLotModal .bg-light {
    transition: all 0.3s ease;
}

#viewLotModal .bg-light:hover {
    background-color: #e9ecef !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Delete Confirmation Modal */
#deleteLotModal .alert {
    margin-bottom: 1rem;
}

#delete-lot-info {
    font-size: 0.95rem;
}

/* Button Group Styles */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-group-sm .btn i {
    font-size: 0.875rem;
}

/* Ensure buttons stay together */
.btn-group {
    white-space: nowrap;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .bg-light {
        background-color: #f8f9fa !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.bg-gradient-ppm {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.table-primary td {
    background-color: rgba(13, 110, 253, 0.1);
}

.table-info td {
    background-color: rgba(13, 202, 240, 0.1);
}

.table-warning td {
    background-color: rgba(255, 193, 7, 0.1);
}

#analysis-table .btn-group .btn {
    border-radius: 4px;
    margin: 0 2px;
}

#analysis-table .badge {
    font-size: 0.875rem;
    font-weight: 500;
}

.progress {
    background-color: #e9ecef;
}

.price-display {
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.price-display:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.price-display .fs-4 {
    line-height: 1.2;
}

.price-display .fs-5 {
    line-height: 1.2;
}

.price-display small {
    font-size: 0.75rem;
}
.triple-selector {
    position: relative;
    display: inline-flex;
    background: #f0f0f0;
    border-radius: 25px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.triple-selector input[type="radio"] {
    display: none;
}

.triple-selector label {
    padding: 8px 24px;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
    z-index: 2;
    position: relative;
}

.triple-selector .slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(33.33% - 2.67px);
    height: calc(100% - 8px);
    background: #007bff;
    border-radius: 21px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.triple-selector input[type="radio"]:checked + label {
    color: white;
}

.triple-selector input[type="radio"]:nth-of-type(2):checked ~ .slider {
    transform: translateX(100%);
}

.triple-selector input[type="radio"]:nth-of-type(3):checked ~ .slider {
    transform: translateX(200%);
}
/* Units Section */
.units-section {
    display: none;
    animation: slideIn 0.3s ease;
}

.units-section.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#invoicePreviewModal .modal-dialog {
    max-width: 90%;
    height: 90vh;
}

#invoicePreviewModal .modal-body {
    overflow: hidden;
    background-color: #f8f9fa;
}

#invoice-preview-frame {
    background-color: white;
}

#pdf-loading {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Print styles */
@media print {
    .modal-header,
    .modal-footer {
        display: none !important;
    }
    
    .modal-body {
        padding: 0 !important;
    }
}

.price-calculation-info {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

 .model-item-wrapper {
                transition: all 0.3s ease;
                background-color: #fff;
            }
            
            .model-item-wrapper:hover {
                background-color: #f8f9fa;
            }
            
            .model-type-checkbox {
                width: 1.25rem;
                height: 1.25rem;
                cursor: pointer;
            }
            
            .model-type-checkbox:checked {
                background-color: #0d6efd;
                border-color: #0d6efd;
            }
            
            .model-type-checkbox:checked ~ .col .model-item-wrapper {
                background-color: #e7f3ff;
            }
            
            .cursor-pointer {
                cursor: pointer;
            }
            
            .quantity-wrapper {
                min-width: 120px;
            }
            
            .quantity-input {
                border-left: 0;
                border-right: 0;
            }
            
            .quantity-input:focus {
                box-shadow: none;
                border-color: #ced4da;
            }
            
            .input-group-sm .btn {
                padding: 0.25rem 0.5rem;
            }
            
            .model-type-checkbox:checked + label {
                color: #0d6efd;
            }
            
            .model-type-checkbox:checked ~ .col .quantity-wrapper button:not(:disabled),
            .model-type-checkbox:checked ~ .col .quantity-wrapper input:not(:disabled) {
                border-color: #0d6efd;
                color: #0d6efd;
            }
            
            .model-type-checkbox:checked ~ .col .quantity-wrapper button:not(:disabled):hover {
                background-color: #0d6efd;
                color: white;
            }
            
          
            
            .model-total-display {
                background-color: #f8f9fa;
                padding: 0.5rem;
                border-radius: 0.25rem;
            }
            
            .model-type-checkbox:checked ~ .col .model-total-display {
                display: block !important;
            }
.total-price-display {
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border-left: 3px solid #28a745;
}

.total-price-display strong {
    font-size: 1.1rem;
}

.price-calculation-info {
    font-size: 0.875rem;
    color: #6c757d;
}
.client-list-container,
.lot-list-container {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #f8f9fa;
}

.client-item {
    transition: all 0.2s ease;
}

.client-item:hover {
    background-color: #e7f3ff;
    transform: translateX(5px);
}

.client-item.active {
    background-color: #0d6efd;
    color: white;
}

.client-item.active .text-muted {
    color: #cfe2ff !important;
}

.lot-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.lot-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lot-item.border-primary {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#selected-client-info,
#lot-details-preview {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#invoicePreviewModal .modal-dialog {
    margin: 30px auto;
}

#invoicePreviewModal .modal-content {
    border-radius: 0.5rem;
    overflow: hidden;
}

#invoicePreviewModal iframe {
    background-color: #f8f9fa;
}

/* Loading animation */
#pdf-loading {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #invoicePreviewModal .modal-dialog {
        max-width: 95% !important;
        margin: 10px auto;
    }
    
    #invoicePreviewModal .modal-footer {
        flex-wrap: wrap;
    }
    
    #invoicePreviewModal .modal-footer button {
        margin: 0.25rem;
    }
}

/* Print styles */
@media print {
    .modal-header,
    .modal-footer {
        display: none !important;
    }
    
    .modal-body {
        padding: 0 !important;
        height: 100% !important;
    }
}

#lotDetailModal .modal-dialog {
    max-width: 1200px;
}

#lotDetailModal .card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

#lotDetailModal .card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#lotDetailModal .card-header {
    font-weight: 600;
}

#lotDetailModal .row.mb-2 {
    padding: 0.25rem 0;
    transition: background-color 0.2s ease;
}

#lotDetailModal .row.mb-2:hover {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

/* Units Table Styles */
#units-table {
    font-size: 0.9rem;
}

#units-table thead {
    background-color: #f8f9fa;
}

#units-table tfoot {
    background-color: #e9ecef;
}

/* Models List Styles */
#models-list .bg-light {
    transition: all 0.3s ease;
}

#models-list .bg-light:hover {
    background-color: #e9ecef !important;
    transform: translateX(5px);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #lotDetailModal .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    #units-table {
        font-size: 0.8rem;
    }
    
    #lotDetailModal .card-body {
        padding: 1rem;
    }
}

.model-total-display {
    background-color: #e7f3ff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.model-type-item.selected {
    background-color: #f0f8ff;
    border-color: #0d6efd;
}

.selected-models-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.price-calculation-info {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.price-calculation-info strong {
    color: #28a745;
}

/* Grand total display */
.bg-light.rounded {
    border: 1px solid #dee2e6;
}

#calculate-models-total-btn {
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

#calculate-models-total-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

#calculate-models-total-btn:active {
    transform: translateY(0);
}

#calculate-models-total-btn i {
    animation: rotate 0.5s ease;
}

#calculate-models-total-btn:hover i {
    animation: rotate 0.5s ease infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Lot checkbox item styles */
.lot-item-checkbox {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
}

.lot-item-checkbox:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.lot-item-checkbox.active {
    background-color: #e7f3ff;
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.lot-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

#selected-lots-display {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#selected-lots-list .badge {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Edit Invoice Modal Styles */
#editInvoiceModal .modal-header {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

#editInvoiceModal .form-control:focus,
#editInvoiceModal .form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Mark as Paid Modal Styles */
#markPaidModal .modal-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

#markPaidModal .form-control:focus,
#markPaidModal .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Payment info section animation */
#payment-info-section {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* PDF.js Canvas Styles */
#pdf-render-canvas {
    max-width: 100%;
    height: auto;
    background: white;
    display: block;
    margin: 0 auto;
}

#pdf-canvas-container {
    overflow: auto;
    height: 100%;
    background: #525659;
}

/* Loading animation */
#pdf-loading-state .spinner-border {
    border-width: 0.3em;
}

/* Button group styles */
.modal-header .btn-group .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #invoicePreviewModal .modal-header {
        flex-wrap: wrap;
    }
    
    #invoicePreviewModal .modal-header .d-flex:last-child {
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }
}

/* Import Progress Styles */
#import-results .alert {
    border-left: 4px solid;
}

.progress {
    background-color: #e9ecef;
}

.progress-bar {
    transition: width 0.6s ease;
}

/* Toast Styles */
#import-progress-toast .toast {
    min-width: 300px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#import-progress-toast .toast-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Alert Container */
#alerts-container .alert {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Import Modal Enhancements */
#importModelsModal .alert-info {
    border-left: 4px solid #0dcaf0;
}

#importModelsModal .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Simplified Models Display */
.models-summary {
    padding: 1rem;
}

.models-summary .card {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.models-summary .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.models-summary h3 {
    font-size: 2.5rem;
    font-weight: bold;
}

.models-list-container {
    margin-top: 1.5rem;
}

.models-list-container .list-group-item {
    border-left: 3px solid #0d6efd;
    transition: all 0.2s ease;
}

.models-list-container .list-group-item:hover {
    background-color: #f8f9fa;
    border-left-color: #0056b3;
}

.models-list-container .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

/* Empty state styling */
#lot-content-section .empty-state {
    padding: 2rem;
}

#lot-content-section .empty-state i {
    color: #6c757d;
    opacity: 0.5;
}
/* Profile Management Styles */
.profile-card {
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.profile-card.border-primary {
    background: #e7f3ff;
}

/* Profile Switcher */
.profile-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.profile-switcher .dropdown-menu {
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-switcher .dropdown-item {
    padding: 10px 15px;
    transition: all 0.2s ease;
}

.profile-switcher .dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.profile-switcher .dropdown-item.active {
    background-color: var(--accent-color);
    color: white;
}

/* Role-based Interface Styles */
body.role-admin {
    --role-primary: #dc3545;
    --role-accent: #f8d7da;
}

body.role-analyst {
    --role-primary: #ffc107;
    --role-accent: #fff3cd;
}

body.role-operator {
    --role-primary: #17a2b8;
    --role-accent: #d1ecf1;
}

body.role-customer {
    --role-primary: #6c757d;
    --role-accent: #e2e3e5;
}

/* Navigation based on role */
body.role-customer .navmenu,
body.role-customer .tab-navigation {
    display: none !important;
}

body.role-operator [data-permission="users.manage"],
body.role-operator [data-permission="models.manage"] {
    display: none !important;
}

/* Profile Modal Enhancements */
#profileManagementModal .modal-dialog {
    max-width: 1200px;
}

#profileManagementModal .profile-card {
    border-left: 4px solid transparent;
}

#profileManagementModal .profile-card:hover {
    border-left-color: var(--accent-color);
}

/* Role Badges */
.badge.bg-admin { background-color: #dc3545 !important; }
.badge.bg-analyst { background-color: #ffc107 !important; }
.badge.bg-operator { background-color: #17a2b8 !important; }
.badge.bg-customer { background-color: #6c757d !important; }

/* Profile Form */
#addProfileModal .form-control:focus,
#addProfileModal .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 19, 153, 0.25);
}

/* Animations */
@keyframes profileSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-card {
    animation: profileSlideIn 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-switcher {
        position: static;
        margin-top: 10px;
    }
    
    #profileManagementModal .row {
        flex-direction: column;
    }
    
    .profile-card .btn-group {
        margin-top: 10px;
    }
}

/* Loading States */
.profiles-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.profiles-loading::before {
    content: "";
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Permission-based visibility */
[data-role="admin"]:not(body.role-admin *) {
    display: none !important;
}

[data-role="analyst"]:not(body.role-admin *, body.role-analyst *) {
    display: none !important;
}

[data-role="operator"]:not(body.role-admin *, body.role-analyst *, body.role-operator *) {
    display: none !important;
}
/* Profile Management Styles */
#profile-management-section {
    margin-top: 3rem;
}

.permissions-group {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.permission-checkbox:disabled {
    opacity: 0.6;
}

#permissions-container {
    transition: all 0.3s ease;
}

.profile-card {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.profile-card:hover {
    border-left-color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Modal styling */
#profileModal .modal-header {
    background: linear-gradient(135deg, #041399 0%, #0066cc 100%);
    color: white;
}

#profileModal .card-header {
    background-color: #f8f9fa;
}

/* Permission checkboxes layout */
.permissions-group .form-check {
    padding: 5px 10px;
    margin: 2px 0;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.permissions-group .form-check:hover {
    background-color: #e9ecef;
}

#deleteInvoiceModal .modal-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

#delete-invoice-info {
    background: #f8f9fa;
    border-left: 4px solid #dc3545;
}

#delete-invoice-warning {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.modal-backdrop.show {
    opacity: 0.5;
}

/* Status Distribution Card - Modern Design */
.status-distribution-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out;
}

.status-distribution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Card Header with Gradient */
.card-header-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-light) 100%);
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.header-icon i {
    font-size: 24px;
    color: white;
}

.header-text h5 {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.header-text .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Decorative Element */
.header-decoration {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

/* Card Body */
.card-body-modern {
    padding: 30px;
}

/* Status Grid Layout */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Individual Status Card */
.status-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.status-card:hover::before {
    left: 100%;
}

.status-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

/* Status Icon Wrapper */
.status-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.status-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Status Icon Colors */
.status-icon.received {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.status-icon.analyzed {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: white;
}

.status-icon.checked {
    background: linear-gradient(135deg, #6c757d, #545b62);
    color: white;
}

.status-icon.processed {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.status-icon.shipped {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

/* Status Content */
.status-content {
    text-align: center;
}

.status-count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
    animation: countUp 0.6s ease-out;
}

.status-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Progress Bar */
.status-progress {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.6s ease;
    animation: progressSlide 1s ease-out;
}

.progress-bar.received-bar {
    background: linear-gradient(90deg, #17a2b8, #138496);
    width: var(--received-progress, 0%);
}

.progress-bar.analyzed-bar {
    background: linear-gradient(90deg, #ffc107, #e0a800);
    width: var(--analyzed-progress, 0%);
}

.progress-bar.checked-bar {
    background: linear-gradient(90deg, #6c757d, #545b62);
    width: var(--checked-progress, 0%);
}

.progress-bar.processed-bar {
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: var(--processed-progress, 0%);
}

.progress-bar.shipped-bar {
    background: linear-gradient(90deg, #28a745, #1e7e34);
    width: var(--shipped-progress, 0%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes countUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes progressSlide {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .status-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .card-header-gradient {
        padding: 20px;
    }
    
    .header-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-icon i {
        font-size: 20px;
    }
    
    .header-text h5 {
        font-size: 1.1rem;
    }
    
    .status-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .status-card {
        padding: 15px;
    }
    
    .status-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .status-count {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .status-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .card-body-modern {
        padding: 20px;
    }
    
    .status-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }
    
    .status-icon-wrapper {
        margin-bottom: 0;
    }
    
    .status-content {
        flex: 1;
        text-align: left;
    }
    
    .status-count {
        font-size: 1.25rem;
    }
    
    .status-label {
        font-size: 0.75rem;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .status-distribution-card {
        background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    }
    
    .status-card {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .status-card:hover {
        border-color: var(--accent-color);
    }
    
    .status-count {
        color: #ffffff;
    }
    
    .status-label {
        color: #a0a0a0;
    }
}

/* Loading State */
.status-card.loading .status-count {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    color: transparent;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Statistics Overview Card - Modern Design */
.statistics-overview-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInScale 0.6s ease-out;
}

.statistics-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Card Header Modern */
.card-header-modern {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-light) 100%);
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}

.header-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: pulse 3s ease-in-out infinite;
}

.header-icon-wrapper i {
    font-size: 24px;
    color: white;
}

.header-decoration-circle {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

/* Card Body Metrics */
.card-body-metrics {
    padding: 30px;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Individual Metric Card */
.metric-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.metric-card:hover::before {
    left: 100%;
}

.metric-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

/* Featured Card */
.metric-card.featured {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
}

.metric-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: shimmer 2s ease-in-out infinite;
}

/* Metric Icon Wrapper */
.metric-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.metric-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Icon Colors */
.metric-icon.lots {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.metric-icon.analytics {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
}

.metric-icon.value {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.metric-icon.profit {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

/* Metric Content */
.metric-content {
    text-align: center;
}

.metric-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
    animation: countUp 0.6s ease-out;
}

.metric-subtitle {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 10px;
}

/* Trend Indicators */
.metric-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.trend-indicator {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 2px;
}

.trend-indicator.positive {
    background: #dcfce7;
    color: #16a34a;
}

.trend-indicator.negative {
    background: #fee2e2;
    color: #dc2626;
}

.trend-indicator.neutral {
    background: #f3f4f6;
    color: #6b7280;
}

.trend-period {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Metal Breakdown (for Analytics card) */
.metric-breakdown {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.metal-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.metal-indicator.pt {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.metal-indicator.pd {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.metal-indicator.rh {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.metal-value {
    font-weight: 600;
    color: var(--heading-color);
}

/* Mini Chart */
.metric-chart {
    margin-top: 15px;
    height: 40px;
    position: relative;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-header-modern {
        padding: 20px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .metric-card {
        padding: 15px;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .metric-card.featured .metric-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .metric-breakdown {
        flex-direction: column;
        gap: 8px;
    }
    
    .breakdown-item {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
}

/* Loading State */
.metric-card.loading .metric-value {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer-load 1.5s infinite;
    color: transparent;
    border-radius: 4px;
}

@keyframes shimmer-load {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Profit Calculation Modal Styles */
#profitCalculationModal .modal-dialog {
    max-width: 900px;
}

#profitCalculationModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Modal Header Styling */
#profitCalculationModal .modal-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
#profitCalculationModal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Modal Title Styling */
#profitCalculationModal .modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Icon in Title */
#profitCalculationModal .modal-title i {
    font-size: 1.75rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    animation: pulse-icon 2s infinite;
}

/* Close Button Styling */
#profitCalculationModal .btn-close {
    background: transparent;
    opacity: 1;
    position: relative;
    z-index: 2;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profitCalculationModal .btn-close::before {
    content: '×';
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
}

#profitCalculationModal .btn-close:hover {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

#profitCalculationModal .btn-close-white {
    filter: none;
    opacity: 0.9;
}

#profitCalculationModal .btn-close-white:hover {
    opacity: 1;
}

/* Modal Body */
#profitCalculationModal .modal-body {
    padding: 2rem;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

/* Cards inside modal */
#profitCalculationModal .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

#profitCalculationModal .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

#profitCalculationModal .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 1.25rem;
}

#profitCalculationModal .card-header h6 {
    margin: 0;
    color: #495057;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Success Border Card */
#profitCalculationModal .border-success {
    border: 2px solid #28a745 !important;
}

#profitCalculationModal .border-success .card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

#profitCalculationModal .border-success .card-header h6 {
    color: white;
}

/* Badge Styles */
#profitCalculationModal .badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Input Group Styling */
#profitCalculationModal .input-group {
    border-radius: 8px;
    overflow: hidden;
}

#profitCalculationModal .input-group-text {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    font-weight: 600;
}

#profitCalculationModal .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Modal Footer */
#profitCalculationModal .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1.25rem 2rem;
    gap: 10px;
}

/* Button Styles */
#profitCalculationModal .btn {
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#profitCalculationModal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

#profitCalculationModal .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}

#profitCalculationModal .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

/* Animation for icon */
@keyframes pulse-icon {
    0% {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 3px 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #profitCalculationModal .modal-title {
        font-size: 1.25rem;
    }
    
    #profitCalculationModal .modal-title i {
        font-size: 1.5rem;
        padding: 8px;
    }
    
    #profitCalculationModal .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    #profitCalculationModal .modal-body {
        padding: 1.5rem;
    }
}

/* Loading State */
#profit-loading {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#profit-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

/* Value Display Enhancement */
#profitCalculationModal h4.text-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

#profitCalculationModal h3.text-primary,
#profitCalculationModal h3.text-success {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Alert in modal */
#profitCalculationModal .alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Calculation breakdown styling */
#calc-breakdown {
    background: rgba(0, 0, 0, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

/* Modern hover effects for interactive elements */
#profitCalculationModal input[type="number"]:hover {
    background-color: #f8f9fa;
}

#profitCalculationModal input[type="number"]:focus {
    background-color: white;
    transform: scale(1.02);
    transition: transform 0.2s ease;
}
/* Privacy Policy Styles using main.css variables with pp- prefix */

.pp-privacy-main {
    padding-top: 70px;
    min-height: 100vh;
    background: var(--background-color);
}

/* Hero Section */
.pp-privacy-hero {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pp-privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pp-privacy-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.pp-privacy-title {
    color: var(--contrast-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pp-privacy-title i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.pp-privacy-subtitle {
    color: var(--contrast-color);
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.pp-effective-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--contrast-color);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Container */
.pp-privacy-container {
    padding: 60px 15px;
    max-width: 1200px;
}

/* Table of Contents */
.pp-privacy-toc {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 90px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pp-toc-title {
    color: var(--heading-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-color);
}

.pp-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pp-toc-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--default-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
    position: relative;
}

.pp-toc-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent-color);
    transition: height 0.3s ease;
}

.pp-toc-link:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    color: var(--accent-color);
    transform: translateX(5px);
}

.pp-toc-link.pp-active {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    font-weight: 600;
}

.pp-toc-link.pp-active::before {
    height: 100%;
}

/* Privacy Content */
.pp-privacy-content {
    padding-left: 2rem;
}



.pp-section-card {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.pp-section-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.pp-section-header {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.pp-section-number {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.pp-section-header h2 {
    color: var(--heading-color);
    font-size: 1.75rem;
    margin: 0;
    font-family: var(--heading-font);
}

.pp-section-body {
    padding: 2rem;
}

.pp-section-body p {
    color: var(--default-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Info Categories */
.pp-info-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: color-mix(in srgb, var(--accent-color), transparent 97%);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.pp-info-category h4 {
    color: var(--heading-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pp-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pp-info-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--default-color);
}

.pp-info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Use Grid */
.pp-use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pp-use-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pp-use-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pp-use-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contrast-color);
    font-size: 1.5rem;
}

.pp-use-content h5 {
    color: var(--heading-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pp-use-content p {
    color: var(--default-color);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Communication List */
.pp-communication-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pp-communication-list li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

/* Opt-out Box */
.pp-opt-out-box {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.pp-opt-out-box h5 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Commitment Box */
.pp-commitment-box {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
    color: var(--contrast-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.pp-commitment-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.pp-commitment-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--surface-color);
}

.pp-commitment-box p {
    color: var(--surface-color);
}

/* Share Categories */
.pp-share-categories {
    margin-top: 1.5rem;
}

.pp-share-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease;
}

.pp-share-item:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.pp-share-item h5 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Security Measures */
.pp-security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.pp-security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pp-security-item:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    transform: translateY(-2px);
}

.pp-security-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Rights Grid */
.pp-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pp-right-card {
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease;
}

.pp-right-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.pp-right-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pp-right-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.pp-right-header h5 {
    color: var(--heading-color);
    margin: 0;
}

/* Request Info */
.pp-request-info {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

.pp-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.pp-contact-link:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

/* Contact Card */
.pp-contact-card {
    background: linear-gradient(135deg, color-mix(in srgb, var(--background-color), transparent 50%) 0%, var(--surface-color) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.pp-company-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.pp-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pp-contact-card h3 {
    color: var(--heading-color);
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.pp-contact-details {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.pp-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 8px;
}

.pp-contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.pp-contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pp-contact-item a:hover {
    text-decoration: underline;
}

/* Updates Notice */
.pp-updates-notice {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    border-radius: 10px;
    margin-top: 3rem;
    color: var(--light)
}

.pp-updates-notice i {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.pp-updates-notice h5 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.pp-updates-notice p {
    color: var(--surface-color);
    margin: 0;
    line-height: 1.6;
}

/* Alert Box */
.pp-alert-info {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    color: var(--default-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pp-alert-info i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .pp-privacy-toc {
        position: static;
        margin-bottom: 3rem;
    }
    
    .pp-privacy-content {
        padding-left: 0;
    }
    
    .pp-use-grid {
        grid-template-columns: 1fr;
    }
    
    .pp-rights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pp-privacy-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .pp-privacy-title i {
        font-size: 2rem;
    }
    
    .pp-privacy-subtitle {
        font-size: 1rem;
    }
    
    .pp-section-header {
        padding: 1rem 1.5rem;
    }
    
    .pp-section-header h2 {
        font-size: 1.5rem;
    }
    
    .pp-section-body {
        padding: 1.5rem;
    }
    
    .pp-security-measures {
        grid-template-columns: 1fr;
    }
    
    .pp-rights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pp-privacy-hero {
        padding: 60px 0;
    }
    
    .pp-privacy-container {
        padding: 40px 15px;
    }
    
    .pp-effective-date {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .pp-toc-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .pp-section-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .pp-contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .pp-privacy-toc {
        display: none;
    }
    
    .pp-privacy-hero {
        background: none;
        padding: 20px 0;
    }
    
    .pp-privacy-title {
        color: var(--heading-color);
    }
    
    .pp-section-card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}

/* Invoice Type Toggle Styles */
.invoice-type-toggle-section {
    background: var(--accent-color, #667eea);
    padding: 1px;
    border-radius: 0.5rem;
}

.invoice-type-toggle-section .card {
    background: #fff;
    border-radius: calc(0.5rem - 1px);
}

.invoice-type-toggle .btn {
    min-width: 180px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.invoice-type-toggle .btn-check:checked + .btn-outline-primary {
    background: var(--accent-color, #667eea);
    border-color: transparent;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.invoice-type-toggle .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Invoice Type Badge */
#invoice-type-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#invoice-type-badge.bg-info {
    background: var(--info-color, #17a2b8) !important;
}

/* Section Titles */
.section-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e3e6f0;
}

/* Info Cards */
.info-card .alert {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.info-card .alert-primary {
    background: rgba(102, 126, 234, 0.1);
    color: #1565c0;
    border-left: 4px solid var(--primary-color, #667eea);
}

.info-card .alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: #00695c;
    border-left: 4px solid var(--info-color, #17a2b8);
}

/* Invoice Sections */
.invoice-section {
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease-in-out;
}

.invoice-section .card {
    border: 1px solid #e3e6f0;
    box-shadow: 0 0.15rem 1.75rem rgba(33,40,50,0.15);
    transition: all 0.3s ease;
}

.invoice-section .card:hover {
    box-shadow: 0 0.35rem 2.5rem rgba(33,40,50,0.2);
}

/* Modal Customizations */
#invoiceModal .modal-header {
    background: var(--primary-color, #667eea);
    border: none;
}

#invoiceModal .modal-footer {
    border-top: 1px solid #e3e6f0;
}

/* Button Styles - Using Accent Color */
#submit-invoice {
    background: var(--accent-color, #667eea);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#submit-invoice:hover {
    background: var(--accent-color-dark, #5a67d8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

#submit-invoice:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

#submit-invoice:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .invoice-type-toggle .btn {
        min-width: 140px;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .invoice-type-toggle .btn i {
        display: none;
    }
    
    #invoice-type-badge {
        display: none;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Transitions for show/hide */
.invoice-section {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.invoice-section[style*="display: none"] {
    opacity: 0;
    visibility: hidden;
}
.alert-info .input-group-sm .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 123, 255, 0.25);
}

.alert-info .input-group-sm .form-control:focus {
    background-color: #fff;
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#advances-summary {
    background: rgba(220, 53, 69, 0.05);
    border-left: 3px solid #dc3545;
}

/* Animated value changes */
#final-analysis-amount {
    transition: color 0.3s ease;
}

/* Highlight on value change */
.value-changed {
    animation: highlight 0.5s ease;
}

@keyframes highlight {
    0%, 100% { background-color: transparent; }
    50% { background-color: rgba(255, 193, 7, 0.2); }
}

.auto-selected-container .alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3f4f6 100%);
    border-left: 4px solid #0dcaf0;
}

/* Transition effects */
#client-search-container,
#auto-selected-container {
    transition: opacity 0.3s ease-in-out;
}

/* Section title styling */
.client-selection-section .section-title {
    transition: all 0.3s ease;
}
/* Mobile-friendly PDF Modal Styles */
@media (max-width: 767px) {
    #invoicePreviewModal .modal-dialog {
        max-width: 100% !important;
        margin: 0;
        height: 100vh !important;
    }
    
    #invoicePreviewModal .modal-content {
        height: 100vh !important;
        border-radius: 0;
    }
    
    #invoicePreviewModal .modal-header {
        padding: 1rem;
        border-radius: 0;
    }
    
    #invoicePreviewModal .modal-title {
        font-size: 1rem;
    }
    
    #invoicePreviewModal .modal-body {
        height: calc(100% - 240px) !important;
    }
    
    /* Make footer fixed and scrollable if needed */
    #invoicePreviewModal .mobile-footer {
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 2px solid #dee2e6;
        padding: 1rem;
        max-height: 200px;
        overflow-y: auto;
        z-index: 1050;
    }
    
    /* Large touch targets for mobile */
    #invoicePreviewModal .btn-lg {
        min-height: 56px;
        font-weight: 500;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: all 0.2s ease;
    }
    
    #invoicePreviewModal .btn-lg:active {
        transform: scale(0.98);
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    /* Mobile controls styling */
    .mobile-controls {
        padding: 0.5rem;
    }
    
    /* Ensure canvas fits mobile screen */
    #pdf-render-canvas {
        max-width: 100vw !important;
        height: auto !important;
    }
    
    #pdf-canvas-container {
        padding: 10px !important;
        overflow: auto !important;
    }
}

/* Touch-friendly button hover states */
@media (hover: none) and (pointer: coarse) {
    #invoicePreviewModal .btn:hover {
        transform: none;
    }
    
    #invoicePreviewModal .btn:active {
        opacity: 0.8;
    }
}

/* Landscape mode adjustments */
@media (max-width: 767px) and (orientation: landscape) {
    #invoicePreviewModal .modal-body {
        height: calc(100% - 180px) !important;
    }
    
    #invoicePreviewModal .mobile-footer {
        max-height: 150px;
    }
    
    #invoicePreviewModal .btn-lg {
        min-height: 48px;
        padding: 0.5rem 1rem;
    }
}

/* Ensure good contrast for accessibility */
#invoicePreviewModal .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

#invoicePreviewModal .btn-primary:active {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

#invoicePreviewModal .btn-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

#invoicePreviewModal .btn-info:active {
    background-color: #31d2f2;
    border-color: #25cff2;
}

/* Pinch zoom support for PDF canvas */
@supports (touch-action: manipulation) {
    #pdf-canvas-container {
        touch-action: manipulation;
    }
}

/* Loading state optimizations for mobile */
@media (max-width: 767px) {
    #pdf-loading-state .spinner-border {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }
    
    #pdf-loading-state p {
        font-size: 1.1rem;
    }
}
