#container{
    width: 100%;
    height: 100vh;
    background-image: url('assets/image/mainbg.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-link{
    color: white;
}

.color-brand {
    color: #064F32;
}

html {
    scroll-behavior: smooth;
}

.pricing-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.toggle-bar{
    margin-top: 20px;
    display: flex;
    border-radius: 8px;
}

.discount{
    margin-left: 20px;
    background-color: #198754;
    color: #FFFFFF;
    border-radius: 50px;
    padding: 1px 7px;
    text-transform: uppercase;
    font-size: 12px;
}

.undiscount{
    background-color: #6C757D;
    color: #FFFFFF;
    border-radius: 50px;
    padding: 2px 7px;
    text-transform: uppercase;
    font-size: 12px;
    margin-left: 20px;
}

.package-item{
    width: 296px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 468px;
    border: 1px solid #E5E5E5;
    padding: 28px 24px 24px 24px;
    border-radius: 8px;
    border: 1px solid #DEE2E6;
    background:#FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}

.package-amount{
    font-size: 40px;
    color: #198754;
}

.primary-text{
    color: #6C757D !important;
}

.pricing-package{
    padding: 0 172px;
    display: flex;
    justify-content: space-around;
    gap: 24px;
    margin-top: 24px;
}

:host ::ng-deep .p-selectbutton .p-button.p-highlight{
    background-color: #D1E7DD !important;
    color: #146C43 !important;
    border: 1px solid #146C43 !important;
}

:host ::ng-deep .selectionBtn{
    .p-button{
           background-color: #FFFFFF !important;
           color: #6C757D !important;
           border: 1px solid #ccc !important;
           padding: 7px 12px;
    }
}

.package-info{
    margin-top: 40px;
    padding: 0 172px;
    display: flex;
    justify-content: space-around;
    gap: 24px;
}

.package-info-item{
    width: 296px;
    min-width: 289px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #E5E5E5 ;
    margin-top: 30px;
}

.pricing{
    overflow-y: scroll;
    max-height: calc(100vh - 100px);
}

.add-on-package{
    padding: 0 172px;
    margin-top: 40px;
}

.add-on-package-list{
    display: flex;
    /* gap: 100px; */
    justify-content: space-around;
    border: 1px solid #E5E5E5;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #DEE2E6;
    background: #FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}

.add-on-package-item{
    width: 324px;
}

.add-on-package-title{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.compare-plan{
    padding: 0 172px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.comparasion-table{
    padding: 0 172px;
}

.list-farm-logo{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-farm{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.farmer-trusted{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 172px;
}

.faq{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 172px;
}

.acodion{
    width: 456px;
    max-width: 456px;
    display: flex;
    margin: 0 auto;
}

:host ::ng-deep{
    .p-accordion-content{
           border-left: 2px solid #0D6EFD;
    }

    .p-accordion-header-link{
           background-color: #F8F7F6 !important;
           display: flex;
           justify-content: space-between;
           flex-direction: row-reverse;
           border-top: none !important;
           border-left: none !important;
           border-right: none !important;
    }

    .p-accordion-content{
           border-right: none !important;
    }
}

:host ::ng-deep .active-accordion.p-accordion-header-link{
    background-color: #fff !important;
    border-left: 2px solid #0D6EFD !important;
    border-bottom: none !important;
}
:host ::ng-deep .active-accordion{
    .p-accordion-header-text{
           color: #0D6EFD !important;
    }
}

.footer-pricing{
    display: flex;
    margin: 0 auto;
    gap: 24px;
}

.footer{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* :host ::ng-deep {
    .p-datatable-tbody > tr > td:first-child{
           border-left: none !important;
    }
    .p-datatable-tbody > tr > td:last-child{
           border-right: none !important;
    }
} */

/* :host ::ng-deep {
    .table-plans{
           .p-datatable-thead > tr > th{
                  border-top: none !important;
           }
    }

    .table-crop, 
    .table-totalcost, 
    .table-farmmap, 
    .table-cropplans, 
    .table-taskcalendar, 
    .table-traceability,
    .table-robotics,
    .table-catalog,
    .table-onlinestore,
    .table-offersheet,
    .table-farmermarket,
    .table-csa,
    .table-subcscription,
    .table-order,
    .table-pack,
    .table-customer,
    .table-vendor,
    .table-asset,
    .table-report, 
    .table-onlinepayment,
    .table-header,
    .table-toolmanagement{
           .p-datatable-thead > tr > th{
                  border-top: none !important;
                  border-left: none !important;
                  border-right: none !important;
           }
    }

    .table-totalcost{
           .p-datatable-thead > tr > th{
                  color: #0D6EFD !important;
           }
    
    }

    .table-header{
           .p-datatable-thead > tr > th{
                  background-color: transparent !important;
                  color: #146C43 !important;
                  font-size: 24px !important;
                  width: 190px !important;
                  min-width: 190px !important;
                  text-align: center !important;
                  border-bottom: none;
           }

           .p-datatable-thead > tr > th:first-child{
                  width: 205px !important;
                  min-width: 205px !important;
           }
    }

    .table-catalog{
           .p-datatable-tbody > tr > td{
                  text-align: center !important;
           }

           .p-datatable-tbody > tr > td:first-child{
                  text-align: left !important;
           }
    }
} */

.compare-plan-header{
    p{
           color: #146C43;
           font-size: 24px;
           font-style: normal;
           font-weight: 500;
    }
}

.ultimate-package{
    position: relative;
    border-radius: 8px;
    border: 2px solid #198754;
    background: #FFF;
    /* Regular Shadow */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
}

.popular{
    position: absolute; 
    top: 0px; 
    left: 0; 
    right: 0; 
    background-color: #146C43; 
    color: #ffff; 
    text-align: center; 
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.btn-tryforfree{
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-enterprise{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.btn-enterprise button{
    background: #fff;
}

.slider-for-addons{
    padding: 0 172px;
    padding-top: 40px;
}

.slider-item{
    padding: 16px 24px;
    border: 1px solid #E5E5E5;
    margin-top: 24px;
}

.btn-purchase{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.arces-value{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.table-container {
    width: calc(100% - 344px); /* 172px padding for both left and right */
    margin: 0 auto;
  }

  /* table {
    width: 100%;
    border-collapse: collapse;
  }

  th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
  }

  th {
    background-color: #f2f2f2;
  } */

  table {
    width: 100%;
    border-collapse: collapse;
  }

  th, td {
    width: 254px;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
  }

  th {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  td:first-child {
    border-left: none;
    text-align: left;
  }

  th:first-child {
    text-align: left;
  }

  td:last-child {
    border-right: none;
  }

  .text-green{
    color: #146C43 !important;
    font-size: 24px !important;
  }

  .farmer-trusted {
    margin-top: 20px !important;
  }

  .mt-20{
    margin-top: 20px !important;
  }


  .accordion-container {
    width: 456px;
    margin: auto;
    margin-bottom: 50px;
  }

  .accordion {
    width: 100%;
  }

  .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    cursor: pointer;
    transition: border-left-color 0.3s;
    border-bottom: 1px solid #DEE2E6;
    transition: border-left-color 0.3s;
  }

  .accordion-header.active {
    border-left: 2px solid #007bff;
  }

  .accordion-content {
    display: none;
    padding: 10px;
    transition: max-height 0.3s ease-out;
  }

  .accordion-content.active {
    display: block;
    border-left: 2px solid #007bff;
  }

  .accordion-header.active {
    color: #007bff;
    border-bottom: none !important;
}

.accordion-content.active {
    border-left-color: #007bff;
    max-height: 1000px; 
}

.slider-container {
    text-align: center;
}

.slider {
    width: 100%;
}

#sliderValue {
    margin-top: 10px;
}

input {
    width: 312px;
    border: 1px solid #CED4DA;
    border-radius: 4px;
    outline: none;
}

.toggle-container {
    display: flex;
    margin-top: 20px;
}

/* Thiết lập CSS cho nút toggle */
.toggle-btn {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid #6C757D;
    background-color: #ffffff;
    color: #6C757D;
}

/* Thiết lập CSS cho nút khi kích hoạt */
.toggle-btn.active {
    background-color: #D1E7DD;
    color: #146C43;
}

.toggle-btn span {
    background-color: #198754;
    color: #ffffff;
    border-radius: 50px;
    padding: 0px 8px 2px 8px;
    margin-bottom: 3px;
}

.sale-offs.active-save{
    background-color: #CED4DA;
    color: #6C757D;
}

.btn-annual{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.btn-monthly{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

p{
    margin-bottom: none !important;
}

svg{
    margin-top: 4px;
}

input[type="range"]::-webkit-slider-runnable-track {
    /* height: 15px; */
    /* background: #ffffff; */
    border-radius: 16px;
    height: 12px;
  }
  
  /* Track: Mozilla Firefox */
  input[type="range"]::-moz-range-track {
    height: 12px;
    /* background: #ccc; */
    border-radius: 16px;
  }

  .number-slider{
    display: flex;
    justify-content: space-between;
    padding-right: 5px;
    padding-left: 5px;
  }

  input[type="range"]::-moz-range-progress {
    /* background-color: #E9ECEF;  */
  }

  input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #E9ECEF;
    cursor: pointer;
    width: 15rem;
    border-radius: 16px;
  }

  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: #0D6EFD;
    margin-top: -1px;
}

.dot-list {
    list-style: none;
    padding: 0;
    display: flex;
}

.dot-list li {
    width: 4px;
    height: 4px;
    background-color: #ADB5BD;
    border-radius: 50%;
    margin-right: 22px;
}

.dot-list-slider2{
    list-style: none;
    padding: 0;
    display: flex;
}

.dot-list-slider3{
    list-style: none;
    padding: 0;
    display: flex;
}

.dot-list-slider2 li {
    width: 4px;
    height: 4px;
    background-color: #ADB5BD;
    border-radius: 50%;
    margin-right: 10px;
}

.dot-list-slider3 li{
    width: 4px;
    height: 4px;
    background-color: #ADB5BD;
    border-radius: 50%;
    margin-right: 10px;
}

.fs14{
    font-size: 14px !important;
}

.grow-feature{
    margin-top: 20px;
    margin-bottom: 8px;
    padding-left: 8px;
    color: #0D6EFD;
    font-weight: bold;
}

.bd-none{
    border-bottom: none !important;
}

table{
    thead{
        tr{
            th{
                font-size: 16px !important;
                color: #212529 !important;
            }
        }
    }

    tbody{
        tr{
            td{
                font-size: 14px !important;
                color: #212529 !important;
            }
        }
    }
}

.footer{
    margin-top: 20px;
    margin-bottom: 20px;
}

.button-list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

span{
    font-size: 14px !important;
}

::placeholder {
    color: #CED4DA;
    font-size: 16px;
}

.fs10{
    font-size: 10px !important;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    z-index: 99999;
    align-items: center;
  }
  
  .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
  }
  
  .confirm-button {
    button{
        margin: 10px;
        padding: 8px 16px;
        font-size: 16px;
        cursor: pointer;
    }
  }

  .popup-subtitle{
    overflow: hidden;
    color: var(--Gray-600, #6C757D);
    text-overflow: ellipsis;
    /* Body/Regular */
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    max-width: 452px;
  }

  .popup-header{
    color: var(--Gray-900, #212529);
    text-align: center;
    /* Heading/H4 */
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 28.8px */
    margin-top: 48px;
  }

  .confirm-button{
    display: flex;
    flex-direction: column;
  }

  .btn-change-region{
    background-color: #198754;
    color: #FFFFFF;
    &:hover {
        background-color: #146C43;
        color: #FFFFFF;
    }
  }

  .header-emails{
    display: flex;
    justify-content: center;
    align-items: center;
  }

@media (min-width: 744px) {
    .pricing-package{
        padding: 0 50px !important;
        margin-right: 40px;
    }

    .menu {
        display: block;
    }

    .menu.show-menu {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .table-container{
        width: calc(100% - 100px);
    }

    .list-item-none{
        display: none;
    }

    .btn-container{
        display: none;
    }

    .menu-icon-container{
        display: block !important;
    }

    .btn-container{
        display: none;
    }

    .nav{
        display: none !important;
    }
}

/* Thiết lập cho màn hình có kích thước lớn hơn 1200px */
@media (min-width: 1200px) {
    .pricing-package{
        padding: 0 172px !important;
    }

    .nav{
        display: flex !important;
    }

    .menu-icon-container{
        display: none !important;
    }

    .btn-container{
        display: flex;
        gap: 16px;
    }
}

@media only screen and (max-width: 720px) {
    .pricing-package{
        padding: 0 80px !important;
        margin-right: 40px;
    }

    .btn-container{
        display: none;
    }

    .nav{
        display: none !important;
    }

}

@media only screen and (max-width: 442px) {
    .pricing-package{
        padding: 0 0px !important;
        margin-right: 46px;
    }

    .text-sub-header{
        margin: 0 10px 10px 10px !important;
        text-align: center !important;
    }

    .text-try-money{
        margin: 0 79px !important;
        text-align: center !important;
    }

    .text-pricing-header{
        margin: 40px 10px 0px 10px !important;
        text-align: center !important;
    }

    .email-input{
        width: 200px !important;
    }

    .toggle-btn{
        gap: 5px;
        flex-direction: column;
        display: flex;
        width: 200px;
        align-items: center;
        padding: 0px 0px;
        width: 140px !important;
    }

    .btn-annual{
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .btn-monthly{
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .package-info-item{
        margin-top: 30px;
    }

    .add-on-package{
        margin: 0 auto;
        padding: 0px;
        width: 349px;
    }

    .add-on-package-list{
        padding: 55px;
        display: flex !important;
        flex-direction: column !important;
        gap: 50px;
    }

    .add-on-package-title{
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .compare-plan{
        padding: 0px;
    }

    .farmer-trusted{
        padding: 0px;
        margin-bottom: 20px;
    }

    .list-farm-logo{
        flex-direction: column !important;
    }

    .faq {
        padding: 0px;
    }

    .accordion-container{
        width: 300px;
    }

    .table-container {
        overflow-x: auto;
        max-width: 100%;
    }

    table {
        border-collapse: collapse;
        width: 100%;
    }

    th,
    td {
        padding: 10px;
        /* border: 1px solid #ddd; */
        text-align: left;
        font-size: 14px;
    }

    th:first-child,
    td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background-color: #FCFBFA; /* Adjust the RGBA values for the desired semi-transparent color */
        border-right: 1px solid #ddd; /* Add right border */
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Add box shadow */
        min-width: 150px !important;
    }

    th:not(:first-child) {
        background-color: #fff;
        z-index: 1;
    }

    td:not(:first-child) {
        background-color: #fff;
        z-index: 1;
    }

    .table-container {
        width: calc(100% - 20px);
        margin-left: 10px;
    }

    table{
        thead {
            tr {
                th {
                    font-size: 10px !important;
                    color: #212529 !important;
                }
                th:first-child {
                    min-width: 184px !important;
                }
            }
        }

        tbody{
            tr{
                td{
                    font-size: 10px !important;
                    color: #212529 !important;
                }
            }
        }
    }

    .nav {
        display: flex;
    }

    .menu-icon-container {
        display: none;
    }

    .btn-container{
        display: none;
    }

    .text-green{
        font-size: 14px !important;
    }

    .popup-content{
        width: 335px !important;
    }
}

.nav {
    display: flex;
}

.menu-icon-container {
    display: block;
    cursor: pointer;
    border-radius: 3.2px;
    border: 1px solid var(--Theme-Light, #F8F9FA);
    background: var(--HitBox, rgba(255, 255, 255, 0.00));
    display: flex;
    padding: 7px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    svg{
        margin-top: 0px;
    }
}

.menu-icon {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
  .add-on-package{
    padding: 0 40px !important;
  }

  .add-on-package-item{
    margin-bottom: 20px;
  }
}
