.logo {
    height: 100px;
}
.item {
    position: relative;
}

.item-purchase {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    transition: all 0.3s ease;

    display: flex;
    align-items: center;
    justify-content: center;
    
   
}

/* Show on .item hover instead of just .item-header */
.item:hover .item-purchase {
    opacity: 1;
    visibility: visible;
}
.item .item-body{
    padding: 10px;
}


.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.custom-modal-overlay.active {
    display: flex;
}

.custom-modal {
    background: #fff;
    width: 500px;
    max-width: 90%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.custom-modal-header, .custom-modal-footer {
    padding: 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.custom-modal-header h5 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    font-size: inherit;
    float: right;
    cursor: pointer;
}

.custom-modal-body {
    padding: 15px;
}


/* Navigation Buttons Container */
.item-navigation-buttons {
    position: fixed;
    top: 80%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1000;
}

/* Individual Buttons */
.nav-button {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    transition: all 0.3s ease;
    color: #333;
    border: 1px solid #eee;
}

.nav-button:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Button Positioning */
.prev-button {
    left: 20px;
}

.next-button {
    right: 20px;
}

/* Disabled State */
.nav-button.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-button {
        width: 40px;
        height: 40px;
    }
    .prev-button {
        left: 10px;
    }
    .next-button {
        right: 10px;
    }
}

/* .item .item-img{
    width: 100%;
    height: auto;
    min-height: 200px;
    aspect-ratio: 3 / 2;
    max-width: 100%;
} */
 /* .item .item-img {
    width: 100%;
    height: 200px; 
    aspect-ratio: 3 / 2; 
    object-fit: cover; 
    display: block;
} */

/* .item .item-img {
    width: 100%;              
    max-width: 100%;          
    height: auto;             
    display: block;
    object-fit: cover;
} */
.item .item-img{
    height: auto;
}
#pills-all .item .item-img{
        height: 230px;
}

#pills-all .item .item-img {
    width: 100%;
    object-fit: cover;
    display: block;
    max-height: 100%;
    /* height: auto; */
    width: auto;
}

/* Add this to enforce cropping */
#pills-all .item-img-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Responsive fixed height with cropping */
@media (max-width: 399px) {
    #pills-all .item-img-wrapper {
        height: 230px;
    }
}

@media (min-width: 390px) {
    #pills-all .item-img-wrapper {
        height: 230px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #pills-all .item-img-wrapper {
        height: 235px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    #pills-all .item-img-wrapper {
        height: 204px;
    }
}

@media (min-width: 1440px) {
    #pills-all .item-img-wrapper {
        height: 211px;
    }
}



/* @media (max-width: 399px) {
    .item .item-img {
        height: 230px; 
    }
}

@media (min-width: 390px) {
    .item .item-img {
        height: 230px; 
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .item .item-img {
        height: 235px; 
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .item .item-img {
        height: 204px;
    }
}

@media (min-width: 1440px) {
    .item .item-img {
        height: 211px; 
    }
} */




.item.item-inline .item-img{
    width: 320px;
    height: auto;
    min-height: 200px;
}

.new-plan i.fa.fa-check {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        color: var(--primary_color);
        margin-right: 16px;
        font-size: 13px;
        overflow: hidden;
        z-index: 0;
}
.new-plan .plan-features {
    margin-top: 5px;
}
.new-plan  .plan-feat {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 17px;
}
.new-plan .plan-feat-icon i.fa.fa-check::after {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary_color);
    opacity: 0.2;
    z-index: -1;
}


.radio-wrapper {
    font-family: Arial, sans-serif;
}

.radio-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-trigger {
    background: #ddd;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    user-select: none;
}

.tooltip-content {
    display: none;
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 13px;
    width: 220px;
    z-index: 100;
}

.tooltip-arrow {
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #333;
}

.tooltip-wrapper:hover .tooltip-content,
.tooltip-trigger:focus + .tooltip-content {
    display: block;
}


/* Add to your styles */
.file-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-button {
    z-index: 1;
    pointer-events: none; /* Allows click to pass through to the hidden file input */
}

.file-input-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
}

.uploaded-file {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    gap: 1rem;
    margin-top: 0.5rem;
}

.uploaded-file-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.uploaded-file-info {
    flex: 1;
}

.uploaded-file-name {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.uploaded-file-time {
    margin: 0;
    font-size: 0.75rem;
    color: #6c757d;
}

.uploaded-file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
}

.success-mark {
    color: #28a745;
    margin-right: 0.5rem;
}