/* User Panel Responsive CSS */

/* Tablet and below (max-width: 1024px) */
@media (max-width: 1024px) {
    .user-header {
        padding: 12px 20px;
    }

    .user-content {
        padding: 20px;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
        line-height: 29px;
    }

    .highlight-badge {
        font-size: 12px;
        padding: 3px 14px;
        margin-bottom: 10px;
    }

    .badge__title {
        margin-bottom: 20px;
    }

    .user-header {
        padding: 10px 15px;
    }

    .user-content {
        padding: 15px;
    }

    .card {
        padding: 15px;
    }

    .table {
        font-size: 12px;
    }


    .btn-primary,
    .btn-secondary {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* home page */
    .common__btn {
        border-radius: 12px;
        padding: 9px 20px;
        font-size: 13px;
    }

    .common__btn__btn {
        border-radius: 12px;
        padding: 9px 20px;
        font-size: 13px;
    }

    .welcome__badge {
        border-radius: 10px;
        padding: 4px 10px;
        margin-bottom: 5px;
        font-size: 12px;
    }

    .hero-section {
        text-align: center;
    }

    .hero-img {
        max-width: 320px;
        margin-top: 0px;
    }

    .hero__title {
        font-size: 21px;
        line-height: 26px;
        margin-bottom: 10px;
    }

    .googleplay__appstore {
        position: static;
        bottom: 0;
        left: 0;
    }

    .googleplay__appstore .img_box {
        justify-content: center;
        margin-top: 20px;
    }

    .googleplay__appstore .img_box img {
        height: 30px;
    }

    .hero__section__left {
        margin-bottom: 10px;
    }

    .highlights__section {
        padding: 30px 0px;
    }

    .feature-card {
        border-radius: 10px;
        padding: 15px 15px;
        margin-bottom: 10px;
    }

    .icon-box {
        width: 50px;
        height: 50px;
    }

    .feature__section .feature-card {
        margin-bottom: 10px;
    }

    .pricing-card {
        padding-top: 10px;
        margin-bottom: 20px;
    }

    .card__top__details {
        padding: 0px 10px;
    }

    .pricing-card h5 {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 5px;
    }

    .pricing-card p.plan_text {
        font-size: 14px;
        line-height: 25px;
        min-height: 25px;
        margin-bottom: 10px;
    }

    .feature-list {
        border-radius: 10px;
        padding: 15px;
    }

    .price {
        font-size: 30px;
        line-height: 37px;
    }

    .price span {
        font-size: 16px;
    }

    .feedbacks__details__box .feedbacks__text p {
        font-size: 15px;
        line-height: 23px;
    }

    .feedbacks__details__box .feedbacks__text {
        padding: 18px 15px;
    }

    .feedback_name_start {
        padding: 15px;
    }

    .feedbacks__section {
        padding: 30px 0px;
    }

    /* Center testimonials on mobile */
    .testimonial__slider[data-testimonial-count="1"] .swiper-slide,
    .testimonial__slider[data-testimonial-count="2"] .swiper-slide {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .testimonial__slider[data-testimonial-count="2"] .swiper-wrapper {
        justify-content: center !important;
    }

    .faqs__section {
        padding: 30px 0px;
    }
}

/* Tablet specific adjustments for testimonials */
@media (min-width: 769px) and (max-width: 1199px) {
    .testimonial__slider[data-testimonial-count="2"] .swiper-slide {
        max-width: 350px !important;
        width: 350px !important;
    }
}
@media (max-width:992px) {
    /* sidebar */
    .nav__sidebar .nav-items {
        padding: 10px 10px;
        font-weight: 500;
        font-size: 12px;
    }

    .sidebar__admin {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
    }

    /* Show sidebar when active */
    .sidebar__admin.active {
        transform: translateX(0);
        min-width: 250px;
    }

    .sidebar__admin.active .nav-items span {
        opacity: 1;
        width: auto;
        display: block;
    }

    .sidebar-close-btn {
        display: flex;
        width: 30px;
        height: 30px;
        top: 9px;
        right: 9px;
    }

    .sidebar__admin.active .admin__logo__section img {
        width: 100px;
    }

    .sidebar__admin.active .nav__sidebar .nav-items {
        justify-content: start;
    }
    .mobile-logo {
        display: block;
        background-color: #243B61;
        width: 50px;
        height: 50px;
        padding: 7px;
        border-radius: 5px;
    }
    .register_user_deal_payment .title__price__box h2 {
        font-size: 14px;
        margin-bottom: 5px;
        text-align: start;
    }
    .register_user_deal_payment .title__price__box p {
        font-size: 20px;
        line-height: normal;
        text-align: start;
    }
    .page__header {
        padding: 10px 10px;
        margin-bottom: 10px;
    }

    .page__details__page {
        margin: 10px 15px;
    }

    .page__details__page__table {
        padding: 10px 10px;
    }

    .register_user_deal_payment {
        margin-bottom: 15px;
    }

    .register_user_deal_payment .details__box {
        padding: 10px;
        flex-direction: column-reverse;
        align-items: start;
    }
    
    .register_user_deal_payment img {
        width: 40px;
        height: 40px;
        margin: 0px 0px 5px;
    }
    .active_approve_pending h3 ,
    .active_approve_pending h5,
    .active_approve_pending h4 {
        font-size: 10px;
    }
    .green__status,
    .blue__status {
        padding: 1px 6px;
        font-size: 9px;
    }
    .table tbody tr td {
        font-size: 12px;
        padding: 8px 5px;
    }
    .filter__dropdown .btn img{
        width: 15px;
    }
    .filter__dropdown .dropdown-menu li a {
        padding: 6px 14px;
        font-size: 12px;
    }
}
/* Small mobile devices (max-width: 480px) */
@media (max-width:768px) {

    .cta__details {
        border-radius: 20px;
        padding: 0px 20px;
    }
    .cta__details h2 {
        font-size: 20px;
        line-height: 22px;
    }
    .cta__details p {
        font-size: 11px;
        line-height: 16px;
    }

    .googleplay__appstore img {
        height: 30px;
    }

    .footer {
        padding: 30px 0px 20px;
    }

    .footer-title {
        font-size: 20px;
        margin-bottom: 19px;
    }

    .newsletter input {
        width: 180px;
        padding: 7px 9px;
    }

    .newsletter {
        margin-bottom: 19px;
    }

    

    .admin__logo__section {
        margin-bottom: 10px;
    }

}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .user-header {
        padding: 8px 10px;
    }

    .user-content {
        padding: 10px;
    }

    .card {
        padding: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 6px 12px;
        font-size: 12px;
        width: 100%;
    }

    .form-control {
        font-size: 14px;
    }
}

/* Utility classes */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}
