.elementor-84452 .elementor-element.elementor-element-3e15952{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-84452 .elementor-element.elementor-element-a62105d{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;border-style:solid;--border-style:solid;border-width:0px 0px 1px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:1px;--border-left-width:0px;border-color:var( --e-global-color-5d79a96 );--border-color:var( --e-global-color-5d79a96 );--padding-top:64px;--padding-bottom:64px;--padding-left:0px;--padding-right:0px;}.elementor-84452 .elementor-element.elementor-element-b7d87e5{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:64px 64px;--row-gap:64px;--column-gap:64px;border-style:none;--border-style:none;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-84452 .elementor-element.elementor-element-b7d87e5:not(.elementor-motion-effects-element-type-background), .elementor-84452 .elementor-element.elementor-element-b7d87e5 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-afa25fb );}.elementor-84452 .elementor-element.elementor-element-f551c5c{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-84452 .elementor-element.elementor-element-489ff46{width:100%;max-width:100%;text-align:start;}.elementor-84452 .elementor-element.elementor-element-489ff46 .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );color:var( --e-global-color-9923168 );}.elementor-84452 .elementor-element.elementor-element-37c16c0{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;border-style:solid;--border-style:solid;border-width:0px 0px 1px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:1px;--border-left-width:0px;border-color:var( --e-global-color-5d79a96 );--border-color:var( --e-global-color-5d79a96 );--padding-top:48px;--padding-bottom:48px;--padding-left:0px;--padding-right:0px;}.elementor-84452 .elementor-element.elementor-element-7bb8c66{--display:flex;}@media(min-width:786px){.elementor-84452 .elementor-element.elementor-element-3e15952{--content-width:100%;}}@media(max-width:1060px){.elementor-84452 .elementor-element.elementor-element-a62105d{--padding-top:32px;--padding-bottom:32px;--padding-left:0px;--padding-right:0px;}.elementor-84452 .elementor-element.elementor-element-b7d87e5{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:32px 32px;--row-gap:32px;--column-gap:32px;}.elementor-84452 .elementor-element.elementor-element-489ff46 .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-84452 .elementor-element.elementor-element-37c16c0{--padding-top:32px;--padding-bottom:32px;--padding-left:0px;--padding-right:0px;}}@media(max-width:785px){.elementor-84452 .elementor-element.elementor-element-b7d87e5{--gap:24px 24px;--row-gap:24px;--column-gap:24px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-84452 .elementor-element.elementor-element-489ff46 .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-84452 .elementor-element.elementor-element-7bb8c66{--gap:16px 16px;--row-gap:16px;--column-gap:16px;}.elementor-84452 .elementor-element.elementor-element-bac7268{width:100%;max-width:100%;}}/* Start custom CSS for container, class: .elementor-element-3e15952 */.changelog-breadcrumb {
    font-size: 0.875rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #eeeeee;
}

.changelog-breadcrumb  a {
    color: #7FABFF;
    text-decoration: none;
    transition: color 0.2s;
}

.changelog-breadcrumb  a:hover {
    color: #4d89f9;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 4px;
    color: #94a3b8;
}

.breadcrumb-current {
    color: #eeeeee80;
    font-weight: 500;
}
/* --------------------------------------------------
   MOBILE FILTER BUTTON
-------------------------------------------------- */
.sd-filter-toggle {
    display: none;
    width: 100%;
    background: rgba(127, 171, 255, 0.10)!important;
    border: 1px solid rgba(127, 171, 255, 0.20)!important;
    padding: 0.9rem 1.5rem 0.9rem 1rem!important;
    border-radius: 0.5rem!important;
    color: #BED3FF!important;
    font-size: 1rem!important;
    line-height:1!important;
    font-weight: 500!important;
    text-align: left!important;
    cursor: pointer!important;
    position: relative!important;
    transition: background 0.2s, border-color 0.2s!important;
}

.sd-filter-toggle:hover {
    background: rgba(127, 171, 255, 0.15)!important;
    border-color: rgba(127, 171, 255, 0.35)!important;
}

.sd-filter-toggle:active {
    background: rgba(127, 171, 255, 0.20)!important;
}

.sd-filter-toggle:focus {
    outline: none!important;
    box-shadow: none!important;
}

/* Chevron icons */
.sd-filter-toggle .chevron {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("https://www.nagios.com/wp-content/uploads/2025/09/chevron-down.svg");
}

.sd-filter-toggle.open .chevron {
    background-image: url("https://www.nagios.com/wp-content/uploads/2025/09/chevron-up.svg");
}

/* --------------------------------------------------
   FILTER BAR
-------------------------------------------------- */
.sd-filter-bar {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(127, 171, 255, 0.08);
    border: 1px solid rgba(127, 171, 255, 0.15);
    padding: 1rem;
    border-radius: 0.5rem;
    position: relative;
    z-index: 10;
}

.sd-filter-left,
.sd-filter-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    position: relative;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sd-filter-bar label {
    color: #9FBFFF;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Inputs and dropdowns - Custom styling with WordPress chevrons */
#changelog-product-filter,
#changelog-sort-filter,
#changelog-search-input {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(127, 171, 255, 0.25);
    border-radius: 0.3rem;
    color: #D9E6FF;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
    transition: border-color 0.2s ease;
}

#changelog-product-filter,
#changelog-sort-filter {
    cursor: pointer;
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("https://www.nagios.com/wp-content/uploads/2025/09/chevron-down.svg");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

/* Style dropdown options for all browsers */
#changelog-product-filter option,
#changelog-sort-filter option {
    background: #1a1a2e;
    color: #D9E6FF;
    padding: 0.5rem;
    border: 1px solid rgba(127, 171, 255, 0.2);
}

#changelog-product-filter option:hover,
#changelog-sort-filter option:hover {
    background: rgba(127, 171, 255, 0.2);
    border-color: rgba(127, 171, 255, 0.3);
}

#changelog-product-filter option:checked,
#changelog-sort-filter option:checked {
    background: rgba(127, 171, 255, 0.3);
    color: #BED3FF;
    border-color: rgba(127, 171, 255, 0.4);
}

#changelog-product-filter {
    width: 250px;
}

#changelog-sort-filter {
    width: 150px;
}

#changelog-search-input {
    width: 300px;
}

#changelog-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#changelog-sort-filter:hover,
#changelog-product-filter:hover,
#changelog-search-input:hover {
    border-color: rgba(127, 171, 255, 0.4);
}

#changelog-sort-filter:focus,
#changelog-product-filter:focus,
#changelog-search-input:focus {
    outline: none;
    border-color: rgba(127, 171, 255, 0.6);
    background: rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------
   MOBILE COLLAPSE
-------------------------------------------------- */
@media (max-width: 768px) {
    .sd-filter-toggle {
        display: block;
        margin-bottom: 0.75rem;
    }

    .sd-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0;
        margin-bottom: 0;
        border: none;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    }

    .sd-filter-bar.open {
        max-height: 500px;
        opacity: 1;
        padding: 1rem;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(127, 171, 255, 0.15);
    }

    .sd-filter-left,
    .sd-filter-right {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
    }

    .sd-filter-bar label {
        width: 100%;
    }

    #changelog-product-filter,
    #changelog-sort-filter,
    #changelog-search-input {
        width: 100% !important;
    }
}

/* --------------------------------------------------
   CHANGELOG CARDS - NEW UNIFIED DESIGN
-------------------------------------------------- */
#changelog-archive-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Main card container - wraps everything in one unified card */
.changelog-card {
  background: rgba(127, 171, 255, 0.04);
  border: 1px solid rgba(127, 171, 255, 0.12);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.changelog-card:hover {
  background: rgba(127, 171, 255, 0.06);
  border-color: rgba(127, 171, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card header - contains title and view details button */
.card-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(127, 171, 255, 0.06);
  border-bottom: 1px solid rgba(127, 171, 255, 0.1);
}

h3.version-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}

.release-summary p{
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* View details link */
a.view-details-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(127, 171, 255, 0.15);
  border: 1px solid rgba(127, 171, 255, 0.3);
  border-radius: 0.375rem;
  color: #eeeeee;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

a.view-details-link:hover {
  background: rgba(127, 171, 255, 0.25);
  border-color: rgba(127, 171, 255, 0.45);
  color: #ffffff;
  text-decoration: none;
  transform: translateX(2px);
}

.view-details-link .arrow-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url("https://www.nagios.com/wp-content/uploads/2025/06/arrow-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
}

a.view-details-link:hover .arrow-icon {
  transform: translateX(2px);
}

/* Card content - contains all sections */
.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Changelog sections - keep subtle backgrounds but no heavy borders */
.changelog-section {
  /* Background and borders are applied inline from JavaScript */
}

.changelog-section:last-child,
.component-section:last-child {
  margin-bottom: 0;
}

.changelog-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem 0;
}

.changelog-section ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.changelog-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.changelog-section li::marker {
  color: inherit;
}

.changelog-section li:last-child {
  margin-bottom: 0;
}

/* Component sections */
.component-section {
  /* Background and borders are applied inline from JavaScript */
}

.component-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.component-section ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.component-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.component-section li::marker {
  color: inherit;
}

.component-section li:last-child {
  margin-bottom: 0;
}

/* Search highlighting */
.search-highlight {
  background: rgba(255, 235, 59, 0.3);
  color: #FFF9C4;
  padding: 0.1rem 0.2rem;
  border-radius: 0.2rem;
  font-weight: 500;
}

/* Loading spinner */
.changelog-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(127, 171, 255, 0.2);
  border-top-color: #7FABFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.changelog-loading p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin: 0;
}

/* No results / Error messages */
.no-results,
.error-message {
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive design */
@media (max-width: 785px) {
  #changelog-archive-container {
    gap: 1.25rem;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  h3.version-title {
    font-size: 1.125rem;
  }

  a.view-details-link {
    align-self: stretch;
    justify-content: center;
  }

  .card-content {
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .card-header {
    padding: 0.875rem 1rem;
  }
  
  h3.version-title {
    font-size: 1rem;
  }

  .card-content {
    padding: 1rem;
  }

  .changelog-section,
  .component-section {
    padding: 0.75rem;
  }

  .changelog-section h4,
  .component-section h4 {
    font-size: 0.8125rem;
  }

  .changelog-section li,
  .component-section li {
    font-size: 0.875rem;
  }
}/* End custom CSS */