/* Ported from resources/views/frontend/pages/technology/show.blade.php <style> */

        .ailments-page {
            background: #f3f3f3;
            padding: 55px 0 90px;
        }

        .ailments-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .ailments-header h1 {

            line-height: 1.1;
            color: #303746;
            margin: 0;
            letter-spacing: -1px;
            font-size: 40px;
            font-weight: 700;
        }

        /* Alphabet */

        .alphabet-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            width: fit-content;
            margin: 0 auto 35px;
        }



        .alpha-prev,
        .alpha-next {
            flex: none;
            width: 25px;
            text-align: center;
            font-size: 22px;
            color: #666;
            cursor: pointer;
        }

        .alphaSwiper {
            width: 720px;
            overflow: hidden;
        }

        .alphaSwiper .swiper-slide {
            width: auto !important;
        }

        .alphabet-btn {
            width: 62px;
            height: 62px;
            border: none;
            border-radius: 50%;
            background: #fff;
            color: #666;
            font-size: 18px;
            font-weight: 600;
            transition: .3s;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .04);

        }

        .alphabet-btn.active {
            background: #1B5E20;
            color: #fff;
        }

        /* Search */

        .ailment-search {
            display: flex;
            justify-content: center;
            margin-top: 5px;
            margin-bottom: 50px;
        }

        .search-box {

            background: #fff;
            border-radius: 60px;
            display: flex;
            align-items: center;
            padding: 0 30px;
            width: 760px;
            height: 62px;
        }

        .search-box i {
            color: #1B5E20;
            font-size: 24px;
        }

        .search-box input {
            border: none;
            width: 100%;
            margin-left: 15px;
            font-size: 22px;
            outline: none;
            background: transparent;
        }

        /* Grid */

        .ailments-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 35px;
        }

        .ailment-card {
            background: #fff;
            transition: .3s;
            border-radius: 22px;
            padding: 42px;
            min-height: 260px;
            box-shadow: none;
        }

        .ailment-card:hover {
            transform: translateY(-5px);
        }

        .ailment-card h3 {
            color: #2f3540;
            margin-bottom: 20px;
            font-weight: 700;
            font-size: 26px;
            line-height: 1.3;
        }

        .ailment-card p {
            color: #555;
            margin-bottom: 35px;
            font-size: 17px;
            line-height: 1.7;
        }

        .know-more {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
        }

        .know-more span {
            color: #2f3540;
            font-size: 18px;
            font-weight: 500;
        }

        .arrow-btn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: #1B5E20;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }

        /* Responsive */

        @media(max-width:991px) {

            .ailments-grid {
                grid-template-columns: 1fr;
            }

            .search-box {
                width: 100%;
            }

            .alphaSwiper {
                width: 100%;
            }

        }

        .ailments-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .ailments-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 45px;
            /* 60px se kam */
            gap: 10px;
        }

        .page-number {

            border-radius: 50%;
            background: #fff;
            color: #333;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            width: 54px;
            height: 54px;
            font-size: 20px;
        }

        .page-number.active {
            background: #f15a29;
            color: #fff;
        }

        .page-arrow {
            color: #666;
            font-size: 20px;
            text-decoration: none;
        }

        .page-arrow.disabled {
            opacity: .4;
            pointer-events: none;
        }

        .alphabet-btn:disabled {
            background: #ececec;
            color: #b5b5b5;
            cursor: not-allowed;
            box-shadow: none;
            opacity: 1;
        }

        .ailments-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .page-arrow {
            color: #666;
            font-size: 22px;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .page-arrow.disabled {
            opacity: .3;
            pointer-events: none;
        }

        .no-results {
            background: #fff;
            border-radius: 20px;
            padding: 70px 30px;
            text-align: center;
            max-width: 700px;
            margin: 20px auto;
        }

        .no-results-icon {
            width: 90px;
            height: 90px;
            margin: 0 auto 20px;
            border-radius: 50%;
            background: #e7f2e8;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .no-results-icon i {
            font-size: 38px;
            color: #1B5E20;
        }

        .no-results h3 {
            font-size: 30px;
            font-weight: 700;
            color: #303746;
            margin-bottom: 10px;
        }

        .no-results p {
            font-size: 17px;
            color: #777;
            margin: 0;
        }
