/* here you can put your own css to customize and override the theme */

.bold{font-weight:bold;}

.italic{font-style:italic;}

/***
Custom button colors
***/
.cool-blue {
  color: #330099;
}
.cool-blue-inverse {
  color: #fff;
  background-color: #330099;
  transition: background-color 0.3s ease;
}
.cool-blue-inverse:hover {
  color: #fff;
  background-color: #003399; /* Change to the desired hover background color */
}
.magento {
  color: #bf3cff;
}
.magento-inverse {
  color: #fff;
  background-color: #bf3cff;
}
.magento-inverse:hover {
  color: #fff;
  background-color: #cc63ff;
}


/***
Orange
.btn-orange	{ background-color: #ff9f00; border-color: #ff9f00; }
***/
/* Button */
.orange.btn {
  color: #FFFFFF;
  background-color: #f3850e; /* main button color */
  border-color: "";
}
.orange.btn.disabled, .orange.btn.disabled:hover, .orange.btn.disabled:focus, .orange.btn.disabled:active, .orange.btn.disabled.active, .orange.btn[disabled], .orange.btn[disabled]:hover, .orange.btn[disabled]:focus, .orange.btn[disabled]:active, .orange.btn[disabled].active, fieldset[disabled] .orange.btn, fieldset[disabled] .orange.btn:hover, fieldset[disabled] .orange.btn:focus, fieldset[disabled] .orange.btn:active, fieldset[disabled] .orange.btn.active {
  background-color: #f3850e; /* main button color */
}
.orange.btn .badge {
  color: #f3850e; /* main button color */
  background-color: #FFFFFF;
}
.orange.btn:hover, .orange.btn:focus, .orange.btn:active, .orange.btn.active {
  color: #FFFFFF;
  background-color: #d9770e; /* 1 shade darker */
}
.open .orange.btn.dropdown-toggle {
  color: #FFFFFF;
  background-color: #d9770e; /* 1 shade darker */
}
.orange.btn:active:hover, .orange.btn.active:hover {
  background-color: #c66f10; /* 2 shades darker */
}
.orange.btn:active, .orange.btn.active {
  background-image: none;
  background-color: #b1630e; /* 3 shades darker */
}
.open .orange.btn.dropdown-toggle {
  background-image: none;
}



/* For group member tiles */
.striped {
  background: repeating-linear-gradient(45deg, #f9f9f9, #f9f9f9 10px, #f0f0f0 10px, #f0f0f0 20px);
}
.dropshadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.coloredborder {
  border: 2px solid #5bc0de;
}

/***
Rounded Portlets
***/
/*
.portlet {
	border-radius: 4px !important;
}

.portlet .portlet-title {
	border-radius: 4px 4px 0px 0px !important;
}

.portlet .portlet-body,
.portlet .portlet-body .form-actions  {
	border-radius: 0px 0px 4px 4px !important;
}
*/

/*
Change Quick Sidebar Width
*/

/*
.page-quick-sidebar-wrapper {
  right: -370px;
  width: 370px;
}

.page-quick-sidebar-open.page-quick-sidebar-push-content .page-sidebar-wrapper {
  margin-left: -370px;
}

.page-quick-sidebar-open.page-quick-sidebar-push-content .page-footer {
  margin-right: 370px;
  margin-left: -370px;
}

.page-sidebar-reversed.page-quick-sidebar-open.page-quick-sidebar-push-content .page-sidebar-wrapper {
  margin-right: 370px;
}

.page-quick-sidebar-open.page-quick-sidebar-push-content.page-quick-sidebar-full-height .page-header {
  margin-left: -370px;
}

.page-quick-sidebar-wrapper .page-quick-sidebar .page-quick-sidebar-list {
  width: 370px !important;
}

.page-quick-sidebar-wrapper .page-quick-sidebar .page-quick-sidebar-item {
  width: 370px !important;
  margin-left: 370px;
}

.page-quick-sidebar-wrapper .page-quick-sidebar .page-quick-sidebar-content-item-shown .page-quick-sidebar-list {
  margin-left: -370px;
}
*/
.badge {
  border-radius: 20px!important;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  height: 20px!important;
  padding: 2px 6px;
  text-align: center;
  text-shadow: none !important;
  vertical-align: middle;
}


  /* jquery.Jcrop.min.css v0.9.12 (build:20130126) */
.jcrop-holder{direction:ltr;text-align:left;}
.jcrop-vline,.jcrop-hline{background:#FFF url(../../images/Jcrop.gif);font-size:0;position:absolute;}
.jcrop-vline{height:100%;width:1px!important;}
.jcrop-vline.right{right:0;}
.jcrop-hline{height:1px!important;width:100%;}
.jcrop-hline.bottom{bottom:0;}
.jcrop-tracker{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;height:100%;width:100%;}
.jcrop-handle{background-color:#333;border:1px #EEE solid;font-size:1px;height:7px;width:7px;}
.jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0;}
.jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px;}
.jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%;}
.jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%;}
.jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0;}
.jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0;}
.jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0;}
.jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px;}
.jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%;}
.jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px;}
.jcrop-dragbar.ord-n{margin-top:-4px;}
.jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px;}
.jcrop-dragbar.ord-e{margin-right:-4px;right:0;}
.jcrop-dragbar.ord-w{margin-left:-4px;}
.jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline{background:#FFF;filter:alpha(opacity=70)!important;opacity:.70!important;}
.jcrop-light .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#000;border-color:#FFF;border-radius:3px;}
.jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline{background:#000;filter:alpha(opacity=70)!important;opacity:.7!important;}
.jcrop-dark .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#FFF;border-color:#000;border-radius:3px;}
.solid-line .jcrop-vline,.solid-line .jcrop-hline{background:#FFF;}
.jcrop-holder img,img.jcrop-preview{max-width:none;}


/*Header css here*/
/* User Settings Collapsible Styles */
.user-settings-container {
  position: relative;
  margin-right: 15px;
  margin-top: 10px
}

.user-settings-toggle {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.user-settings-toggle:hover {
  background: #e9ecef;
  color: #007bff;
  text-decoration: none;
}

.user-settings-toggle i {
  margin-right: 5px;
}

.chevron-icon {
  margin-left: 5px !important;
  margin-right: 0 !important;
  transition: transform 0.3s ease;
  font-size: 12px;
}

.user-settings-toggle.active .chevron-icon {
  transform: rotate(180deg);
}

.settings-text {
  font-size: 13px;
  font-weight: 500;
}

.user-settings-panel, .user-settings-panel-mobile {
  position: absolute;
  top: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  min-width: 280px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 5px;
}
.user-settings-panel-mobile {
  left: 0;
}
.user-settings-panel {
  right: 0;
}

.user-settings-panel.active, .user-settings-panel-mobile.active {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.settings-section {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.settings-section:last-child {
  border-bottom: none;
}

.settings-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.settings-section .form-control {
    width: 100%;
    height: 34px; 
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
  line-height: 1.5;
  position: relative;
    transition: border-color 0.3s ease;
}

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

/* Fix for select dropdown showing selected value */
.switchAccount {
  appearance: none;
  -webkit-appearance: none; 
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
  padding-right: 25px;
}

.switchAccount option:checked {
  background-color: #e9ecef;
  color: #495057;
}

.login-back-link {
  display: block;
  text-align: center;
}

.login-back-link a {
  color: #007bff;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid #007bff;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}

.login-back-link a:hover {
  background: #007bff;
  color: #fff;
  text-decoration: none;
}

/* Mobile controls container */
.mobile-controls {
  display: none;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

/* This is not used */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #333;
  font-size: 18px;
  padding: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* This is not used */
.mobile-nav-toggle:hover {
  background: rgba(0,0,0,0.1);
  color: #007bff;
}

/* Fix the logo disappearing when toggling the menu */
.desktop-only .page-logo, .desktop-only .page-logo .navbar-brand,logo-default,  {
    visibility: visible !important; /* This does not work */
    display: block !important; /* This does not work */
    opacity: 1 !important; /* This does not work */
}

.profile-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 4px 8px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.profile-dropdown .dropdown-toggle:hover {
  background: rgba(0,0,0,0.05);
  text-decoration: none;
}

.profile-dropdown .img-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 8px;
}

.profile-dropdown .username {
  font-size: 13px;
  font-weight: 500;
}

.profile-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  min-width: 150px;
  margin-top: 5px;
}

.profile-dropdown .dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.profile-dropdown .dropdown-menu li:last-child {
  border-bottom: none;
}

.profile-dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.profile-dropdown .dropdown-menu li a:hover {
  background: #f8f9fa;
  color: #007bff;
  text-decoration: none;
}

.profile-dropdown .dropdown-menu li a i {
  margin-right: 8px;
}

.dropdown-menu-default {
  right: 0;
  left: auto;
}

.page-header-inner {
    display: flex;
    justify-content: space-between; /* left & right sections */
    align-items: center;
    padding: 0 15px;
    height: 60px; /* adjust as needed */
}

/* Left and right sides */
.header-left, .header-right {
    display: flex;
    align-items: center;
}

/* Gap between items on each side */
.header-left > *, .header-right > * {
    margin-right: 10px;
}

/* Optional: remove last margin on right-side items */
.header-right > *:last-child {
    margin-right: 0;
}

/* Desktop styles - keep everything as original */
@media (min-width: 768px) {
  .mobile-controls {
    display: none;
  }
    
  /* Show desktop profile, hide mobile profile */
  .desktop-profile {
    display: block !important;
  }
  
  /* Ensure desktop profile is visible with more specific selector */
  .desktop-profile {
    display: block !important;
  }
}

/* Profile dropdown styles */
.desktop-only .profile-dropdown {
  position: relative;
  right: 5rem;
}
.mobile-tablet-only .profile-dropdown {
  position: static;
  right: 0;
}

.desktop-only .profile-dropdown {
    display: flex;
    align-items: center;
    position: relative;
    right: 0; /* Remove the 5rem offset */
}

.desktop-only .profile-dropdown ul {
    /* display: flex; */ /* This forces the dropdown menu open */
    align-items: center;
    margin: 0;
    padding: 0;
}

.hamburger-desktop {
  display: flex !important;
  align-items: center !important; /* this does not work */
  justify-content: center !important; /* this does not work */
  height: 60px !important; /* match the header height */ /* this does not work */
}

.hamburger-desktop .menu-toggler {
  position: static !important; /* remove absolute positioning */
  margin: 20px 5px 20px 0px !important; /* this does not work */
  right: auto !important; /* this does not work */
  margin: 0 !important; /* this does not work */
  vertical-align: middle !important; /* this does not work */
}


/* Mobile Logo - remove left whitespace */
.mobile-tablet-only .page-logo {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.mobile-tablet-only .page-logo .navbar-brand {
  padding-left: 0;
  margin-left: 0;
}
/* Mobile Profile Photo - fix overflow and center */
.mobile-tablet-only .profile-dropdown {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.mobile-tablet-only .profile-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  padding: 4px;
}

/* Very small mobile devices */
@media (max-width: 480px) {

  .mobile-controls {
    right: 10px;
    gap: 8px;
  }
  
  .mobile-nav-toggle {
    font-size: 16px;
    padding: 6px;
  }
  
  .profile-dropdown .img-circle {
    width: 28px;
    height: 28px;
  }
  
  .mobile-nav-items li {
    padding: 8px 10px;
  }
  
  .settings-section {
    padding: 12px;
  }
}

/* Mobile responsive styles */
@media (max-width: 767px) {
  /* Show mobile controls */
    .mobile-controls {
        display: flex;      /* show profile dropdown */
        align-items: center;
        gap: 10px;          /* spacing between profile and hamburger */
  }

  /* Hamburger menu */
  .mobile-nav-toggle {
    display: block;
  }
  
  /* Hide desktop profile on mobile */
  .desktop-profile {
    display: none !important;
  }
  
  /* When mobile nav is active */
  .mobile-nav-items.active {
    display: flex;
  }
  
  /* Stack items vertically on mobile */
  .mobile-nav-items li {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .mobile-nav-items li:last-child {
    border-bottom: none;
  }
  
  /* Mobile user settings adjustments */
  .user-settings-container {
    margin-right: 0;
  }
  
  .user-settings-toggle {
    width: 100%;
    justify-content: space-between;
    background: #f8f9fa;
    margin-bottom: 10px;
  }
  
  .user-settings-panel {
    position: static;
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  }
  
  /* Adjust form controls for mobile */
  .mobile-nav-items .form-control {
    width: 100%;
    margin-top: 5px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Hide username on mobile to save space */
  .profile-dropdown .username-hide-on-mobile {
    display: none;
  }
  
  /* Ensure page header has relative positioning for absolute children */
  .page-header {
    position: relative;
  }
  
  /* Adjust page-header-inner padding */
  .page-header-inner {
    padding-right: 5px;
  }

    /* Profile photo - slightly smaller */
    .profile-dropdown .img-circle {
        width: 42px;
        height: 42px;
    }

    /* Hamburger menu - 55% bigger */
    .hamburger-desktop .menu-toggler {
        width: 50px;
        height: 50px;
    margin: 20px 8px !important;
    right: 10px; /* This does nothing */
    }

    .menu-toggler {
        position: absolute;
        top: 20px; /* This does nothing */
        right: 10px; /* This does nothing */
    }

}

/* Animation for smooth transitions */
@keyframes slideDown {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 500px;
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    max-height: 500px;
    opacity: 1;
  }
  to {
    max-height: 0;
    opacity: 0;
  }
}