*, *::after, *::before {
    box-sizing: border-box;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 200ms ease-in-out;
    border-radius: 10px;
    /* z-index: 9999; */
    background-color: white;
    width: 500px;
    max-width: 80%;
    box-shadow: 0 4px 200px rgba(0, 0, 0, 0.3);
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(215, 51 56 );
}

.modal-header .title {
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-header .close-button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 1.25rem;
    font-weight: bold;
 }

.modal-body {
    padding: 10px 15px;
}
/* 
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 200ms ease-in-out;
    pointer-events: none;  
}

#overlay.active {
    opacity: 1;
    pointer-events: all; 
    display: block;
}
  */
 
.hidden1 {
    display: block;  
}

.active {
    display: block;  
}

.hiddenReadMorePopup {
    display: none; /* Hidden by default */
}
 
.closeBtn{
    margin-top: 30px;
    color: rgb(219, 8, 8);
    font-weight: 600;
}
.activeReadMorePopup {
    display: block; /* Show when active */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
}