@charset "UTF-8";

@import "pico.css.php";
@import "mixin.css";
@import "login.css";

/**
This file car overwrite default pico css
 */


/**
 * Navs
 */

body > nav {
  --nav-link-spacing-vertical: 1rem;
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  z-index: 99;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  backdrop-filter: blur(60px) ;
  background-color: var(--nav-background-color);
  box-shadow: 0px 1px 0 var(--nav-border-color);
}

nav.primary-top-nav ul:first-of-type {
	clear: both;
	min-width: 100px;
}

.primary-top-nav{
  --border-radius: 0;
}

ul.brand {
	max-width:	80px;
}
nav.primary-top-nav ul:first-of-type {
	margin-left: unset !important;
}

ul.menu-entries li {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
ul.menu-entries-alt {
	display: none;
}

.maxwidthdate {
	max-width: 110px;
}

@media (max-width: 576px) {
	ul.brand li.brand {
		padding-left: 0px;
	}
	ul.menu-entries li {
		display: none;
	}
	ul.menu-entries-alt {
		display: block;
	}
}




/**
  NAV BRAND LOGO
 */
.brand__logo-link{
  max-height: 100%;
  margin: 0;
  padding: 0;
}

.brand__logo-link:focus{
  background: none;
}

.spacer{
  --spacer-margin: calc(var(--font-size) * 2);
  margin-top: var(--spacer-margin);
  margin-bottom: var(--spacer-margin);
}

html{
  scroll-padding-top:100px;
}

#main-container{
  padding-top: 200px;
}

/*
a:link, a:visited, a:hover, a:active, .classlink {
	color: unset;
}
*/

.pages-nav-list__icon::after {
  display: block;
  width: 1rem;
  height: 1rem;
  -webkit-margin-start: calc(var(--spacing, 1rem) * 0.5);
  margin-inline-start: calc(var(--spacing, 1rem) * 0.5);
  float: right;
  background-image: var(--icon-chevron);
  background-position: right center;
  background-size: 1rem auto;
  background-repeat: no-repeat;
  content: "";
  transition: transform var(--transition);
}

.pages-nav-list__icon.--prev::after {
  transform: rotate(90deg);
}
.pages-nav-list__icon.--next::after {
   transform: rotate(-90deg);
}

.pages-nav-list__link.--active{
  outline: 1px solid hsla(var(--primary-color-hue), var(--primary-color-saturation), var(--primary-color-lightness), 0.3);
}

.hero-header{
  background-color: #f2f2f2;
  background-image: var(--banner-background);
  padding: 100px 0 64px 0;
  margin: 0;

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/**
  Search list
 */
[role="search-row"] :is(button, input[type=submit], input[type=button], [role=button]) {
  --background-color: #ededed;
  --border-color: #ededed;
  --color: #666;
}

.btn-filter-icon{
  --icon-url : var(--icon-time);
  --icon-size : 16px;

  display: inline-block;
  width: auto;
}

.btn-filter-icon::before{
  content: " ";
  display: inline-block;
  height: var(--icon-size);
  width: var(--icon-size);
  background-color: transparent;
  background-image: var(--icon-url);
  background-repeat: no-repeat;
  background-size: var(--icon-size) var(--icon-size);
  background-position: center;
}

.btn-filter-icon.btn-remove-search-filters-icon::before {
  --icon-url : var(--icon-close);
}

.btn-filter-icon.btn-search-filters-icon::before {
  --icon-url : var(--icon-search);
}

[role="search-row"] [data-col="row-checkbox"]{
  white-space: nowrap;
}

/**
Home Styles
 */
.home-links-card{

}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  background: #f5f7fb;
}

.left-sidebar {
  width: 260px;
  flex: 0 0 260px;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sidebar-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid #eef2f7;
  height: 64px;
}

.brand-logo .logo-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 1 1 auto;
}

.brand-logo .brand__logo-img {
  max-height: 48px;
  width: auto;
  display: block;
}

.brand-logo .brand__name {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #0f172a;
}

.sidebartoggler {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: none !important; /* Hidden by default on large screens */
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px;
  cursor: pointer;
  color: #3B7BCE;
  transition: all 150ms ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0 !important;
  line-height: 1 !important;
}

.sidebartoggler i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important; /* Ensure click hits the button, not the icon */
}

.sidebartoggler:hover {
  background: #f1f5f9;
  color: #1d4ed8;
  transform: scale(1.05);
}

.sidebartoggler--close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #ef4444 !important; /* Red color for mobile */
}

.sidebartoggler--close:hover {
  background: transparent;
  color: #ef4444;
  transform: scale(1.1);
}

.sidebartoggler--hamburger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--wp-primary) !important; /* Blue color */
}

.sidebar-nav {
  padding: 12px 10px;
  overflow: auto;
  flex: 1 1 auto;
}

#sidebarnav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-small-cap {
  padding: 14px 12px 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.sidebar-item {
  margin: 2px 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.sidebar-item.active .sidebar-link,
.sidebar-link:hover {
  background: rgba(59, 123, 206, 0.12);
  color: #1d4ed8;
}

.body-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-header {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.app-header__spacer {
  flex: 1 1 auto;
}

.user-dropdown {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important; /* Match the height of the hamburger button */
  margin: 0 !important;
}

.user-dropdown__toggle {
  list-style: none;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  width: 40px !important;
}

.user-dropdown__toggle::-webkit-details-marker {
  display: none;
}

.user-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #3B7BCE;
  color: #ffffff;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800;
  line-height: 1 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1/1 !important;
}

.user-dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 10px;
  min-width: 220px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  margin: 0;
}

.user-dropdown__menu li {
  list-style: none;
  margin: 0;
}

.user-dropdown__label {
  padding: 8px 10px;
  font-size: 13px;
  color: #64748b;
}

.user-dropdown__menu a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.user-dropdown__menu a:hover {
  background: rgba(59, 123, 206, 0.12);
  color: #1d4ed8;
}

.body-wrapper-inner {
  padding: 18px;
}

.container-fluid {
  width: 100%;
}

.dash-page-header {
  margin-bottom: 16px;
}

.dash-page-header__inner {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px 18px;
}

.dash-page-header__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.dash-page-header__desc {
  margin-top: 6px;
  color: #64748b;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.dash-card {
  grid-column: span 6;
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.dash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
  border-color: rgba(59, 123, 206, 0.35);
}

.dash-card__title {
  font-weight: 800;
  font-size: 16px;
  color: #0f172a;
}

.dash-card__desc {
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
}

.dash-footer {
  margin-top: 18px;
}

.dash-footer__inner {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  padding: 12px 0 4px;
}

@media (max-width: 900px) {
  .left-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform 200ms ease;
    z-index: 100;
  }
  .page-wrapper.sidebar-open .left-sidebar {
    transform: translateX(0);
  }
  /* Sidebar backdrop when open on mobile */
  .page-wrapper.sidebar-open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    z-index: 90;
    animation: fadeIn 200ms ease;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
   .sidebartoggler--hamburger {
     display: inline-flex !important;
     margin-right: 12px;
     color: var(--wp-primary) !important; /* Blue color */
   }
   .sidebartoggler--close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #ef4444 !important; /* Red color for mobile */
}
  .app-header {
    justify-content: space-between;
    padding: 0 12px;
  }
  .dash-card {
    grid-column: span 12;
  }
}

.gantt-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

.gantt-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}

.gantt .gselector {
  display: none;
}

.gantt .gmajorheading,
.gantt .gminorheading,
.gantt .gminorheadingwkend,
.gantt .gtaskcell,
.gantt .gtaskcellcurrent,
.gantt .gtaskcellwkend,
.gantt .gname,
.gantt .gtaskname,
.gantt .gres,
.gantt .gdur,
.gantt .gcomp,
.gantt .gstartdate,
.gantt .genddate {
  border-color: rgba(229, 231, 235, 0.9);
}

.gantt .gminorheadingwkend,
.gantt .gtaskcellwkend {
  background-color: #f9fafb;
}

.gantt .ggroupblack {
  background: #111827;
  height: 8px;
  margin-top: 3px;
  border-radius: 999px;
}

.gantt .gtaskblue {
  background: var(--wp-primary);
  border-radius: 999px;
}

.gantt .gtaskbluecomplete {
  background-color: rgba(17, 24, 39, 0.35);
}

.frappe-gantt-host .gantt-container {
  --g-progress-color: var(--wp-primary);
  --g-today-highlight: var(--wp-primary);
  --g-arrow-color: rgba(17, 24, 39, 0.6);
  --g-tick-color: rgba(229, 231, 235, 0.9);
  --g-tick-color-thick: rgba(229, 231, 235, 1);
}

.frappe-gantt-host {
  min-height: 360px;
  overflow: auto;
}

.frappe-gantt-host .gantt-container {
  min-height: 360px;
}

.frappe-gantt-host .gantt .bar-project .bar {
  fill: #111827;
  stroke: #111827;
}

.frappe-gantt-host .gantt .bar-task .bar-progress {
  fill: var(--wp-primary);
}
