@media (max-width: 991.98px){
    #main_nav:not(:checked) ~ .main-nav{
        height: 0;
        overflow: hidden;
    }
    .main-nav{
        position: absolute;
        width: 100%;
        background: #dddddd;
        left: 0;
        right: 0;
        top: 60px;
        z-index: 999;
        align-items: start;
    }
    .main-nav .nav-item{
        width: 100%;
    }
    .main-nav .nav-link{
        display: block;
    }
    header .nav-link::before{
        content: none;
    }
    .process-single{
        padding: 20px;
    }
    .process-single::after{
        background-image: none;
        width: 0;
        height: 0;
    }
    header.israel-msg{
        height: 90px;
    }
    .login-signup-form-wrap{
        width: 100%;
    }
    .g-recaptcha{
        transform:scale(0.77);
        transform-origin:0 0;
    }
    #login:not(:checked) ~ .login-signup-form-wrap, #signup:not(:checked) ~ .login-signup-form-wrap{
        left: 0;
        right: 0;
    }
    .affiliate-tab-wrap .nav-tabs{
        padding-bottom: 4px;
        border-bottom: 1px solid #fff;
    }
    .affiliate-tab-wrap .tab-content{
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .crypto-pair-wrap{
        border: 1px solid #d9d9d9;
        border-radius: 8px;
    }
    .crypto-exchange-button{
        display: block;
    }
    .crypto-pairs-status-text{
        line-height: 20px;
    }
    .exchange-coin-sm .coin-ticker{
        margin-right: 0;
    }
    
}

/* main nav */
@media (min-width: 992px){
    .main-nav{
        flex-wrap: nowrap!important;
    }
}


@media only screen and (max-width:480px){
    .img-slider .slide-wrap{
        animation: slide-wrap 5s linear infinite!important; 
    }
    .coin-information .bitcoin .bitcoin-media h2 span{
        margin-bottom:10px!important;
    }
    .coin-information .bitcoin .bitcoin-media h2:last-child{
        margin-top:0!important;
    }

    .coin-information .bitcoin .bitcoin-media h2 span.badge{
        font-size:17px;
    }
    .coin-information .bitcoin .bitcoin-media img{
        height:60px!important;
    }
    .coin-information .bitcoin .bitcoin-media h2 small span{
        font-size:18px;
    }
    .coin-information .bitcoin .bitcoin-media h2 .coin_price{
        font-size:21px;
    }

}

/* exchange coin */
@media only screen and (max-width:768px){
    .coin-information .bitcoin .bitcoin-media img{
        height:80px;
        padding: 10px;
    }
}


/*advantages widget */
@media (max-width:768px) {
    .widget-advantages-list .col-12 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 300px) {
    .widget-advantages-list .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ============================================= Christmas image ============================================== */

@media only screen and (max-width:768px){
    .christmas-container{
        position: fixed!important;
        bottom:35px!important;
    }

    /* Santa Image - Left Side */
    .santa-img {
        right:16%!important;
        height:auto!important;
        width:20%!important; 
    }

    /* Snowtree Image - left Side */
    .snow-tree {
        height:auto!important;
        width:20%!important;
    }


    /* Snowman Image - Right Side */
    .snowman-img {
        height:auto!important;
        width:16%!important;
    }
}

/* widget page */
@media (max-width: 480px) {
    .exchange-coin img{
        width:auto;
        height:20px;
        object-fit: cover;
        margin-right:3px;
    }
    label.exchange-coin::after{
        width: 8px;
        height:8px;
    }
    label.exchange-coin::before{
        background:none;
    }
    .exchange-coin .coin-ticker{
        font-size:16px;
    }
    .exchange-coin .coin-name{
        font-size: 15px;
    }
    .opt-group{
        font-size: 13px;
    }
    .custom-input.border-bottom::placeholder{
        font-size: 13px;

    }
    .exchange-terms{
        font-size:10px;
    }

    .widget-exchange-card .widget-img .logo{
        height:28px;
        width: auto;
    }
    .btn-convert{
        font-size: 11px;
    }
    .icon-variable.icon{
        height:30px;
        width: 30px;
    }
    .icon-fixed.icon{
        height:30px;
        width: 30px;
    }
    .icon-swap.icon{
        height:30px;
        width:30px;
    }
    .form-control.custom-input::placeholder{
        font-size: 11px;
    }

    .form-control.custom-input{
        height: 40px;
    }
    .form-wrap .loader-icon{
        height:15px!important;
        width:auto;
    }
    .form-wrap .btn-convert{
        padding:6px 12px;
        font-size:12px;
    }
    label.exchange-coin{
        height: 41px;
    }
    .btn-exchange.btn-custom{
        font-size:12px;
        height:40px;
    }
    .widget-exchange-card .widget-advantages .widget-advantages-list .widget-advantages-item .item-title{
        font-size: 11px;
    }
    .widget-exchange-card .widget-advantages .widget-advantages-list .widget-advantages-item .advantages-icon{
        height:25px;
        width: auto;
        padding: 5px;
        margin-right: 6px;
    }
    .form-wrap span{
        width:65px;
        padding-left:0;
        font-size: 13px;
        padding: 0 5px;
    }
    .floating-text{
        font-size: 12px;
    }
    .coin-badge{
        height: auto;
        font-size:9px;
    }
    
}

/* widget step-2 */
@media (max-width: 480px) {
    /*.exchange-wrap{
        padding:0px;
    }*/
    .previous-btn .prev-btn{
       font-size: 11px;
   }
   .previous-btn{
    margin-bottom:20px;
}
.order-id h3,h4{
    font-size:15px;
}
.right-arrow-img{
    height:13px;
    width: auto;
    margin:0 8px;
}

.popover-main{
    font-size:12px;
}

.send-wrap h5{
    font-size: 17px;
}

.send-address h5{
    font-size: 17px;
}

.send-address .custom-input{
    font-size: 12px;
}
.copy-text{
    font-size: 13px;
}
.qr-wrap img{
    width: 140px;
    height: auto;
}

.main-footer .receiving-text{
    font-size:13px;
}
.main-footer .receiving-address{
    font-size: 15px;
}

.main-footer .created-text{
    font-size:13px;
}
.main-footer .created-date{
    font-size: 15px;
}
.notification-text{
    font-size: 12px;
}
.subscribed-notification{
    font-size:12px;
}
.coin-image{
    height: 40px;
    width: auto;
}
.arrow{
    height: 15px;
    width: auto;
}
.main-black-listed h3{
  font-size: 16px;
}
.main-black-listed h4{
    font-size: 14px;
}
.main-black-listed h5{
    font-size: 13px;
}
.main-black-listed p{
    font-size: 12px;
}

.main-verifying h3{
    font-size: 16px;
}
.main-verifying h4{
    font-size: 14px;
}
.main-verifying h5{
    font-size: 13px;
}
.main-verifying p{
    font-size: 12px;
}

}

/* widget step-3 */
@media (max-width: 480px) {
    .swingimage{
        height: auto;
        width:55px;
    }
    .btn-custom{
        font-size: 12px;
    }
    .order-amount.ff-medium{
        font-size: 15px;
    }
}

/* blog post single */
@media only screen and (max-width:480px){
    .blog-post-single table{
      width:100%!important;
  }
}

/* tabs button */
@media only screen and (max-width:480px){
    .tab-btn-wrap .btn-tab{
        font-size: 1rem!important;
    }
}

@media only screen and (max-width:380px){
    .tab-btn-wrap .btn-tab{
        font-size:14px!important;
    }
}


@media only screen and (max-width:440px){
  .exchange-btn-wrap{
    flex-wrap: wrap!important;
}
}


@media only screen and (max-width:1400px){
    .exchange-btn-wrap .btn{
        font-size:18px!important;
    }
}

@media only screen and (max-width:1120px){
    .exchange-btn-wrap .btn{
        font-size:14px!important;
    }
}

@media only screen and (max-width:992px){
    .exchange-btn-wrap .btn{
        font-size:18px!important;
    }
}

@media only screen and (max-width:500px){
    .exchange-btn-wrap .btn{
        font-size:16px!important;
    }
}

@media only screen and (max-width:1400px){
    label.exchange-coin .coin-name{
        display: none!important;
    }
}

@media only screen and (max-width:992px){
    label.exchange-coin .coin-name{
        display:block!important;
    }
}

/* widget */
@media only screen and (max-width: 1400px){
    .widget-exchange-card label.exchange-coin .coin-name{
        display:block!important;
    }
}

/* =================================================== fast excahnge ===================================================  */

@media (max-width: 768px) {
   .fast-exchange-section .carousel-item-custom {
    flex: 0 0 16.666%; 
    padding: 0 15px;
}

/* Mobile shows one item at a time */
.fast-exchange-section #slide1:checked ~ .carousel-track {
    transform: translateX(0%);
}

.fast-exchange-section #slide2:checked ~ .carousel-track {
    transform: translateX(-16.666%);
}

.fast-exchange-section #slide3:checked ~ .carousel-track {
    transform: translateX(-33.333%);
}

.fast-exchange-section #slide4:checked ~ .carousel-track {
    transform: translateX(-50%);
}

.fast-exchange-section #slide5:checked ~ .carousel-track {
    transform: translateX(-66.666%);
}

.fast-exchange-section .carousel-card {
    min-height: 280px;
    padding: 1.5rem;
}

.fast-exchange-section .carousel-card h3 {
    font-size: 1.3rem;
}

.fast-exchange-section .carousel-icon {
    font-size: 2.5rem;
}

/* Show mobile indicators */
.fast-exchange-section .carousel-indicators {
    display: none;
}

.fast-exchange-section .mobile-indicators {
    display: flex !important;
}

.fast-exchange-section #slide1:checked ~ .mobile-indicators .indicator:nth-child(1),
.fast-exchange-section #slide2:checked ~ .mobile-indicators .indicator:nth-child(2),
.fast-exchange-section #slide3:checked ~ .mobile-indicators .indicator:nth-child(3),
.fast-exchange-section #slide4:checked ~ .mobile-indicators .indicator:nth-child(4),
.fast-exchange-section #slide5:checked ~ .mobile-indicators .indicator:nth-child(5),
.fast-exchange-section #slide6:checked ~ .mobile-indicators .indicator:nth-child(6) {
    background: #667eea;
}
}


/* Desktop view adjustments */
@media (min-width: 769px) {
    .carousel-track {
        width: 200%; 
    }
    
    .fast-exchange-section .carousel-item-custom {
        flex: 0 0 16.666%;
    }
    
    .fast-exchange-section #slide1:checked ~ .carousel-track {
        transform: translateX(0%);
    }
    
    .fast-exchange-section #slide2:checked ~ .carousel-track {
        transform: translateX(-16.666%);
    }
    
    .fast-exchange-section #slide3:checked ~ .carousel-track {
        transform: translateX(-33.333%);
    }
    
}

@media only screen and (max-width:767px){
    .coin-cal-container table{
        display: block;     
        width: 100%;          
        overflow-x: auto;    
        border-collapse: collapse !important;
        height: auto !important;
    }
}

@media only screen and (max-width:767px){
    .loan-how-it-works .step-number{
        width:50px!important;
        height:50px!important;
        font-size:1.2rem!important;
    }
    .about-crypto-loans .about-crypto-market .market-btn{
        width:100%!important;
    }
}

@media only screen and (max-width:480px){
    .loan-how-it-works .step-number{
        width:45px!important;
        height:45px!important;
        font-size:1.2rem!important;
    }
}

/* ======================== order details =========================== */

@media (max-width:767px) {
  .order-details .order-details-card .info-wrap{
    flex-direction: column!important;
    align-items: flex-start!important; 
}

.order-details .order-details-card .info-wrap .arrow-img{
    transform: rotate(90deg);
    margin: 10px 0!important;
}

.order-details .g-2-mobile {
    gap: 0.5rem !important;
}
}

@media only screen and (max-width:480px){
    .order-details .order-details-card .coin-wrap .coin-img{
        width: 35px!important;
        height: 35px!important;
    }
    .order-details .order-details-card .coin-wrap .coin-number{
        font-size:17px!important;
    }
    .order-details .order-details-card .coin-wrap label{
        padding-bottom:3px!important;
    }

}

/* loan status */
@media (max-width: 768px) {
   .order-details .loan-status-section {
    padding: 25px;
    margin: 10px;
}

.order-details .progress-timeline {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    position: relative;
}

.order-details .progress-line {
    display: block;
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 30px;
    width: 4px;
    height: auto;
    right: auto;
    background: #e5e7eb;
    border-radius: 2px;
}

.order-details .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 75%;
    background: linear-gradient(180deg, #10b981, #059669);
}

.order-details .step {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    min-width: auto;
    padding:30px 0;
    position: relative;
    z-index: 3;
}

.order-details .step-icon {
    margin-right: 20px;
    margin-bottom: 0;
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.order-details .step-label {
    font-size: 1rem;
    text-align: left;
    line-height: 1.4;
}

.order-details .progress-fill {
    height:var(--fill-height);
    animation: progressGrow2 2s ease-in-out;
}
.order-details .progress-timeline[data-progress="1"] .progress-fill { --fill-height: 0%; }
.order-details .progress-timeline[data-progress="2"] .progress-fill { --fill-height: 33.33333333333333%; }
.order-details .progress-timeline[data-progress="3"] .progress-fill { --fill-height: 66.66666666666667%; }
.order-details .progress-timeline[data-progress="4"] .progress-fill { --fill-height: 100%; }
@keyframes progressGrow2 {
    from { height:0%;}
    to { height:var(--fill-height, 0);}
}

}

@media (max-width: 480px) {
    .order-details .loan-status-section {
        padding: 20px;
    }

    .order-details .status-badge {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* loan details page */
@media (max-width:768px) {
    .order-details  .about-loan-info.g-2-mobile{
        gap:0rem !important;
    }
}

/* Highlight Box */
@media only screen and (max-width:992px){
    .highlight-box{
        margin-bottom:20px!important;
    }
}

/* Large screens and bigger */
@media (min-width: 992px) {
    .responsive-btn{
        padding: .75rem 1.25rem!important;  
        font-size: 1.25rem!important;
    }
}

/* how it work step */
@media only screen and (min-width:1200px){  
    .exchange-steps .step-box .text-price{
        font-size:0.8rem!important;
    }
}

/* Pair Coin  */
@media (max-width:415px) {
  .trading-pairs .pair-coin-info{
    grid-template-columns: 1fr!important; 
    gap: 15px!important; 
  }
}


/* about us */
@media only screen and (max-width:767px){
    .cta-section .cta-btn{
        font-size:1rem!important;
        padding:10px 20px!important;
    }
     .cta-section .cta-btn-outline{
        font-size:1rem!important;
        padding:10px 20px!important;
    }
}


/* skeleton */
@media only screen and (max-width:380px){
    .skeleton_wrapper.exchange-wrap label.text-dark.fw-bold::after{
        width:68%!important;
    }
}


/* Crypto Price Prediction */
@media (max-width:768px){
    .crypto-prediction-banner .crypto-subtitle{
        font-size:18px;
    }
}

@media only screen and (max-width:576px){
    .blog-post-single table{
        display:inline-block;
        overflow-x:auto;
        white-space:nowrap;
        width:100%;
    }
}
