/* here you can put your own css to customize and override the theme */
/* Only submenu items under HarvestTracker, not the parent header link */
.page-sidebar-menu .sub-menu > li > a,
.page-sidebar-menu .sub-menu > li > a:link,
.page-sidebar-menu .sub-menu > li > a:visited {
    color: #c8c8c8 !important;
}

/* 1) Submenu items (IDs, Get Records, Account Details, etc.)
      when they are NOT the active item */
      .page-sidebar-menu .sub-menu > li:not(.active) > a {
        color: #c8c8c8 !important;
    }
    
    /* 2) Top-level items: HarvestTracker, Details, Help, Links
          when they are NOT active */
    .page-sidebar-menu > li#menu_gt_parent:not(.active) > a,
    .page-sidebar-menu > li#menu_gt_details:not(.active) > a,
    .page-sidebar-menu > li#menu_gt_Help:not(.active) a,
    .page-sidebar-menu > li#menu_gt_links:not(.active) > a {
        color: #c8c8c8 !important;
    }

/* =========================================================
   Processing Overlay (Get Records upload)
   ========================================================= */

.processing-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.processing-overlay.is-visible {
    display: flex;
    animation: overlayFadeIn 160ms ease-out;
}

.processing-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 22px;
    width: 360px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    text-align: center;
    animation: cardPop 160ms ease-out;
}

.processing-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px auto;
    border-radius: 50%;
    border: 4px solid rgba(0,0,0,0.12);
    border-top-color: rgba(0,0,0,0.55);
    animation: spin 0.9s linear infinite;
}

.processing-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.processing-sub {
    font-size: 13px;
    color: #666;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes overlayFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardPop { from { transform: scale(0.98); } to { transform: scale(1); } }    

/***
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;
}
*/