html[data-user-theme=blue] #category-filter {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E") right 10px center/12px no-repeat #293643;
	border: 1px solid rgb(66 80 95);
	padding-right: 30px
}

#category-filter:focus,
html[data-user-theme=blue] #category-filter:focus,
html[data-user-theme=dark] #category-filter:focus {
	border-color: #269bce
}

html[data-user-theme=blue] .loading-overlay {
	background-color: rgb(41 54 68 / 90%);
    border-radius: 8px;
}

html[data-user-theme=dark] #category-filter {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E") right 10px center/12px no-repeat #141414;
	border: 1px solid rgb(44 44 44);
	padding-right: 30px
}

html[data-user-theme=dark] .loading-overlay {
	background-color: rgb(21 21 21 / 90%);
    border-radius: 8px;
}

#category-filter {
	appearance: none;
	padding: 10px 30px 10px 15px;
	font-size: 16px;
	font-family: "Open Sans", "Helvetica Neue", sans-serif;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	outline: 0;
	cursor: pointer;
	transition: .3s;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px
}

#category-filter:hover {
	border-color: #888
}

@media (max-width:768px) {
	#category-filter {
		width: 100%;
		font-size: 14px
	}
}

/* Container and Loading Styles */
.updates-container {
    position: relative;
}

#updates-list {
    position: relative;
    min-height: 200px;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Update Item Styles */
.update-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.update-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.update-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.update-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.insights-list ul, .insights-2-list ul {
        padding-left: 2rem;
    }

.update-kb {
    color: #464646;
    font-size: 24px;
    font-family: Roboto;
}

.update-date, .release-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.release-date {
    font-size: 13px;
}

/* Tag Styles */
.update-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag {
    margin-right: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.tag.Production { background-color: rgba(52, 199, 166, 0.1); color: rgb(52, 199, 166); }
.tag.Security { background-color: rgba(255, 149, 149, 0.1); color: rgb(255, 91, 91); }
.tag.Optional { background-color: rgba(100, 149, 237, 0.1); color: rgb(100, 149, 237); }
.tag.Feature { background-color: rgba(199, 102, 255, 0.1); color: rgb(199, 102, 255); }
.tag.Bug { background-color: rgba(255, 198, 102, 0.1); color: rgb(255, 198, 102); }

/* Expand Button Styles */
.expand-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    transition: transform 0.2s ease;
}

.expand-button:hover {
    color: #333;
}

.expand-button i {
    font-size: 14px;
}

/* Update Details Styles */
.update-details {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.details-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

.details-content i {
    margin-right: 8px;
    color: #3498db;
}

.details-footer {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Download Button Styles */
.download-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #2199d1;
    color: white;
    font-size: 14px;
    border-radius: 8px;
    background-image: none !important;
}

.download-button:hover {
    background-color: #2980b9;
}

/* Filter Styles */
.updates-filters {
    margin-bottom: 20px;
}

#category-filter {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

/* Load More Button Styles */
.load-more-container {
    text-align: center;
    margin-top: 20px;
}

#load-more {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

#load-more:hover {
    background-color: #2980b9;
}


.updates-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bugs-fixed h3,
.features-added h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.update-insights h3, .update-insights-2 h3 {
    margin-top: 0px;
	font-size: 20px;
    font-weight: 500;
}


.bugs-list,
.features-list {
    font-size: 14px;
    color: #666;
}

.bugs-list ul,
.features-list ul {
    margin: 0;
    padding-left: 20px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.analysis-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #6c757d;
    color: white;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    background-image: none !important;
}

.analysis-button:hover {
    background-color: #5a6268;
    color: white;
    text-decoration: none;
}

/* Dark mode styles */
html[data-user-theme="dark"] .updates-summary {
    border-color: rgb(44 44 44);
}

html[data-user-theme="dark"] .bugs-list,
html[data-user-theme="dark"] .features-list {
    color: #c3c3c3;
}

/* Icons */

.details-content p {
    margin: 0;
}


.fa-exclamation-circle:before,
.fa-chevron-up:before,
.fa-chevron-down:before,
.fa-download:before,
.fa-calendar:before  {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  background-size: cover;
  margin-right: 5px;
  vertical-align: middle;
  margin-top: -4px;
}

.fa-chevron-up:before,
.fa-chevron-down:before {
margin: 0px 0px 5px;
}

.fa-clock:before {
content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: cover;
  margin-right: 8px;
  vertical-align: middle;
  margin-top: -2px;
}

.fa-chart-line:before, .fa-lightbulb:before, .fa-bug:before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background-size: cover;
  margin-right: 8px;
  vertical-align: middle;
  margin-top: -3px;
}

.analysis-button .fa-chart-line:before {
	 filter: brightness(0) invert(1);
}


.fa-calendar:before {
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5' /%3E%3C/svg%3E%0A");
}

.fa-exclamation-circle:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z' /%3E%3C/svg%3E%0A");
}

.fa-bug:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z' /%3E%3C/svg%3E");
}

.fa-clock:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z' /%3E%3C/svg%3E%0A");
}

.fa-chevron-up:before {
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 15.75 7.5-7.5 7.5 7.5' /%3E%3C/svg%3E%0A");
}

.fa-chevron-down:before {
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
}

.fa-download:before {
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3' /%3E%3C/svg%3E%0A");
	    filter: brightness(0) invert(1);
}

.fa-lightbulb:before {
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z' /%3E%3C/svg%3E%0A"); 
}

.fa-chart-line:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10.5 6a7.5 7.5 0 1 0 7.5 7.5h-7.5V6Z' /%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 10.5H21A7.5 7.5 0 0 0 13.5 3v7.5Z' /%3E%3C/svg%3E%0A");
}




html[data-user-theme="blue"] .fa-exclamation-circle::before, html[data-user-theme="blue"] .fa-chevron-up::before, html[data-user-theme="blue"] .fa-chevron-down::before, html[data-user-theme="blue"] .fa-download::before, html[data-user-theme="blue"] .fa-calendar::before,
html[data-user-theme="blue"] .fa-lightbulb::before,
html[data-user-theme="blue"] .fa-bug::before, 
html[data-user-theme="blue"] .fa-clock::before,
html[data-user-theme="blue"] .fa-chart-line::before {
  filter: brightness(0) invert(1);
}

html[data-user-theme="blue"] .updates-summary {
border-top: 1px solid rgb(66 80 95);
border-bottom: 1px solid rgb(66 80 95);
}

html[data-user-theme="dark"] .fa-exclamation-circle::before, html[data-user-theme="dark"] .fa-chevron-up::before, html[data-user-theme="dark"] .fa-chevron-down::before, html[data-user-theme="dark"] .fa-download::before, html[data-user-theme="dark"] .fa-calendar::before,
html[data-user-theme="dark"] .fa-lightbulb::before,
html[data-user-theme="dark"] .fa-bug::before, 
html[data-user-theme="dark"] .fa-clock::before,
html[data-user-theme="dark"] .fa-chart-line::before {
  filter: brightness(0) invert(1);
}


/* Mobile-first styles */
@media screen and (max-width: 768px) {

  .updates-summary {
    display: flex;
    flex-direction: column;
    gap: 0rem;
  }
	

	
.fa-exclamation-circle:before,
.fa-chevron-up:before,
.fa-chevron-down:before,
.fa-download:before,
.fa-calendar:before  {
  width: 15px;
  height: 15px;
  margin-top: -3px;
}

.fa-chevron-up:before,
.fa-chevron-down:before {
margin: 0px 0px 5px;
}

.fa-clock:before {
content: '';
  width: 15px;
  height: 15px;
}

.fa-chart-line:before, .fa-lightbulb:before, .fa-bug:before {
  width: 15px;
  height: 15px;
}	
	

  .update-insights,
  .update-insights-2 {
    width: 100%;
  }

  .details-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .analysis-button,
  .download-button {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
  }

  /* Improve typography for mobile */
  .update-kb {
    font-size: 1.125rem;
  }

  .details-content p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* Improve list readability */
  .insights-list ul,
  .insights-2-list ul {
    padding-left: 1.25rem;
  }

  .insights-list li,
  .insights-2-list li {
    margin-bottom: 0.5rem;
  }

  /* Add touch-friendly spacing */
  .expand-button {
    padding: 0rem !important;
    min-height: inherit !important;
    min-width: inherit !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  * Improve typography for mobile */
  .update-kb {
    font-size: 1rem; /* Reduced from 1.125rem */
  }

  .update-date span,
  .release-date span {
    font-size: 0.8125rem; /* Slightly smaller date text */
  }

  .update-insights h3,
  .update-insights-2 h3 {
    font-size: 1.2rem; /* Smaller heading size */
  }

  .insights-list ul,
  .insights-2-list ul {
    padding-left: 1.25rem;
		margin-bottom: 0px
  }
	
	.insights-list ul {
    margin-bottom: 20px !important;
}

  .insights-list li,
  .insights-2-list li {
   font-size: 0.875rem;
  }

  .tag {
    font-size: 0.75rem; /* Smaller tag text */
    padding: 0.25rem 0.5rem; /* Adjusted padding for smaller text */
  }

  .action-buttons a {
    font-size: 0.875rem; /* Slightly smaller button text */
  }

  /* Add touch-friendly spacing */
  .expand-button {
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/** Mobile CSS ENDED **/




html[data-user-theme="blue"] .update-item {
    background: #293643;
        border: 1px solid rgb(66 80 95);
}

html[data-user-theme="blue"] .update-kb {
    color: #e6edf3;
}

html[data-user-theme="blue"] .update-date, html[data-user-theme="blue"] .release-date {
    color: #c3c3c3;
}

html[data-user-theme="blue"] .update-details {
  border-top: 1px solid rgb(66 80 95);
}

html[data-user-theme="blue"] .expand-button:hover {
   color: #e6edf3;
}

html[data-user-theme="blue"] .update-item:hover {
   background-color: #25323e;
}


/** Dark Mode **/

html[data-user-theme="dark"] .update-item {
    background: #141414;
         border: 1px solid rgb(44 44 44);
}

html[data-user-theme="dark"] .update-kb {
    color: #e6edf3;
}

html[data-user-theme="dark"] .update-date, html[data-user-theme="dark"] .release-date {
    color: #c3c3c3;
}

html[data-user-theme="dark"] .update-details {
  border-top: 1px solid rgb(44 44 44);
}

html[data-user-theme="dark"] .expand-button:hover {
   color: #e6edf3;
} 

html[data-user-theme="dark"] .update-item:hover {
   background-color: #181818;
}