.search-form {
    max-width: 600px;
}

body[data-bs-theme='dark'] .search-query-div {
    background-color: #171c21;
}

body[data-bs-theme='dark'] .search-query {
    background-color: #272B2F;
}

body[data-bs-theme='light'] .search-query-div {
    background-color: #E8E3DE;
}

body[data-bs-theme='light'] .search-query {
    background-color: var(--light-second);
}

body[data-bs-theme='dark'] .gsc-control-cse,
.gsc-above-wrapper-area {
    border: none;
    border-color: rgb(46, 46, 46);
}

/* body[data-bs-theme='light'] .gsc-control-cse {
border-color: #FFFFFF;
} */

.gsc-control-cse {
    font-family: Arial, sans-serif;
    background-color: transparent;
    margin-bottom: 20px;
}

.gsc-tabHeader.gsc-tabhInactive {
    border-color: #E9E9E9;
    background-color: #E9E9E9;
}

.gsc-tabHeader.gsc-tabhActive {
    border-top-color: #FF9900;
    border-left-color: #E9E9E9;
    border-right-color: #E9E9E9;
    background-color: transparent;
}

.gsc-tabsArea {
    border-color: #E9E9E9;
}

body[data-bs-theme='dark'] .gsc-webResult.gsc-result,
body[data-bs-theme='dark'] .gsc-results .gsc-imageResult {
    background-color: #343A40;
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    padding-bottom: 15px;
}

body[data-bs-theme='dark'] .gsc-webResult.gsc-result:hover,
body[data-bs-theme='dark'] .gsc-results .gsc-imageResult:hover {
    background-color: rgb(72, 79, 85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-bs-theme='light'] .gsc-webResult.gsc-result,
body[data-bs-theme='light'] .gsc-results .gsc-imageResult {
    background-color: #FFFFFF;
    /* border-color:rgb(46, 46, 46); */
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    padding-bottom: 15px;
}

body[data-bs-theme='light'] .gsc-webResult.gsc-result:hover,
body[data-bs-theme='light'] .gsc-results .gsc-imageResult:hover {
    background-color: #E3E3E3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.gsc-webResult.gsc-result,
.gsc-results .gsc-imageResult {
    border-color: #FFFFFF;
    background-color: transparent;
}

.gsc-webResult.gsc-result:hover,
.gsc-imageResult:hover {
    border-color: #FFFFFF;
    background-color: transparent;
}

body[data-bs-theme='dark'] .gs-webResult.gs-result a.gs-title:light,
body[data-bs-theme='dark'] .gs-webResult.gs-result a.gs-title:light b,
body[data-bs-theme='dark'] .gs-imageResult a.gs-title:light,
body[data-bs-theme='dark'] .gs-imageResult a.gs-title:light b {
    color: #F8F9FA;
}

body[data-bs-theme='light'] .gs-webResult.gs-result a.gs-title:light,
body[data-bs-theme='light'] .gs-webResult.gs-result a.gs-title:light b,
body[data-bs-theme='light'] .gs-imageResult a.gs-title:light,
body[data-bs-theme='light'] .gs-imageResult a.gs-title:light b {
    color: var(--light-text);
}

body[data-bs-theme='dark'] .gs-webResult.gs-result a.gs-title:visited,
body[data-bs-theme='dark'] .gs-webResult.gs-result a.gs-title:visited b,
body[data-bs-theme='dark'] .gs-imageResult a.gs-title:visited,
body[data-bs-theme='dark'] .gs-imageResult a.gs-title:visited b {
    color: #F8F9FA;
}

body[data-bs-theme='light'] .gs-webResult.gs-result a.gs-title:visited,
body[data-bs-theme='light'] .gs-webResult.gs-result a.gs-title:visited b,
body[data-bs-theme='light'] .gs-imageResult a.gs-title:visited,
body[data-bs-theme='light'] .gs-imageResult a.gs-title:visited b {
    color: var(--light-text);
}

body[data-bs-theme='dark'] .gs-webResult.gs-result a.gs-title:hover,
body[data-bs-theme='dark'] .gs-webResult.gs-result a.gs-title:hover b,
body[data-bs-theme='dark'] .gs-imageResult a.gs-title:hover,
body[data-bs-theme='dark'] .gs-imageResult a.gs-title:hover b {
    color: #F8F9FA;
}

body[data-bs-theme='light'] .gs-webResult.gs-result a.gs-title:hover,
body[data-bs-theme='light'] .gs-webResult.gs-result a.gs-title:hover b,
body[data-bs-theme='light'] .gs-imageResult a.gs-title:hover,
body[data-bs-theme='light'] .gs-imageResult a.gs-title:hover b {
    color: var(--light-text);
}

body[data-bs-theme='dark'] .gs-webResult.gs-result a.gs-title:active,
body[data-bs-theme='dark'] .gs-webResult.gs-result a.gs-title:active b,
body[data-bs-theme='dark'] .gs-imageResult a.gs-title:active,
body[data-bs-theme='dark'] .gs-imageResult a.gs-title:active b {
    color: #F8F9FA;
}

body[data-bs-theme='light'] .gs-webResult.gs-result a.gs-title:active,
body[data-bs-theme='light'] .gs-webResult.gs-result a.gs-title:active b,
body[data-bs-theme='light'] .gs-imageResult a.gs-title:active,
body[data-bs-theme='light'] .gs-imageResult a.gs-title:active b {
    color: var(--light-text);
}

body[data-bs-theme='dark'] .gsc-cursor-page {
    color: #F8F9FA;
}

body[data-bs-theme='light'] .gsc-cursor-page {
    color: var(--light-text) !important;
}

body[data-bs-theme='dark'] .gsc-cursor {
    color: white !important;
}

body[data-bs-theme='light'] .gsc-cursor {
    color: var(--light-text) !important;
}

body[data-bs-theme='dark'] a.gsc-trailing-more-results:light {
    color: #F8F9FA;
}

body[data-bs-theme='light'] a.gsc-trailing-more-results:light {
    color: var(--light-text);
}


body[data-bs-theme='dark'] .gs-webResult .gs-snippet,
body[data-bs-theme='dark'] .gs-imageResult .gs-snippet,
body[data-bs-theme='dark'] .gs-fileFormatType {
    /* color: #000000; */
    color: white !important;
}

body[data-bs-theme='dark'] .gs-fileFormat {
    color: rgb(190, 190, 190) !important;
}

body[data-bs-theme='light'] .gs-fileFormat {
    color: rgb(0, 0, 0) !important;
}

.gs-webResult div.gs-visibleUrl,
.gs-imageResult div.gs-visibleUrl {
    color: #F8F9FA;
}

.gs-webResult div.gs-visibleUrl-short {
    color: #F8F9FA;
}

.gs-webResult div.gs-visibleUrl-short {
    display: none;
}

.gs-webResult div.gs-visibleUrl-long {
    display: block;
}

.gsc-cursor-box {
    border-color: #FFFFFF;
}

body[data-bs-theme='dark'] .gsc-results .gsc-cursor-box .gsc-cursor-page {
    border-color: #E9E9E9;
    background-color: transparent;
    color: #F8F9FA;
}

body[data-bs-theme='dark'] .gsc-result-info {
    border-color: #E9E9E9;
    background-color: transparent;
    color: #F8F9FA;
}

.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    border-color: #FF9900;
    background-color: transparent;
    color: #F8F9FA;
}

a.gs-title,
a.gs-title b {
    color: #F8F9FA !important;
}

body[data-bs-theme='light'] a.gs-title,
body[data-bs-theme='light'] a.gs-title b {
    color: #6C757D !important;
}

body[data-bs-theme='light'] a.gs-title:hover,
body[data-bs-theme='light'] a.gs-title:hover b,
body[data-bs-theme='light'] a.gs-title b:hover {
    color: #20C997 !important;
}

a.gs-title:hover,
a.gs-title:hover b,
a.gs-title b:hover {
    color: #20C997 !important;
}



.gsc-adBlock {
    display: none;
}

form {
    margin: 10px 0;
}

body[data-bs-theme='dark'] .gcsc-find-more-on-google {
    color: white;
}

body[data-bs-theme='dark'] .gcsc-find-more-on-google-magnifier {
    fill: white;
}

body[data-bs-theme='light'] .gcsc-find-more-on-google {
    color: black;
}

body[data-bs-theme='light'] .gcsc-find-more-on-google-magnifier {
    fill: black;
}

.gs-webResult {
    position: relative;
    display: block;
    padding-left: 80px;
    /* min-height: 60px; */
}

body[data-bs-theme='dark'] img.gs-image {
    position: absolute;
    top: 0;
    left: 10px;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

body[data-bs-theme='light'] img.gs-image {
    position: absolute;
    top: 0;
    left: 10px;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

div.gs-fileFormat {
    position: relative;
    /* left: -62px; */
}

.gs-image-box.gs-web-image-box.gs-web-image-box-portrait a {
    width: 0px;
    padding: 0;
}

.gs-fileFormat.no-thumbnail-image {
    left: 0px;
}

.gs-bidi-start-align.gs-visibleUrl.gs-visibleUrl-breadcrumb {
    color: #20C997 !important;
}

.gs-bidi-start-align {
    display: block;
    margin-top: 5px;
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

/* .gsc-table-cell-snippet-close .gs-bidi-start-align {
    position: relative;
    left: ;
} */

body[data-bs-theme='dark'] .gs-bidi-start-align.gs-snippet {
    color: #CCCCCC !important;
}

body[data-bs-theme='light'] .gs-bidi-start-align.gs-snippet {
    color: var(--light-text) !important;
}
body[data-bs-theme='dark'] .gs-spelling,
body[data-bs-theme='dark'] .gsc-control-cse{
	color: var(--dark-text) !important;
}
