.btn.btn-2 {
    background: #256D5E;
    box-shadow: 4px 8px 24px rgba(37, 109, 94, 0.25);
}
/* Ensure Download APP (non-invert) default text is white */
.header-one__btn .list .item a.btn.btn-2:not(.btn-invert) {
    color: #FFFFFF;
}
/* Header Download APP hover: white bg, dark gray text */
.header-one__btn .list .item a.btn.btn-2:not(.btn-invert):hover {
    background: #FFFFFF;
    color: #333333;
}
/* Ensure the header last button (Download APP) follows white hover */
.header-one.header-two .header-one__btn .list .item:last-child a.btn.btn-2:hover {
    background: #FFFFFF;
    color: #333333;
    border-color: #000000;
    border: 1px solid #000000;
}
.btn.btn-2.btn-invert {
    background: #FFFFFF;
    color: #256D5E;
    border: 1px solid #256D5E;
}
.btn.btn-2.btn-invert:hover {
    background: #256D5E;
    color: #FFFFFF;
    border-color: #256D5E;
    box-shadow: 4px 8px 24px rgba(37, 109, 94, 0.25);
}
/* Increase specificity for header Vendor Signup hover text color */
.header-one__btn .list .item a.btn.btn-2.btn-invert:hover {
    color: #FFFFFF;
}
.banner-2 .banner-content ul li:last-child a {
    color: #256D5E;
}
.banner-2 .banner-content ul li:last-child a:hover {
    background: #256D5E;
}
.btn.btn-2:hover {
    color: #256D5E;
}
.footer.footer2 {
    background: #256D5E;
    background: var(--Primary-Gradient, linear-gradient(0deg, #256D5E 5.02%, #1A624C 128.84%));
}
.header-one.header-two {
    padding: 0 70px;
}
.how-it-work-item span {
    background: #69818d;
    color: #fff;
}
.sponser2 .swiper_wrapper .arrow-sponser:hover {
    background: #69818d;
    border-color: #69818d;
}
.cta.cta2 .cta__content-box p {
    color: #e5e5e5;
}
.footer.footer2 .footer__bottom .footer__right-nav .list .item a,
.footer.footer2 .footer__nav-item .list .item a {
    color: #e5e5e5;
}
.footer__bottom {
    border-color: #e5e5e5; 
}
.header-one.header-two .header-one__btn .list .item:last-child a:hover {
    background: #256D5E;
    border-color: #256D5E;
    box-shadow: 4px 8px 24px rgba(40, 158, 97, 0.25);
}
.hash{
    font-weight: 500;
    color: #256D5E;
}
.sponser2__item {
    height: 100%;
    width: 100%;
    border-radius: 0;
    box-shadow: 0px 20px 80px -30px rgba(0, 0, 0, 0.07);
}
.sponser2 .swiper-slide:nth-child(2n) .sponser2__item {
    margin-top: 0px;
}
.footer__right-nav .list .item::before {
    background: #fff;
}
.footer.footer2 .footer__bottom .footer__right-nav .list .item a:hover {
    color: #fff;
}
.header-one.header-two .header-one__logo img{
    max-height: 60px;
}
.platform__box .platform-content-box .item{
    width: 50%;
}
.footer.footer2 .footer__nav-item .list .item a:hover {
    color: #fff;
}
.footer__nav-item .list .item{
    color: #e5e5e5;
}
.applounch-scroll-top-icon {
    color: #69818d;
}
.applounch-scroll-top > svg.progress-circle path {
    stroke: #69818d;
}
.banner-2{
    margin-left: 0;
    margin-right: 0;
}
.cta.cta2 {
    background: #0D1F23 !important;
}
.footer.footer2 {
    background: #5a636a !important;
}
.platform__box .content-box .title {
    color: #FFF;
}
.features {
    position: relative;
    background-image: url(../images/platform-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;
}
.features__title {
    color: #FFFFFF;
}
.features2__content .content-box {
    padding: 20px 30px 20px 30px;
}
.features-item::before{
    background: #AFB3B7 !important;
}
.features-item {
    height: calc(100% - 40px);
}
.header-one.header-two .header-one__btn .list .item a{
    font-size: 16px;
}
.header-one.header-two { padding: 0 40px; }
.header-one__btn .list { display: flex; flex-wrap: wrap; gap: 8px; }
.header-one.header-two .header-one__btn .list .item a { white-space: normal; }
.header-one__btn .list .item{
    margin-left: 0;
}
.header-one.header-two .header-one__btn .list .item a {
    white-space: normal;
}
@media only screen and (max-width: 767px){
    .header-one.header-two .header-one__logo {
        margin-top: 14px;
    }
    .header-one.header-two.header-sticky.sticky {
        min-height: 65px;
    }
    .cta__content-box .download-box .list .item{
        margin-right: 0;
    }
    .header-one__menu .stellarnav .menu-toggle .bars {
        top: -8px !important;
    }
    .header-one.header-two{
        padding: 0 0;
    }
    .platform__box .platform-content-box .item {
        width: auto;
    }
    .header-one.sticky .header-one__menu .stellarnav .menu-toggle .bars {
        top: 5px !important;
    }
    .header-one__logo {
        top: -8px;
        position: relative;
    }
    .header-one.header-two.header-sticky.sticky .header-one__logo {
        top: 0px;
        padding: 5px 0px;
    }
}

@media only screen and (max-width: 575px){
    .banner-thumb{
        max-width: 300px;
        margin: 0 auto;
    }
    .platform-mobile{
        text-align: center !important;
    }
    .service2__thumb-heignt-min{
        min-height: 380px;
    }
    .service2__thumb img,
    .platform-mobile img{
        max-width: 280px;
    }
    .service2__thumb ,
    .features2__thumb{
        text-align: center !important;
    }
    .features2__thumb img{
        max-width: 280px;
    }
    .cta__thumb img{
        max-width: 280px;
    }
    .sponser2__item {
        max-width: 280px;
        margin: 0 auto;
    }
    .gap {
        height: 90px;
    }
    .counter {
        padding-top: 50px;
    }
    .features2 {
        padding-top: 35px;
    }
    .banner-2 .banner-thumb .item-2{
        display: none;
    }
}

@media only screen and (max-width: 767px){
    .header-sticky.sticky .stellarnav.light .main-nav__navigation-box {
        margin-top: 15px;
    }
}

@media only screen and (min-width: 992px){
    .header-one__btn .list { flex-wrap: nowrap; gap: 10px; }
    .header-one.header-two .header-one__btn .list .item a { white-space: nowrap; }
}

/* Wizard styles */
.wizard__header { position: relative; }
.wizard__track { position: absolute; top: 16px; left: 0; right: 0; height: 4px; background: #e8eef0; border-radius: 999px; }
.wizard__track-fill { position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, #256D5E 0%, #1A624C 100%); border-radius: 999px; transition: width .35s ease; }
.wizard__steps { list-style: none; padding-left: 0; margin: 0; position: relative; }
.wizard__step { position: relative; z-index: 2; text-align: center; flex: 1; color: #5a6b70; font-weight: 600; font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wizard__dot { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #eef3f4; color: #69818d; border: 2px solid #eef3f4; transition: all .2s ease; box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.wizard__step.active .wizard__dot { background: #256D5E; color: #fff; border-color: #1A624C; }
.wizard__step.completed .wizard__dot { background: #1A624C; color: #fff; border-color: #1A624C; }
.wizard__label { white-space: nowrap; }
.product-item { background: #f8f9fa; border-radius: 12px; }

/* Elegant modal styling */
#vendorSignupModal .modal-content { border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); overflow: hidden; }
#vendorSignupModal { z-index: 1085; }
.modal-backdrop { z-index: 1080; }
#vendorSignupModal .modal-header { border-bottom: 1px solid rgba(0,0,0,0.06); }
#vendorSignupModal .modal-title { font-weight: 700; color: #0D1F23; }
#vendorSignupModal .modal-body { padding-top: 1rem; padding-bottom: 1.25rem; }
#vendorSignupModal .form-control, 
#vendorSignupModal .form-select { border-radius: 10px; border-color: #e2e8eb; }
#vendorSignupModal .form-control:focus, 
#vendorSignupModal .form-select:focus { border-color: #256D5E; box-shadow: 0 0 0 0.2rem rgba(37,109,94,0.15); }
#vendorSignupModal .btn-outline-secondary { border-radius: 10px; }

/* Modern form fields */
.form-field { display: block; }
.form-field .form-label { font-weight: 600; color: #0D1F23; margin-bottom: 6px; }
.input-with-icon { position: relative; }
.input-with-icon .input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8aa0a7; }
.input-with-icon .form-control { padding-left: 40px; }
.help-text { color: #6c7e84; font-size: 12px; margin-top: 6px; }

/* Pills / chips */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid #d8e2e5; color: #345057; background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: all .2s ease; }
.pill:hover { border-color: #b8c7cb; }
.pill.active { background: #256D5E; color: #fff; border-color: #1A624C; }

/* Upload dropzone */
.upload-dropzone { border: 1.5px dashed #c9d6da; border-radius: 12px; padding: 16px; background: #fbfcfc; text-align: center; color: #5a6b70; transition: border-color .2s ease, background .2s ease; }
.upload-dropzone:hover { border-color: #256D5E; background: #f6faf9; }
.upload-dropzone input[type="file"] { display: none; }
.upload-dropzone .btn { margin-top: 8px; }
.upload-previews { display: grid; grid-template-columns: repeat(5, 56px); gap: 8px; margin-top: 10px; justify-content: center; }
.upload-previews .preview { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #eef3f4; border: 1px solid #e1e8ea; display: flex; align-items: center; justify-content: center; }
.upload-previews .preview img { width: 100%; height: 100%; object-fit: cover; }

/* Repeater item */
.product-item { background: #f8f9fa; border-radius: 12px; border: 1px solid #edf2f4; }
.product-item .product-header { border-bottom: 1px solid #edf2f4; }
.product-item.collapsed .product-body { display: none; }
.product-item .product-title { font-weight: 600; color: #0D1F23; }
.product-item .item-actions { display: flex; gap: 8px; justify-content: flex-end; }
.product-item .btn-link { color: #69818d; text-decoration: none; }
.product-item .btn-link:hover { color: #256D5E; }

/* Validation */
.is-invalid { border-color: #dc3545 !important; }
.invalid-feedback { display: none; color: #dc3545; font-size: 12px; margin-top: 4px; }
.is-invalid + .invalid-feedback { display: block; }

/* Backdrop enhancement */
.modal-backdrop.show { backdrop-filter: blur(3px); background-color: rgba(13,31,35,0.35); }

/* Modal floating close button */
.modal-close-fab { position: absolute; right: 10px; top: 10px; z-index: 2; filter: invert(1) grayscale(100%); }
.modal-close-abs { position: absolute; right: 10px; top: 10px; background: rgba(0,0,0,0.35); border: 0; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; z-index: 3; }

/* Mobile Menu Full Screen Width Customization */
@media only screen and (max-width: 767px) {
  /* Make stellarnav mobile menu full screen width */
  .stellarnav.mobile.left > ul,
  .stellarnav.mobile.right > ul {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Ensure mobile menu covers full screen */
  .stellarnav.mobile > ul {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Style mobile menu buttons */
  .mobile-vendor-btn,
  .mobile-download-btn {
    margin: 10px 15px !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
    display: block !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }
  
  .mobile-vendor-btn {
    background: #ffffff !important;
    border: 2px solid #256D5E !important;
    color: #256D5E !important;
  }
  
  .mobile-vendor-btn:hover {
    background: #256D5E !important;
    color: #ffffff !important;
  }
  
  .mobile-download-btn {
    background: #256D5E !important;
    color: #ffffff !important;
    border: 2px solid #256D5E !important;
  }
  
  .mobile-download-btn:hover {
    background: #ffffff !important;
    color: #256D5E !important;
  }
}

/* Mobile responsiveness */
@media (max-width: 575.98px){
  #vendorSignupModal .modal-dialog { margin: 0.5rem; }
  .wizard__label { display: none; }
  .wizard__dot { width: 28px; height: 28px; }
  .upload-previews { grid-template-columns: repeat(4, 56px); }
  
  /* Banner buttons mobile layout - same row, not full width */
  .banner-content ul { 
    display: flex; 
    flex-direction: row; 
    gap: 12px; 
    align-items: center;
    justify-content: center; /* Center horizontally */
  }
  .banner-content ul li { 
    flex: 0 0 auto; /* Don't grow, don't shrink */
  }
  .banner-content ul li a { 
    display: inline-block; 
    text-align: center; 
    white-space: nowrap;
    padding: 12px 16px; /* Adjust padding for mobile */
    font-size: 14px; /* Slightly smaller font on mobile */
  }
  
  /* Vendor signup button styling */
  .btn-vendor-signup {
    background: #ffffff !important;
    border-color: #256D5E !important;
    color: #256D5E !important;
  }
  .btn-vendor-signup:hover {
    background: #256D5E !important;
    border-color: #256D5E !important;
    color: #ffffff !important;
  }
}

/* Desktop layout for banner buttons */
@media (min-width: 576px) {
  .banner-content ul { 
    display: flex; 
    gap: 15px; 
    align-items: center; 
  }
  
  /* Vendor signup button styling */
  .btn-vendor-signup {
    background: #ffffff !important;
    border-color: #256D5E !important;
    color: #256D5E !important;
  }
  .btn-vendor-signup:hover {
    background: #256D5E !important;
    border-color: #256D5E !important;
    color: #ffffff !important;
  }
}

/* Toast styling */
#signupSuccessToast {
    background: #256D5E !important; /* Elite green */
    color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-6px);
    transition: transform .2s ease, opacity .2s ease;
}
#signupSuccessToast .btn-close {
    filter: invert(1) grayscale(100%); /* ensure visible on dark bg if btn-close-white unavailable */
}
#signupSuccessToast.show { transform: translateY(0); }

/* File badge (selected filename) */
.file-badge { display: none; margin-top: 6px; font-size: 12px; padding: 6px 10px; border-radius: 8px; position: relative; }
.file-badge.show { display: inline-flex; align-items: center; gap: 8px; }
.file-badge.success { background: rgba(37,109,94,0.1); color: #0f3f36; border: 1px solid #cfe7e2; }
.file-badge .btn-remove { background: none; border: none; padding: 2px; margin-left: 4px; cursor: pointer; opacity: 0.7; }
.file-badge .btn-remove:hover { opacity: 1; }

/* Excel upload specific styles */
.excel-upload-section .upload-dropzone {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.excel-upload-section .upload-icon {
    margin-bottom: 12px;
    opacity: 0.7;
}
.template-download .alert {
    border-radius: 12px;
    border: 1px solid #b3e5d1;
    background-color: #e8f5f0;
}
.product-preview-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e9ecef;
}
.product-preview-section .table {
    margin-bottom: 0;
    font-size: 13px;
}
.product-preview-section .table th {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-preview-section .table td {
    border-color: #e2e8f0;
    vertical-align: middle;
}
.product-preview-section .badge {
    font-size: 11px;
    padding: 4px 8px;
}

/* Error styling for Excel upload */
#productExcelError.alert {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}