/* Container */
.serp-simulator-result{
    border-top: 15px solid var(--lightgrey)!important;
    max-height: 600px;
    overflow-y: auto;
}
.serp-simulator-result::-webkit-scrollbar{
  width: .6rem;
  background-color: var(--lightgrey);
}
.serp-simulator-result::-webkit-scrollbar-thumb{
  border-radius: .5rem;
  background-color: var(--grey);
}
.serp-simulator-result::-webkit-scrollbar-thumb:hover{
  background-color: var(--grey);
}

.action-preview{
    margin: 0 1rem;
}
.action-preview i:focus-visible,
.action-preview i:focus{
    outline: none;
}

#ads-serp-preview.active,
#rating-serp-preview.active,
#date-serp-preview.active{
    color: var(--primaryblue);
}

/* Snippet Desktop */
#snippet-desktop {
    width: 100%;
    height: 700px;
}

/* Header */
.snippet-header {
    width: 100%;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: var(--grey);
}

.snippet-logo{
    padding: 4px 28px 0 30px;
}

.snippet-input {
    background: #fff;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    border-radius: 8px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #dfe1e5;
    -webkit-box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
    box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
    width: 638px;
    border-radius: 24px;
    z-index: 3;
    height: 44px;
    margin: 0 auto;
    color: #222;
    padding: 8px 20px;
    font-size: 15px;
    line-height: 20px;
}
.snippet-input:focus{
    outline: none;
    box-shadow: 0 2px 8px 1px rgba(64,60,67,.24);
}
.snippet-input:hover{
    box-shadow: 0 2px 8px 1px rgba(64,60,67,.24);
}

.snippet-label {
    border-radius: 50%;
    display: inline-block;
    line-height: 28px;
    min-height: 1.6470588235rem;
    letter-spacing: initial;
    text-decoration: none !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    font-weight: bold;
    top: 0;
    right: 0;
    margin-right: 15px;
    margin-top: 6px;
    font-size: 1rem;
}
.snippet-label i{
    color: #4285f4!important;
}
.snippet-label.text-small {
    line-height: 16px;
    min-height: 0;
    padding: 0.4rem 0.5rem;
}
.snippet-search-cat{
    display: flex;
    align-items: center;
    height: 40px;
    justify-content: center;
    background: #fff;
    border: 1px solid #dadce0;
    box-sizing: border-box;
    border-radius: 20px;
    min-width: 38px;
    cursor: pointer;
    padding: 0 14px;
    margin: 1.5rem 3px 2rem 3px;
}
.snippet-search-cat:hover{
    background-color: #f1f3f4;
}
.snippet-search-cat.menu-active{
    margin-left: 0px!important;
    background: rgb(232,240,254);
    border-color: rgb(232,240,254);
    color: rgb(25,103,210);
    cursor: auto;    
    backdrop-filter: blur(4px);
}

/* Snippet Results */
.snippet-results {
    padding-left: 150px;
}

.snippet-count {
    line-height: 43px;
    font-size: 13px;
    color: #777;
}

.snippet-result{
    margin-bottom: 26px;
    width: 600px;
    line-height: 1.2em;
}

.snippet-url {
    color: #5f6368;
    font-size: 14px;
    cursor: pointer;
    max-width: 100%;
    padding-bottom: 1px;
    padding-top: 1px;
}
.snippet-url .snippet-domain {
    font-size: 12px;
    line-height: 18px;
    color: #4d5156;
    font-style: normal;
}
.snippet-url .snippet-domain div{
    width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snippet-title {
    font-size: arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1a0dab;
    min-height: 20px;
    line-height: 1.3;
    cursor: pointer;
    display: inline-block;
    max-width: 600px;
    margin-top: 4px;
    margin-bottom: 3px;
}

.snippet-desc {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.58;
}

.snippet-truncate {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.favicon__container{
    background-color: #f1f3f4;
    border: 1px solid #ecedef;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 26px;
    width: 26px;
    margin-right: 12px;
    vertical-align: middle;
}

.snippet-website{
    color: #202124;
    font-size: 14px;
    display: block;
    line-height: 20px;
    white-space: nowrap;
}

.snippet-result.snippet-preview {
    position: relative;
    background: #fff;
}

.snippet-date, .snippet-rating {
    color: #70757a;
    line-height: 1.58;
    font-size: 14px;
    display: none;
}

.snippet-date{
    margin-right: 3px;
}

.snippet-rating.active{
    display: flex;
}
.snippet-date.active{
    display: inline-flex;
}

.snippet-rating-vote{
    display: flex;
    margin-right: 6px;
}
.snippet-rating-vote i{
    font-size: 12px;
}
.snippet-rating-vote i.active{
    color: #fbbc04;
}

/* Snippet Ads */
.snippet-ads{
    display: none;
}

.ad-label{
    font-weight: 700;
    color: #3b3f3e;
}
.ad-label:after{
    content: '';
    background-color: #3b3f3e;
    width: 4px;
    height: 4px;
    margin: 0 3px 1px 6px;
    border-radius: 50%;
    display: inline-block;
}

/* Snippet Preview */
.snippet-favicon,
.svg-favicon{
    width: 16px;
}

/* Snippet empty */
.snippet-url:empty {
    background: #4286f8;
    width: 30%;
    opacity: 0.3;
    cursor: default;
    min-height: 16px;
    margin-bottom: 8px;
}
.snippet-url-mobile{
    background: #4286f8;
    width: 200px;
    opacity: 0.3;
    cursor: default;
    min-height: 16px;
}
.snippet-title:empty {
    background: #1a0dab;
    width: 60%;
    opacity: 0.3;
    cursor: default;
}
.snippet-desc:empty {
    display: inline-block;
    background: #4d5156;
    width: 90%;
    opacity: 0.3;
    min-height: 40px;
    margin-top: 6px;
}

.label-btn-fetch{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 8px;
    margin-right: 12px;
    cursor: pointer;
    color: var(--primaryblue);
}
.label-btn-fetch:hover{
    text-decoration: underline;
}

/* Mobile Snipet */
#snippet-mobile {
    font-family: arial, sans-serif;
    width: 100%;
    max-width: 360px;
    overflow-x: hidden;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 8px 0px rgb(226 227 230);
    box-shadow: 0px 0px 8px 0px rgb(226 227 230);
    border-radius: 0.5rem
}
#snippet-mobile .snippet-header {
    padding: 15px 0.8rem 0 0.8rem;
}
#snippet-mobile .snippet-logo{
    margin-bottom: 10px;
}
#snippet-mobile .snippet-search-cat{
    margin: 1rem 3px 1rem 3px;
}
#snippet-mobile .snippet-header .snippet-form-tag .snippet-label {
    line-height: 14px;
    margin-right: 0;
    margin-top: 8px;
    left: 0;
    right: auto;
    margin-left: 8px;
}
#snippet-mobile .snippet-input {
    width: 100%;
    padding-top: 9px;
    padding-bottom: 8px;
    padding-left: 40px;
}
#snippet-mobile .snippet-results {
    padding: 10px 8px;
}
#snippet-mobile .snippet-result {
    background-color: white;
    line-height: 20px;
    -webkit-box-shadow: rgba(32,33,36,0.28) 0px 1px 6px;
    box-shadow: rgba(32,33,36,0.28) 0px 1px 6px;
    border-radius: 8px;
    width: 342px;
    padding: 16px;
    margin-bottom: 10px;
    color: #202124;
}
#snippet-mobile .snippet-url {
    height: 19px;
    font-size: 12px !important;
    margin: 0 0 9px 0;
    cursor: pointer;
}
#snippet-preview a {
    text-decoration: none;
}
#snippet-mobile .snippet-result .snippet-title {
    font-size: 16px;
    line-height: 20px;
    color: #1967D2;
    height: auto;
    min-height: 1em;
    margin-bottom: 7px;
}
#snippet-mobile .snippet-desc {
    font-size: 14px;
    color: #3C4043;
}
#snippet-mobile .snippet-url img {
    width: 14px;
    height: 14px;
}
#snippet-mobile .snippet-rating-vote{
    margin: 0 6px;
}

.ms-auto{    
    margin-left: auto;
}

/* Responsive */
@media screen and (max-width: 1024px){
    .snippet-logo{
        padding: 4px 18px 0 20px;
    }
    .snippet-input{
        width: 400px;
    }
    .snippet-results{
        padding-left: 125px;
    }
    .snippet-result{
        width: 400px;
    }
}

@media screen and (max-width: 768px){
    #snippet-desktop{
        width: fit-content;
    }
}

@media screen and (max-width: 500px){
    .practice-serp-simulator{
        margin-top: 3rem;
    }
}

@media print {
    /* Properti CSS for print preview */
    @page {
     margin-left: 0.8in;
     margin-right: 0.8in;
     margin-top: 0;
     margin-bottom: 0;
   }
    #kt_header,
    #kt_subheader,
    #kt_header_mobile,
    #practice-serp-simulator,
    #local-collection-desktop,
    #alert-limit,
    .card.card-custom.mb-5,
    .header-blue,
    .desktop-version,
    .background-white,
    .footer-bottom,
    h1,
    p,
    .tooltip{
        display: none;
    }
    #serp-result-container{
        overflow: initial;
    }
    .serp-simulator-result{
        overflow: initial;
        max-height: fit-content;
        border: 1px solid #e1e8ed!important;
    }
    #snippet-mobile,
    #snippet-mobile .snippet-result{        
        border: 1px solid #e1e8ed!important;
    }
    #snippet-desktop,
    #snippet-mobile{
        height: fit-content;
    }
    .background-gray-40{
        background-color: #fff!important;
    }
}