[x-cloak] {
  display: none !important;
}

/* Full-screen mountain range with dramatic cut-off peaks */
.navbar-mountains {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4000 800' preserveAspectRatio='xMidYMin slice'%3E%3Cdefs%3E%3ClinearGradient id='mountainGrad1' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23000000' stop-opacity='0.15'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='0.20'/%3E%3C/linearGradient%3E%3ClinearGradient id='mountainGrad2' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23000000' stop-opacity='0.10'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='0.15'/%3E%3C/linearGradient%3E%3ClinearGradient id='mountainGrad3' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23000000' stop-opacity='0.05'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='0.10'/%3E%3C/linearGradient%3E%3ClinearGradient id='valleyTerrain' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23000000' stop-opacity='0.08'/%3E%3Cstop offset='60%25' stop-color='%23000000' stop-opacity='0.04'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='fieldGrad' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23000000' stop-opacity='0.06'/%3E%3Cstop offset='60%25' stop-color='%23000000' stop-opacity='0.03'/%3E%3Cstop offset='80%25' stop-color='%23000000' stop-opacity='0.015'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg%3E%3C!-- Far mountains (dramatic peaks extending beyond top) --%3E%3Cpath d='M0,800 L0,380 L150,-30 L320,50 L485,-10 L650,70 L815,-20 L980,60 L1145,0 L1310,80 L1475,-25 L1640,55 L1805,-5 L1970,75 L2135,-15 L2300,65 L2465,5 L2630,85 L2795,-5 L2960,75 L3125,-15 L3290,65 L3455,5 L3620,85 L3785,15 L3950,95 L4000,100 L4000,800 Z' fill='url(%23mountainGrad3)'/%3E%3C!-- Middle mountains (some peaks cut off) --%3E%3Cpath d='M0,800 L0,480 L180,90 L360,170 L540,110 L720,190 L900,130 L1080,210 L1260,90 L1440,170 L1620,50 L1800,130 L1980,10 L2160,90 L2340,30 L2520,110 L2700,50 L2880,130 L3060,70 L3240,150 L3420,90 L3600,170 L3780,110 L3960,190 L4000,210 L4000,800 Z' fill='url(%23mountainGrad2)'/%3E%3C!-- Near mountains (foreground hills) --%3E%3Cpath d='M0,800 L0,580 L220,280 L440,340 L660,260 L880,320 L1100,240 L1320,300 L1540,220 L1760,280 L1980,200 L2200,260 L2420,180 L2640,240 L2860,160 L3080,220 L3300,140 L3520,200 L3740,120 L3960,180 L4000,200 L4000,800 Z' fill='url(%23mountainGrad1)'/%3E%3C!-- Valley terrain --%3E%3Cpath d='M0,800 L0,740 L200,735 L400,745 L600,738 L800,748 L1000,740 L1200,750 L1400,743 L1600,753 L1800,745 L2000,755 L2200,748 L2400,758 L2600,750 L2800,760 L3000,753 L3200,763 L3400,755 L3600,765 L3800,758 L4000,768 L4000,800 Z' fill='url(%23valleyTerrain)'/%3E%3C!-- Valley field with fade-out --%3E%3Cpath d='M0,800 L0,760 L100,758 L200,762 L300,755 L400,765 L500,758 L600,768 L700,760 L800,770 L900,763 L1000,773 L1100,765 L1200,775 L1300,768 L1400,778 L1500,770 L1600,780 L1700,773 L1800,783 L1900,775 L2000,785 L2100,778 L2200,788 L2300,780 L2400,790 L2500,783 L2600,793 L2700,785 L2800,795 L2900,788 L3000,798 L3100,790 L3200,800 L3300,793 L3400,800 L3500,795 L3600,800 L3700,798 L3800,800 L3900,800 L4000,800 Z' fill='url(%23fieldGrad)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 4000px 100vh;
  background-repeat: repeat-x;
  background-position: center top;
}

/* Dark theme variant */
[data-coreui-theme="dark"] .navbar-mountains {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4000 800' preserveAspectRatio='xMidYMin slice'%3E%3Cdefs%3E%3ClinearGradient id='mountainGradDark1' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='0.20'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0.25'/%3E%3C/linearGradient%3E%3ClinearGradient id='mountainGradDark2' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='0.15'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0.20'/%3E%3C/linearGradient%3E%3ClinearGradient id='mountainGradDark3' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='0.08'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0.12'/%3E%3C/linearGradient%3E%3ClinearGradient id='valleyTerrainDark' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='0.10'/%3E%3Cstop offset='60%25' stop-color='%23ffffff' stop-opacity='0.05'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='fieldGradDark' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='0.08'/%3E%3Cstop offset='60%25' stop-color='%23ffffff' stop-opacity='0.04'/%3E%3Cstop offset='80%25' stop-color='%23ffffff' stop-opacity='0.02'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg%3E%3C!-- Far mountains (dramatic peaks extending beyond top) --%3E%3Cpath d='M0,800 L0,380 L150,-30 L320,50 L485,-10 L650,70 L815,-20 L980,60 L1145,0 L1310,80 L1475,-25 L1640,55 L1805,-5 L1970,75 L2135,-15 L2300,65 L2465,5 L2630,85 L2795,-5 L2960,75 L3125,-15 L3290,65 L3455,5 L3620,85 L3785,15 L3950,95 L4000,100 L4000,800 Z' fill='url(%23mountainGradDark3)'/%3E%3C!-- Middle mountains (some peaks cut off) --%3E%3Cpath d='M0,800 L0,480 L180,90 L360,170 L540,110 L720,190 L900,130 L1080,210 L1260,90 L1440,170 L1620,50 L1800,130 L1980,10 L2160,90 L2340,30 L2520,110 L2700,50 L2880,130 L3060,70 L3240,150 L3420,90 L3600,170 L3780,110 L3960,190 L4000,210 L4000,800 Z' fill='url(%23mountainGradDark2)'/%3E%3C!-- Near mountains (foreground hills) --%3E%3Cpath d='M0,800 L0,580 L220,280 L440,340 L660,260 L880,320 L1100,240 L1320,300 L1540,220 L1760,280 L1980,200 L2200,260 L2420,180 L2640,240 L2860,160 L3080,220 L3300,140 L3520,200 L3740,120 L3960,180 L4000,200 L4000,800 Z' fill='url(%23mountainGradDark1)'/%3E%3C!-- Valley terrain --%3E%3Cpath d='M0,800 L0,740 L200,735 L400,745 L600,738 L800,748 L1000,740 L1200,750 L1400,743 L1600,753 L1800,745 L2000,755 L2200,748 L2400,758 L2600,750 L2800,760 L3000,753 L3200,763 L3400,755 L3600,765 L3800,758 L4000,768 L4000,800 Z' fill='url(%23valleyTerrainDark)'/%3E%3C!-- Valley field with fade-out --%3E%3Cpath d='M0,800 L0,760 L100,758 L200,762 L300,755 L400,765 L500,758 L600,768 L700,760 L800,770 L900,763 L1000,773 L1100,765 L1200,775 L1300,768 L1400,778 L1500,770 L1600,780 L1700,773 L1800,783 L1900,775 L2000,785 L2100,778 L2200,788 L2300,780 L2400,790 L2500,783 L2600,793 L2700,785 L2800,795 L2900,788 L3000,798 L3100,790 L3200,800 L3300,793 L3400,800 L3500,795 L3600,800 L3700,798 L3800,800 L3900,800 L4000,800 Z' fill='url(%23fieldGradDark)'/%3E%3C/g%3E%3C/svg%3E");
}

.external-link::after {
  font: var(--fa-font-solid);
  /* tells FA to use the solid font face */
  content: "\f08e";
  /* Unicode for fa-arrow-up-right-from-square */
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.875em;
}

.icon-xs {
  width: 12px;
  height: 12px;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.edit-url,
.cursor-pointer {
  cursor: pointer;
}

.btn-sm-menu {
  padding: 0.05rem 0.05rem;
}

.table> :not(caption)>*>* {
  padding: 0.2rem 0.5rem;
}

.mt-n4 {
  margin-top: -1.5rem !important;
}

.mb-n3 {
  margin-bottom: -1rem !important;
}

.announcement-border {
  border-bottom: 1px solid #dbdfe64d !important;
}

/* For dark theme */
[data-coreui-theme="dark"] .announcement-border {
  border-bottom-color: var(--cui-border-color-translucent) !important;
}

#announcements-container .alert .info-part a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

#announcements-container .alert .info-part a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

#announcements-container .alert .edit-link:hover {
  color: rgba(255, 255, 255, 1) !important;
}

/* input.picker[type="date"] {
  position: relative;
}

input.picker[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  color: transparent;
  background: transparent;
} */
/* EP21 Card Details Styles */
@media print {
    /* Hide the navigation pills and other UI elements */
    .nav-pills, .btn, #card_state_form, .card-header, .d-print-none {
        display: none !important;
    }
    
    /* Ensure the content takes full width */
    .tab-content {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .card {
        border: none !important;
    }

    .card-body {
        padding: 0 !important;
    }

    /* Force the active tab to show, but for printing we usually want the Card Data tab to show */
    #v-pills-card-data {
        display: block !important;
        opacity: 1 !important;
    }

    #v-pills-history {
        display: none !important;
    }
}
#filestable tbody tr td { vertical-align: middle; }
