/* CSS Custom Properties for responsive design */
:root {
  --chkpt-grid-gap: 20px;
  --chkpt-card-min-width: 300px;
  --chkpt-card-max-width: 400px;
  --chkpt-slider-max-width: 1200px;
}

.chkpt-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--chkpt-card-min-width), 1fr));
    gap: var(--chkpt-grid-gap);
    width: 100%;
    max-width: 100%;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .chkpt-package-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    :root {
        --chkpt-card-min-width: 280px;
        --chkpt-grid-gap: 15px;
    }
}

@media (max-width: 480px) {
    .chkpt-package-grid {
        gap: 10px;
    }
    
    :root {
        --chkpt-card-min-width: 250px;
        --chkpt-grid-gap: 10px;
    }
}

/* Ensure Splide container takes full width */
.splide.chkpt-package-slider {
    width: 100%;
    /* Optionally set a max-width if desired */
    max-width: 1200px;
    margin: 0 auto; /* Center the slider */
}
.splide__pagination__page {
    top:20px;
}

/* Ensure Splide list and slides take full height */
.splide__list {
    display: flex;
    align-items: flex-start; /* Make all slides stretch to the tallest slide */
}

.splide__slide {
    display: flex;
    align-items: stretch;

    padding: 10px;
    box-sizing: border-box;
}


/* Ensure the package card fills the slide */
.chkpt-package-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd; /* Optional: Add border for visibility */
    padding: 20px; /* Adjust padding as needed */
    background-color: #fff; /* Adjust background as needed */
}

.chkpt-package-radio {
    margin-top:10px;
}

.chkpt-package-radio input[type="radio"] {
    width: 20px;
    height: 20px;
}

/* Make sure internal elements can grow */
.chkpt-package-card > * {
    flex: 1;
}

/* Handle the accordion content */
.chkpt-package-accordion-content {
    flex: 1;
    /* Ensure it doesn't collapse the card */
    min-height: 50px; /* Adjust based on expected content */
}

/* Optional: Set a minimum height for package cards */
.chkpt-package-card {
    min-height: 300px; /* Adjust based on design requirements */
}

/* Optional: Ensure images are responsive */
.chkpt-package-image img {
    max-width: 100%;
    height: auto;
    display: block;
}
.chkpt-package-card label {
    width:100%;
}

.chkpt-package-accordions {
    width:100%!important;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background-image:none!important;
  }
  .ui-state-active, .ui-widget-content .ui-state-active {
    background-image:none!important;
  }

.ui-state-default, .ui-widget-content .ui-state-default {
    background-image:none!important;
}
.chkpt-package-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.chkpt-package-card p {
    margin-bottom: 10px;
    font-size: 16px;
}

.chkpt-package-card .button {
    margin-top: 15px;
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.chkpt-package-card .button:hover {
    background-color: #005983;
}

.accordion-toggle-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.chkpt-package-accordion-header.accordion-open .accordion-toggle-icon {
    transform: translateY(-40%) rotate(135deg); /* Arrow points down when open */
}

.chkpt-package-accordion-content {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.ui-state-highlight {
    height: 40px; /* Set this height similar to the package rows */
    background-color: #f4f4f4;
    border: 1px dashed #ccc;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    border: 0px!important;
    width:100%;
    outline: none;
}
.ui-state-active {
    border:0px!important;
    color:#333!important;
}
.chkpt-package-card {
    position: relative;
}

.chkpt-package-card.selected {
    border: 2px solid #007cba; /* Adjust the color as needed */
    box-shadow: 0 0 10px rgba(0, 124, 186, 0.5);
}

.chkpt-package-card .chkpt-package-selected-icon {
    position: absolute;
    top: -35px;
    left: -14px;
    display: none;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
}

.checkbox-black {
    background-image: url(../../checkbox-black.png)!important;
}

.checkbox-navy {
    background-image: url(../../checkbox-navy.png)!important;
}

.checkbox-orange {
    background-image: url(../../checkbox-orange.png)!important;
}

.checkbox-green {
    background-image: url(../../checkbox-green.png)!important;
}

.checkbox-blue {
    background-image: url(../../checkbox-blue.png)!important;
}

.chkpt-package-card.selected .chkpt-package-selected-icon {
    display: block;
}
.splide__list {
    padding-top: 28px !important;
}
/*
 colors
*/

