@media (min-width: 1920px) {
    body {
      font-size: 1rem;
    }
    header div > div.w-6.h-6 {
      width: 40px !important;
      height: 40px !important;
    }
    input#search {
      font-size: 18px !important;
      padding: 0.75rem 1rem !important;
    }
    button {
      font-size: 14px !important;
      padding: 0.75rem 1rem;
    }
    article h3 {
      font-size: 16px !important;
    }
    article p {
      font-size: 14px !important;
    }
    article div span {
      font-size: 12px !important;
    }
    article div.flex.justify-between span {
      font-size: 14px !important;
    }
  }

.hidden {
    display: none !important;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

.categoryDropdown .active, .subcategoryDropdown .active{
  background-color: grey;
}
span.preview-text {
    max-height: 65px !important;
    overflow: hidden !important;
    min-height: 65px !important;
    display: block;
}
.shadow_lg:hover{
    box-shadow: 0px -5px 20px 5px #808080b0;
}

/* user data */
.progress-circle {
    transition: all 0.3s ease;
    cursor: pointer;
}
.progress-circle:hover {
    transform: scale(1.1);
}
.popup {
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.popup.active {
    opacity: 1;
    pointer-events: auto;
}
.progress-bar {
    height: 6px;
    transition: width 0.6s ease;
}
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  .animate-spin {
    animation: spin 1s linear infinite;
  }
.dropdown-content {
    border: 1px solid #e5e7eb !important;
    border-top: 0 !important;
    z-index: 9 !important;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    min-width: 359.54px !important;
    width: 100% !important;
    position: absolute !important;
    margin-left: -21px !important;
    /* margin-top: 305px !important; */
    padding-bottom: 15px !important;
    padding-top: 15px;
    box-shadow: 0px 25px 20px 5px #808080b0;
}
.shadow_lg:hover{
    box-shadow: 0px -5px 20px 5px #808080b0;
}
span.preview-text {
    max-height: 65px !important;
    overflow: hidden !important;
    min-height: 65px !important;
    display: block;
}
@media screen and (max-width:1026px) {
body .dropdown-content {
    min-width: 460.5px !important;
    max-width: 476.5px !important;
    margin-left: -20.5px !important;
}
}
@media screen and (max-width:675px) {
body .dropdown-content {
    min-width: 358px !important;
    max-width: 358px !important;
    margin-left: -17px !important;
}
span.mob-none{
    display: none !important;
}
header.flex.justify-between {
    flex-wrap: wrap;
    gap: 10px !important;
}
.hidden.mob-visible {
    display: flex !important;
    width: 100%;
    justify-content: flex-end;
    column-gap: 10px;
}
.hidden.mob-visible a.btn.btn-sm {
    font-size: 12px !important;
}
}

/* Scrollbar Track */
.tags-scroll::-webkit-scrollbar {
    width: 10px;
    height: 3px;
}

.tags-scroll::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 5px;
}

/* Scrollbar Thumb on Hover */
.tags-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #555;    /* Slightly darker on hover */
}

/* Scrollbar Track Background */
.tags-scroll::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* Light gray background */
}

.progress-button {
    background-color: #4a6bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(74, 107, 255, 0.3);
    transition: all 0.3s ease;
}
.progress-button:hover {
    background-color: #3a5bef;
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.popup-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #666;
}

.percentage-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 0px;
}

.percentage-option:hover {
    background-color: #e9ecef;
    color: #4a6bff;
}
.progress-container {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 6px;
    margin-top: 15px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: #4a6bff;
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 480px) {
    .percentage-options {
        grid-template-columns: 1fr;
    }
}
.progress-button {
    background-color: #4a6bff;
    color: white;
    border: none;
    padding: 0 12px;              /* no vertical padding */
    font-size: 11px !important;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(74, 107, 255, 0.2);
    transition: all 0.3s ease;
    height: 24px;                 /* fixed height */
    line-height: 24px;            /* aligns text vertically */
}

.progress-button:hover {
    background-color: #3a5bef;
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.popup-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #666;
}

.percentage-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 0px;
}

.percentage-option {
    padding: 8px;
    border-radius: 8px;
    background-color: #f8f9fa;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.percentage-option:hover {
    background-color: #e9ecef;
    color: #4a6bff;
}
.progress-container {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 6px;
    margin-top: 15px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: #4a6bff;
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}
#popupModal{
    min-width:850px;max-width:850px;
}

@media screen and (max-width:1446px) {
    #popupModal{
        min-width:650px;max-width:650px;
    }
}
@media screen and (max-width:1024px) {
    #popupModal{
        min-width:550px;max-width:550px;
    }
}
@media screen and (max-width:676px) {
    body #popupModal{
        min-width:500px;max-width:500px;
        right: -30px !important;
        left:unset !important
    }
}
@media screen and (max-width:576px) {
    body #popupModal{
        min-width:450px;max-width:450px;
    }
}
@media screen and (max-width:450px) {
    body #popupModal {
        min-width: 355px;
        max-width: 355px;
    }
}
@media (max-width: 312px) {
    .percentage-options {
        grid-template-columns: 1fr;
    }
    #popupModal {
    min-width: 350px;
    max-width: 350px;
    }
}
.disabled-option {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.progress-button{
    display: block;
     height: 40px;
}

.progress-button.hidden {
  visibility: hidden;
}
