/* ================= GLOBAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #05072d;
    color: #ffffff;
    overflow-x: hidden;
}

/* ================= BACKGROUND ================= */

.bg {
    position: fixed;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, #00f5ff22, transparent 40%),
        radial-gradient(circle at 80% 70%, #ff00cc22, transparent 40%),
        linear-gradient(135deg,#0b0f1a,#111a2e,#0d1323);
    z-index: -1;
}

/* ================= HEADER ================= */

.top-header {
    padding: 25px 40px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(90deg,#00f5ff,#ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= LAYOUT ================= */

.layout {
    display: flex;
    gap: 40px;
    padding: 20px 40px;
}

.main-content {
    flex: 3;
}

/* ================= SIDEBAR ================= */

.sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.about-box,
.filter-box {
    background: rgba(17,26,46,0.95);
    backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(0,255,255,0.15);
    transition: 0.3s ease;
}

.about-box:hover,
.filter-box:hover {
    border: 1px solid rgba(0,255,255,0.4);
    box-shadow: 0 10px 30px rgba(0,255,255,0.15);
}

.sidebar h3 {
    margin-bottom: 15px;
    color: #00f5ff;
}

.sidebar p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

.filter-box select {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #0f1b34;
    color: #fff;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.filter-box button {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg,#00f5ff,#ff00cc);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,255,255,0.3);
}

/* ================= SEARCH INPUT ================= */

input.gsc-input {
    background: #111a2e !important;
    color: #ffffff !important;
    caret-color: #00f5ff !important;
    border-radius: 50px !important;
    padding: 16px 24px !important;
    border: 1px solid rgba(0,255,255,0.5) !important;
}

input.gsc-input:focus {
    border: 1px solid #00f5ff !important;
    box-shadow: 0 0 12px rgba(0,255,255,0.4) !important;
}

.gsc-search-button {
    border-radius: 50px !important;
    background: linear-gradient(90deg,#00f5ff,#ff00cc) !important;
    border: none !important;
}

.gsc-control-cse,
.gsc-input-box {
    background: transparent !important;
    border: none !important;
}

/* ================= WEB / IMAGE TABS ================= */

.gsc-tabsArea {
    display: flex !important;
    gap: 12px !important;
    border-bottom: none !important;
    margin-bottom: 25px !important;
}

.gsc-tabHeader {
    padding: 8px 18px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.05) !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    transition: 0.25s ease !important;
}

.gsc-tabHeader:hover {
    background: rgba(0,255,255,0.1) !important;
    color: #00f5ff !important;
}

.gsc-tabHeader.gsc-tabhActive {
    background: linear-gradient(90deg,#00f5ff,#00c8dc) !important;
    color: #000 !important;
    font-weight: 600 !important;
}

/* ================= SORT DROPDOWN ================= */

.gsc-orderby-container {
    display: flex !important;
    justify-content: flex-end !important;
    margin-bottom: 20px !important;
}

.gsc-selected-option-container {
    background: #111a2e !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* ================= RESULT CARDS ================= */

.gsc-webResult {
    background: rgba(17,26,46,0.95) !important;
    padding: 24px !important;
    border-radius: 20px !important;
    margin-bottom: 25px !important;
    border: 1px solid rgba(0,255,255,0.1) !important;
    transition: 0.25s ease !important;
}

.gsc-webResult:hover {
    border: 1px solid rgba(0,255,255,0.4) !important;
    box-shadow: 0 10px 25px rgba(0,255,255,0.2);
}

/* Title */
.gs-title a {
    color: #00f5ff !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    text-decoration: none !important;
}

.gs-title a:hover {
    text-decoration: underline !important;
}

/* URL */
.gs-visibleUrl {
    color: #22c55e !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
}

/* Snippet */
.gs-snippet {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Image Thumbnails */
.gs-image {
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ================= AUTOCOMPLETE ================= */

.gssb_c,
.gssb_e,
.gssb_f,
.gssb_m,
.gsc-completion-container,
.gssb_c table,
.gssb_c tbody,
.gssb_c tr,
.gssb_c td {
    background: #0f1b34 !important;
    border: none !important;
}

.gssb_c {
    border-radius: 18px !important;
    border: 1px solid rgba(0,255,255,0.25) !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6) !important;
    padding: 6px 0 !important;
}

.gssb_a {
    padding: 14px 22px !important;
    color: #dbeafe !important;
    transition: background 0.15s ease !important;
}

.gssb_a:hover,
.gssb_a.gssb_a_selected,
.gssb_a[aria-selected="true"] {
    background: rgba(0,200,220,0.25) !important;
    color: #00f5ff !important;
}

.gssb_a b {
    color: #00f5ff !important;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1000px) {
    .layout {
        flex-direction: column;
    }
    .sidebar {
        position: relative;
        top: 0;
    }
}
/* ================= FIX SORT DROPDOWN ================= */

/* Fix sort container alignment */
.gsc-orderby-container {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Fix label */
.gsc-orderby-label {
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Fix dropdown wrapper */
.gsc-selected-option-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 6px 14px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    transition: 0.2s ease !important;

    height: 36px !important;
    width: 6rem !important;
}

/* Fix inner text alignment */
.gsc-selected-option {
    line-height: 1 !important;
    padding: 0 !important;
}

/* Remove Google weird vertical offset */
.gsc-option-selector {
    margin: 0 !important;
    padding: 0 !important;
}

.gsc-selected-option-container:hover {
    border: 1px solid rgba(0,255,255,0.4) !important;
}



/* ================= FIX RESULT IMAGE BLOCK ================= */


/* Fix thumbnail container */
.gs-image-box {
    flex-shrink: 0 !important;
}

/* Fix image size + shape */
.gs-image {
    width: 3rem !important;
    height: 3rem !important;
    object-fit: cover !important;
    border-radius: 30px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}

/* Ensure description aligns properly */
.gs-snippet {
    margin-top: 6px !important;
}

/* Prevent image overlapping text */
.gs-visibleUrl,
.gs-snippet {
    display: block !important;
}
/* ================= PAGINATION FIX ================= */

.gsc-cursor-box {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 30px !important;
}

/* Each page number */
.gsc-cursor-page {
    background: rgba(255,255,255,0.05) !important;
    color: #cbd5e1 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    font-size: 14px !important;
    transition: 0.2s ease !important;
    cursor: pointer !important;
}

/* Hover effect */
.gsc-cursor-page:hover {
    background: rgba(0,255,255,0.15) !important;
    color: #00f5ff !important;
    border: 1px solid rgba(0,255,255,0.4) !important;
}

/* Active page */
.gsc-cursor-current-page {
    background: linear-gradient(90deg,#00f5ff,#00c8dc) !important;
    color: #000 !important;
    font-weight: 600 !important;
    border: none !important;
}

/* ================= RESET ANY PREVIOUS HIDING ================= */
.gs-visibleUrl,
.gs-visibleUrl-short,
.gs-per-result-labels {
    display: inline-block !important;
}

/* ================= HIDE BREADCRUMB PATH ================= */
.gs-visibleUrl-short {
    display: none !important;
}

/* Hide structured breadcrumb container */
.gs-bidi-start-align.gs-visibleUrl-short {
    display: none !important;
}

/* Hide extra breadcrumb row (Google › products › ...) */
.gs-richsnippet {
    display: none !important;
}

/* ================= KEEP ONLY MAIN URL ================= */
.gs-visibleUrl {
    display: block !important;
    color: #22c55e !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
}
/* Remove white divider line under result count */
.gsc-results-wrapper-visible,
.gsc-resultsHeader,
.gsc-result-info-container,
.gsc-above-wrapper-area {
    border: none !important;
}

/* Extra safety */
.gsc-resultsRoot,
.gsc-control-wrapper-cse {
    border-top: none !important;
    border-bottom: none !important;
}
/* ================= FIX IMAGE TAB LAYOUT ================= */

/* Let image results wrap properly */
.gsc-results .gsc-imageResult {
    display: inline-block !important;
    width: 220px !important;
    margin: 12px !important;
    vertical-align: top !important;
    text-align: center !important;
}

/* Remove forced flex/grid that caused vertical stacking */
.gsc-imageResult-classic,
.gsc-imageResult-column {
    display: block !important;
}

/* Image container */
.gs-image-box {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #0f172a !important;
    
}

/* Image styling */
.gs-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    transition: transform 0.3s ease !important;
}

/* Hover zoom effect */
.gs-image-box:hover .gs-image {
    transform: scale(1.05);
}

/* Remove text under images */
.gs-imageResult .gs-title,
.gs-imageResult .gs-snippet,
.gs-imageResult .gs-visibleUrl {
    display: none !important;
}

/* Center the whole image block */
.gsc-results {
    text-align: center !important;
}

/* Improve spacing above pagination */
.gsc-cursor-box {
    margin-top: 40px !important;
}
/* ================= FIX WEB RESULT CARD LAYOUT ================= */


/* Fix image position inside web results */
.gsc-webResult .gs-image-box {
    width: 5rem!important;
    height: 4.5rem !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    border-radius: 30 px !important;
}

/* Fix image size */
.gsc-webResult .gs-image {
    width: 5rem !important;
    height: 4rem !important;
    object-fit: fill !important;
    border-radius: 30px !important;
}

/* Keep text properly aligned */
.gsc-webResult .gs-title,
.gsc-webResult .gs-visibleUrl,
.gsc-webResult .gs-snippet {
    text-align: left !important;
}

/* Prevent centered weird layout */
.gsc-webResult .gs-snippet {
    margin-top: 6px !important;
}

/* Ensure content wraps correctly */
.gsc-webResult .gsc-table-result {
    width: 100% !important;
}
/* ================= FILTER BOX ================= */

.filter-box {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ================= LABELS ================= */

.filter-box label {
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
    display: block;
}

/* ================= INPUTS & SELECT ================= */

.filter-box input,
.filter-box select {
    width: 100%;
    padding: 12px 14px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
    outline: none;
}

/* Remove white autofill */
.filter-box input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #0f172a inset !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

/* ================= FOCUS EFFECT ================= */

.filter-box input:focus,
.filter-box select:focus {
    border: 1px solid #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
    background: #111827;
}

/* ================= DROPDOWN ARROW FIX ================= */

.filter-box select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23cbd5e1' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    cursor: pointer;
}

/* ================= PLACEHOLDER ================= */

.filter-box input::placeholder {
    color: #64748b;
    font-weight: 400;
}

/* ================= BUTTON ================= */

#applyFilters {
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    background: linear-gradient(90deg, #06b6d4, #6366f1, #ec4899);
    transition: all 0.3s ease;
}

/* Hover */
#applyFilters:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.25);
}

/* Active */
#applyFilters:active {
    transform: scale(0.98);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .filter-box {
        padding: 20px;
    }
}
/* ================= COMPACT FILTER CONTAINER ================= */

.filter-box {
    max-height: none;          /* remove heavy scroll */
    overflow-y: visible;
    padding: 20px;
    gap: 12px;
}

/* ================= LABEL ================= */

.filter-box label {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #94a3b8;
}

/* ================= INPUTS & SELECT ================= */

.filter-box input,
.filter-box select {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 10px;
    height: 36px;
}

/* Reduce space between label and input */
.filter-box label + input,
.filter-box label + select {
    margin-bottom: 6px;
}

/* ================= BUTTON ================= */

#applyFilters {
    margin-top: 8px;
    padding: 10px;
    font-size: 14px;
    border-radius: 20px;
}

/* ================= BETTER VISUAL GROUPING ================= */

.filter-box input,
.filter-box select {
    background: #0b1220;
}

/* Slight focus glow */
.filter-box input:focus,
.filter-box select:focus {
    box-shadow: 0 0 0 2px rgba(6,182,212,0.25);
}
/* Hide "Search for ... on Google" link */
.gcsc-find-more-on-google, .gsc-result-info {
    display: none !important;
}
/* ================= LARGE TABLETS ================= */
@media (max-width: 1200px) {

    .layout {
        gap: 30px;
        padding: 20px;
    }

    .sidebar {
        top: 80px;
    }

    .gsc-imageResult {
        width: 200px !important;
    }
}


/* ================= TABLETS ================= */
@media (max-width: 1000px) {

    .layout {
        flex-direction: column;
        padding: 20px;
    }

    .sidebar {
        position: relative;
        top: 0;
        width: 100%;
    }

    .main-content {
        width: 100%;
    }

    .gsc-orderby-container {
        justify-content: flex-start !important;
    }

    .gsc-imageResult {
        width: 180px !important;
    }

    .gsc-tabsArea {
        flex-wrap: wrap !important;
    }
}


/* ================= SMALL TABLETS ================= */
@media (max-width: 768px) {

    .top-header {
        padding: 20px;
        text-align: center;
    }

    .logo {
        font-size: 22px;
    }

    .layout {
        padding: 15px;
        gap: 25px;
    }

    .about-box,
    .filter-box {
        padding: 20px;
    }

    .gsc-webResult {
        padding: 18px !important;
    }

    .gs-title a {
        font-size: 16px !important;
    }

    .gsc-imageResult {
        width: 160px !important;
    }

    .gs-image-box {
        height: 180px !important;
    }
}


/* ================= MOBILE ================= */
@media (max-width: 600px) {

    .top-header {
        padding: 15px;
    }

    .layout {
        padding: 10px;
        gap: 20px;
    }

    .about-box,
    .filter-box {
        padding: 16px;
        border-radius: 16px;
    }

    input.gsc-input {
        padding: 12px 18px !important;
        font-size: 14px !important;
    }

    .gsc-search-button {
        padding: 10px 16px !important;
    }

    .gsc-webResult {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    .gs-title a {
        font-size: 15px !important;
    }

    .gs-snippet {
        font-size: 13px !important;
    }

    .gsc-imageResult {
        width: 140px !important;
        margin: 8px !important;
    }

    .gs-image-box {
        height: 150px !important;
    }

    .gsc-cursor-box {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
}


/* ================= SMALL MOBILE ================= */
@media (max-width: 420px) {

    .logo {
        font-size: 20px;
    }

    .filter-box input,
    .filter-box select {
        height: 32px;
        font-size: 12px;
    }

    #applyFilters {
        padding: 8px;
        font-size: 13px;
    }

    .gsc-imageResult {
        width: 120px !important;
    }

    .gs-image-box {
        height: 130px !important;
    }

    .gs-title a {
        font-size: 14px !important;
    }

}
/* ================= FORCE PAGINATION FULL WIDTH FIX ================= */

/* Prevent any parent container from clipping */
.layout,
.main-content,
.gsc-results,
.gsc-control-wrapper-cse,
.gsc-results-wrapper-visible {
    max-width: 100% !important;
    overflow-x: visible !important;
}

/* Ensure pagination is centered and never wider than screen */
.gsc-cursor-box {
    width: 100% !important;
    max-width: 100vw !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

/* Prevent numbers from stretching */
.gsc-cursor-page {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

/* Remove any hidden overflow from ancestors */
body,
html {
    overflow-x: hidden !important;
}

/* Extra safety for very small screens */
@media (max-width: 480px) {

    .gsc-cursor-box {
        gap: 6px !important;
    }

    .gsc-cursor-page {
        padding: 4px 8px !important;
        font-size: 12px !important;
    }

}
/* ================= REMOVE SEARCH THUMBNAIL ON MOBILE ================= */

@media (max-width: 768px) {

    /* Hide thumbnail container */
    .gsc-webResult .gs-image-box,
    .gsc-webResult .gs-image {
        display: none !important;
    }

    /* Remove flex gap created for image */
    .gsc-webResult {
        gap: 0 !important;
    }

}
/* ================= COMPACT CARDS (MOBILE ONLY) ================= */

@media (max-width: 768px) {

    .gsc-webResult {
        padding: 14px 16px !important;
        border-radius: 14px !important;
        margin-bottom: 14px !important;
    }

    /* Smaller title */
    .gs-title a {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    /* Smaller URL */
    .gs-visibleUrl {
        font-size: 12px !important;
        margin: 4px 0 !important;
    }

    /* Compact snippet */
    .gs-snippet {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-top: 6px !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

}
/* ================= FORCE INLINE TABS (MOBILE FIX) ================= */

@media (max-width: 768px) {

    /* Force tab container horizontal */
    .gsc-tabsArea {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* Force each tab inline */
    .gsc-tabHeader {
        display: inline-flex !important;
        width: auto !important;
        min-width: 90px !important;
        padding: 8px 20px !important;
        font-size: 14px !important;
        border-radius: 30px !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

}
/* ================= REMOVE WHITE LINE UNDER TABS (MOBILE) ================= */

@media (max-width: 768px) {

    /* Remove tab bottom border */
    .gsc-tabsArea,
    .gsc-tabHeader,
    .gsc-tabHeader.gsc-tabhActive {
        border: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

}
@media (max-width: 768px) {

    .gsc-search-box + .gsc-search-box {
        display: none !important;
    }

}
/* ================= MOBILE FILTER DRAWER ================= */

/* Hide mobile button on desktop */
.mobile-filter-btn {
    display: none;
}

/* Hide close button globally (desktop safe) */
.filter-close {
    display: none;
}

@media (max-width: 768px) {

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-filter-btn {
        display: inline-flex;
        padding: 8px 16px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        background: linear-gradient(90deg,#00f5ff,#ff00cc);
        color: #000;
        font-weight: 600;
        font-size: 13px;
        z-index: 10001;
    }

    /* Overlay background */
    body.filter-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(6px);
        z-index: 9998;
    }

    /* Drawer styling */
    body.filter-open .filter-box {
        position: fixed;
        top: 5vh;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        z-index: 9999;
        border-radius: 20px;
        padding-top: 60px;
    }

    /* Close button ONLY when overlay open */
    body.filter-open .filter-close {
        display: block;
        position: absolute;
        top: 18px;
        right: 20px;
        font-size: 22px;
        cursor: pointer;
        font-weight: bold;
        color: #00f5ff;
        z-index: 10000;
    }

}
/* ================= MOBILE ONLY FIX ================= */

@media (max-width: 768px) {

    /* Hide sidebar below results */
    .sidebar {
        display: none;
    }

    /* Show sidebar only when filter overlay is open */
    body.filter-open .sidebar {
        display: block;
    }

    /* Improve pagination layout */
    .gsc-cursor-box {
        margin-top: 24px !important;
        gap: 6px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .gsc-cursor-page {
        padding: 6px 12px !important;
        font-size: 13px !important;
        border-radius: 20px !important;
    }

    /* Better Next button style */
    .gsc-cursor-next-page {
        padding: 8px 16px !important;
        border-radius: 25px !important;
        background: linear-gradient(90deg,#00f5ff,#ff00cc) !important;
        color: #000 !important;
        font-weight: 600 !important;
        border: none !important;
    }

    .gsc-cursor-next-page:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 18px rgba(0,255,255,0.25) !important;
    }

}
/* ================= REMOVE GOOGLE BRANDING BOX ================= */

.gcsc-more-maybe-branding-box {
    display: none !important;
}
/* ================= PREMIUM MOBILE PAGINATION ================= */

@media (max-width: 768px) {

    /* Remove white divider lines */
    .gsc-results-wrapper-visible,
    .gsc-resultsHeader,
    .gsc-above-wrapper-area,
    .gsc-cursor-box {
        border: none !important;
        box-shadow: none !important;
    }

    /* Main pagination wrapper */
    .gsc-cursor {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 18px !important;
        margin: 30px auto !important;
        width: fit-content !important;
        padding: 10px 18px !important;
        border-radius: 40px !important;
        background: rgba(255,255,255,0.04) !important;
        backdrop-filter: blur(8px) !important;
    }

    /* Previous & Next buttons */
    .gsc-cursor-container-previous,
    .gsc-cursor-container-next {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255,255,255,0.06) !important;
        transition: all 0.25s ease !important;
        cursor: pointer !important;
    }

    /* Hover effect */
    .gsc-cursor-container-previous:hover,
    .gsc-cursor-container-next:hover {
        background: linear-gradient(90deg,#00f5ff,#ff00cc) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 10px 20px rgba(0,255,255,0.25) !important;
    }

    /* Chevron color */
    .gsc-cursor-chevron path {
        fill: #00f5ff !important;
        transition: fill 0.25s ease !important;
    }

    .gsc-cursor-container-previous:hover .gsc-cursor-chevron path,
    .gsc-cursor-container-next:hover .gsc-cursor-chevron path {
        fill: #000 !important;
    }

    /* Page number pill */
    .gsc-cursor-numbered-page {
        padding: 8px 20px !important;
        border-radius: 30px !important;
        background: linear-gradient(90deg,#00f5ff,#6366f1,#ff00cc) !important;
        color: #000 !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
    }

}

