@font-face {
    font-family: 'Yekan';
    src: url('../Fonts/IRANSans.ttf');
}

@font-face {
    font-family: 'Iransans';
    src: url('../Fonts/IRANSans.ttf');
}

:root {
}

* {
    font-family: 'Iransans';
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* Header Section Styles */

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.main-header-wrapper {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    background: white;
}

.top-header-wrapper {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}


.header-content {
    border-bottom: 1px solid lightgray;
    padding: 10px;
}

.results-header-content {
    padding: 10px 10px 0 10px;
}

.header-left-section {
    display: flex;
    align-items: center;
    position: relative;
    gap: 8px;
}

.header-icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.header-icon-dots {
    background: none;
    border: none;
    font-size: 18px;
    width: 36px;
    color: #5F6368;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.header-icon-btn:hover {
    background-color: #d5d5d5;
}

.profile-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
}

.profile-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #317bf2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 12px;
    transition: border-color 0.2s;
    cursor: pointer;
}

    .profile-avatar:hover {
        border-color: #8AB4F8;
    }

.divider-vertical {
    color: #d1d1d1;
    margin: 0 4px;
}

.extension-icon {
    color: black;
    border: none;
    height: 25px;
    width: 25px;
    display: flex;
    font-size: 11px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, transform 0.1s;
    margin: 0 5px 0 5px;
}

.outline-icon {
    color: transparent;
    -webkit-text-stroke: 1.5px #9AA0A6;
}

.header-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border-radius: 40px;
    width: 100%;
    margin: 0 auto;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-btn {
    background: none;
    border: none;
    color: #5F6368;
    font-size: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

    .nav-btn:hover {
        background-color: #E8EAED;
        color: #202124;
    }

.star-btn {
    color: black;
    border: none;
    height: 25px;
    width: 25px;
    display: flex;
    font-size: 11px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, transform 0.1s;
    margin: 0 5px 0 5px;
}

    .star-btn:hover {
        background: #d5d5d5;
    }

.top-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.top-search-box {
    background: #F1F3F4;
    border: 1px solid transparent;
    border-radius: 30px;
    padding: 3px 12px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    box-shadow: none;
}

    .top-search-box:hover {
        background: #dedede;
    }

    .top-search-box.expanded {
        background: #FFFFFF;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 4px 12px rgba(32, 33, 36, 0.15);
        border-color: #DFE1E5;
        border-bottom: 1px solid #E8EAED;
    }

.search-icon {
    color: #5F6368;
    margin-left: 8px;
    font-size: 14px;
}

.top-search-box input {
    background: none;
    border: none;
    outline: none;
    color: #202124;
    font-size: 14px;
    width: 100%;
    padding: 6px 0;
}

    .top-search-box input::placeholder {
        color: #5F6368;
    }

.mic-icon {
    color: #5F6368;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
}

    .mic-icon:hover {
        color: #1A73E8;
    }

.top-suggestions-container {
    position: absolute;
    z-index: 999;
    top: 100%;
    right: 0;
    left: 0;
    background: #FFFFFF;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 12px 5px rgba(32, 33, 36, 0.15);
    border: 1px solid #DFE1E5;
    border-top: none;
    overflow: hidden;
    display: none;
    opacity: 0;
    transition: opacity 0.2s;
}

    .top-suggestions-container.show {
        display: block;
        opacity: 1;
    }


.suggestion-item:hover {
    background-color: #F8F9FA;
}

    .suggestion-item:hover .suggestion-icon {
        color: #1A73E8;
    }

.suggestion-item:last-of-type {
    border-bottom: none;
}

.suggestion-action {
    margin-right: 8px;
    color: #5F6368;
    font-size: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.15s;
}

    .suggestion-action:hover {
        background-color: #E8EAED;
    }

.delete-action {
    visibility: hidden;
}

.suggestion-item:hover .delete-action {
    visibility: visible;
}

.main-content {
    margin-top: 170px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    margin-bottom: 25px;
}

.logo-text h2 {
    font-family: sans-serif !important;
    font-size: 90px;
    font-weight: 400;
}

.search-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-icon {
    color: #9AA0A6;
    margin-left: 12px;
    font-size: 16px;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: #202124;
    font-size: 16px;
    width: 100%;
    padding: 8px 0;
}

.mic-icon,
.camera-icon {
    color: #4285F4;
    margin: 0 8px;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.camera-icon {
    color: #9AA0A6;
}

.shortcuts-container {
    margin-top: 45px;
    max-width: 600px;
}

.shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    padding: 8px 25px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

    .shortcut-item:hover {
        background-color: #F1F3F4;
    }

.shortcut-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #F1F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

    .shortcut-icon i {
        font-size: 22px;
        color: #1A1A1A;
    }

.shortcut-name {
    color: #1A1A1A;
    font-size: 12px;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.add-shortcut {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #F1F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .add-shortcut:hover {
        background-color: #E8EAED;
    }

    .add-shortcut i {
        font-size: 20px;
        color: #5F6368;
    }


.tabs-wrapper {
    display: flex;
    align-items: center;
    background: transparent;
    width: 100%;
}

.tabs-container {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #C1C1C1 transparent;
    padding: 0 4px;
    background: #F1F3F4;
}

    .tabs-container::-webkit-scrollbar {
        height: 3px;
    }

    .tabs-container::-webkit-scrollbar-thumb {
        background: #C1C1C1;
        border-radius: 10px;
    }

.browser-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 10px 16px;
    background: #F1F3F4;
    border-radius: 12px 12px 0 0;
    min-width: 200px;
    max-width: 280px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    border-bottom: none;
    flex-shrink: 0;
    transform-origin: right center;
}

    .browser-tab.closing {
        transform: scaleX(0) !important;
        opacity: 0 !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
        pointer-events: none !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .browser-tab.active {
        background: #FFFFFF;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
        border-color: #E8EAED;
    }

    .browser-tab:hover:not(.closing) {
        background: #E8EAED;
    }

    .browser-tab.active:hover:not(.closing) {
        background: #FFFFFF;
    }

.tab-favicon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.browser-tab.closing .tab-favicon {
    opacity: 0;
}

.tab-favicon.youtube {
    background: #EA4335;
    color: white;
}

.tab-favicon.github {
    background: #4285F4;
    color: white;
}

.tab-favicon.twitter {
    background: #1DA1F2;
    color: white;
}

.tab-favicon.google {
    background: #34A853;
    color: white;
}

.tab-favicon.default {
    background: #5F6368;
    color: white;
}

.tab-title1 {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    transition: opacity 0.2s;
}

.browser-tab.closing .tab-title1 {
    opacity: 0;
}

.tab-close-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
    font-size: 12px;
    transition: all 0.2s ease;
    opacity: 0.7;
    flex-shrink: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

    .tab-close-btn:hover {
        background: #DADCE0;
        color: #202124;
        opacity: 1;
    }

.browser-tab.closing .tab-close-btn {
    opacity: 0;
}

.tab-audio {
    color: #5F6368;
    font-size: 12px;
    animation: audioPulse 1.5s ease-in-out infinite;
    transition: opacity 0.2s;
}

.browser-tab.closing .tab-audio {
    opacity: 0;
}

@keyframes audioPulse {

    0%, 100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes tabOpenAnim {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.browser-tab.new-tab-animation {
    animation: tabOpenAnim 0.3s ease-out;
}

.tabs-actions {
    display: flex;
    align-items: center;
}

.new-tab-btn,
.tab-menu-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

    .new-tab-btn:hover,
    .tab-menu-btn:hover {
        background: #E8EAED;
    }

.tab-menu-btn {
    font-size: 16px;
}

.tabs-divider {
    width: 1px;
    height: 24px;
    background: #DADCE0;
    margin: 0 4px;
    flex-shrink: 0;
}

.gold-dark-bg {
    color: rgb(184, 134, 11);
    border: none;
}

.search-wrapper {
    width: 100%;
    max-width: 700px;
    position: relative;
}

.search-box {
    background: #FFFFFF;
    border: 1px solid #DFE1E5;
    border-radius: 30px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.2s ease, border-radius 0.2s ease, border-color 0.2s;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
    position: relative;
    z-index: 2;
}

    .search-box.expanded {
        border-radius: 30px 30px 0 0;
        border-color: transparent;
        border-bottom: 1px solid #E8EAED;
    }

.search-icon {
    color: #9AA0A6;
    margin-left: 12px;
    font-size: 16px;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: #202124;
    font-size: 16px;
    width: 100%;
    padding: 8px 0;
}

.mic-icon,
.camera-icon {
    color: #4285F4;
    margin: 0 8px;
    font-size: 18px;
    cursor: pointer;
}

.camera-icon {
    color: #9AA0A6;
}

.suggestions-container {
    position: absolute;
    top: 100%;
    z-index: 999;
    right: 0;
    left: 0;
    background: #FFFFFF;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 12px rgba(32, 33, 36, 0.15);
    border: 1px solid transparent;
    border-top: none;
    overflow: hidden;
    display: none;
    transition: opacity 0.2s;
    opacity: 0;
}

    .suggestions-container.show {
        display: block;
        opacity: 1;
        border-color: #DFE1E5;
        border-top-color: transparent;
    }

.search-box.expanded + .suggestions-container {
    border-top: none;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid #F1F3F4;
}

    .suggestion-item:hover {
        background-color: #F8F9FA;
    }

    .suggestion-item:last-of-type {
        border-bottom: none;
    }

.suggestion-icon {
    width: 24px;
    margin-left: 5px;
    color: #5F6368;
    font-size: 14px;
    text-align: center;
}

.suggestion-content {
    flex: 1;
}

.suggestion-text {
    font-size: 14px;
    color: #202124;
}

    .suggestion-text .matched {
        font-weight: 700;
    }

    .suggestion-text .rest {
        color: #5F6368;
    }

.suggestion-action {
    margin-right: 8px;
    color: #5F6368;
    font-size: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.15s;
}

    .suggestion-action:hover {
        background: #E8EAED;
    }

.delete-action {
    visibility: hidden;
}

.suggestion-item:hover .delete-action {
    visibility: visible;
}

.suggestions-divider {
    padding: 8px 16px;
    color: #5F6368;
    font-size: 12px;
    font-weight: 500;
    background: #F8F9FA;
    border-bottom: 1px solid #E8EAED;
}



/* Results Page Styles */

.result-searchBar-wrapper {
    padding: 25px 10px 0;
    background: white;
    /*    margin-top: 25px;
    padding: 0 10px;*/
}

.resultsSearch-wrapper {
    width: 100%;
    max-width: 700px;
    position: relative;
}

.resultsSearch-box {
    background: #FFFFFF;
    border: 1px solid #DFE1E5;
    border-radius: 30px;
    padding: 4px 20px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.2s ease, border-radius 0.2s ease, border-color 0.2s;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
    position: relative;
    z-index: 2;
}

    .resultsSearch-box.expanded {
        border-radius: 30px 30px 0 0;
        border-color: transparent;
        border-bottom: 1px solid #E8EAED;
    }

.search-icon {
    color: #9AA0A6;
    margin-left: 12px;
    font-size: 16px;
}

.resultsSearch-box input {
    background: none;
    border: none;
    outline: none;
    color: #202124;
    font-size: 16px;
    width: 100%;
    padding: 8px 0;
}

.resultsMic-icon,
.resultsCamera-icon {
    color: #3d3d3d;
    margin: 0 8px;
    font-size: 18px;
    cursor: pointer;
}

.camera-icon {
    color: #9AA0A6;
}

.suggestions-container {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 999;
    left: 0;
    background: #FFFFFF;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 12px 5px rgba(32, 33, 36, 0.15);
    border: 1px solid transparent;
    border-top: none;
    overflow: hidden;
    display: none;
    transition: opacity 0.2s;
    opacity: 0;
}

    .suggestions-container.show {
        display: block;
        opacity: 1;
        border-color: #DFE1E5;
        border-top-color: transparent;
    }

.resultsSearch-box.expanded + .suggestions-container {
    border-top: none;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid #F1F3F4;
}

    .suggestion-item:hover {
        background-color: #F8F9FA;
    }

    .suggestion-item:last-of-type {
        border-bottom: none;
    }

.suggestion-icon {
    width: 24px;
    margin-left: 5px;
    color: #5F6368;
    font-size: 14px;
    text-align: center;
}

.suggestion-content {
    flex: 1;
}

.suggestion-text {
    font-size: 14px;
    color: #202124;
}

    .suggestion-text .matched {
        font-weight: 700;
    }

    .suggestion-text .rest {
        color: #5F6368;
    }

.suggestion-action {
    margin-right: 8px;
    color: #5F6368;
    font-size: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.15s;
}

    .suggestion-action:hover {
        background: #E8EAED;
    }

.delete-action {
    visibility: hidden;
}

.suggestion-item:hover .delete-action {
    visibility: visible;
}

.suggestions-divider {
    padding: 8px 16px;
    color: #5F6368;
    font-size: 12px;
    font-weight: 500;
    background: #F8F9FA;
    border-bottom: 1px solid #E8EAED;
}

/* Options Tabs  */
.google-tabs-container {
    margin-top: 20px;
    margin-left: 6rem;
    margin-right: 7.5rem;
}

.options-tab-container {
    margin-top: 11rem;
    border-bottom: 1px solid #dddddd;
}

.google-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .google-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

.google-tab {
    position: relative;
    padding: 16px 16px 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5F6368;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px 8px 0 0;
}

    .google-tab i {
        font-size: 16px;
        opacity: 0.8;
        transition: all 0.3s ease;
    }

    .google-tab span {
        letter-spacing: 0.3px;
    }

    .google-tab:hover {
        color: #1A73E8;
        background: rgba(26, 115, 232, 0.04);
    }

        .google-tab:hover i {
            opacity: 1;
            transform: translateY(-1px);
        }

    .google-tab.active {
        color: #1A73E8;
    }

        .google-tab.active i {
            opacity: 1;
        }

        .google-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 3px;
            background: #1A73E8;
            border-radius: 3px 3px 0 0;
            animation: slideIn 0.3s ease-out;
        }

@keyframes slideIn {
    from {
        transform: scaleX(0);
        opacity: 0;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.google-tab {
    overflow: hidden;
}

    .google-tab:active {
        background: rgba(26, 115, 232, 0.1);
    }

.more-tabs {
    position: relative;
}

.more-btn {
    padding: 16px 12px 12px 12px;
}


/* Results Sections */

.search-results-container {
    padding: 0 16px;
    margin: 1rem 6.8rem;
}

.result-item {
    margin-bottom: 28px;
    padding: 8px 0;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.result-favicon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F3F4;
    flex-shrink: 0;
}

    .result-favicon i {
        font-size: 12px;
        color: #5F6368;
    }

.result-url {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #202124;
}

.result-site-name {
    color: #202124;
    font-weight: 500;
}

.result-breadcrumb {
    color: #5F6368;
    margin-right: 4px;
}

.result-url-arrow {
    color: #5F6368;
    margin: 0 4px;
    font-size: 12px;
}

.result-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 4px;
    line-height: 1.3;
}

    .result-title a {
        color: #2719c4;
        text-decoration: none;
        transition: color 0.15s;
    }

.web-name {
    color: #2719c4;
    text-decoration: none;
    transition: color 0.15s;
    font-size: 20px;
}

.visited {
    color: #681da8 !important;
}

.result-title a:hover {
    text-decoration: underline;
}

.result-description {
    color: #4D5156;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.result-meta {
    margin-top: 4px;
    color: #5F6368;
    font-size: 13px;
}

.favicon-google {
    background: #4285F4;
    color: white;
}

.favicon-github {
    background: #24292E;
    color: white;
}

.favicon-mdn {
    background: #15141A;
    color: white;
}

.favicon-react {
    background: #20232A;
    color: #61DAFB;
}

.related-searches-section {
    max-width: 850px;
    padding: 0 16px;
    margin: 1rem 6.8rem;
}

.related-title {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.related-item {
    background: #F1F3F4;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    color: #202124;
}

    .related-item:hover {
        background: #E8EAED;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        border-color: #DADCE0;
    }

.related-icon {
    margin-left: 12px;
    color: #5F6368;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-text {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 35px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #DFE1E5;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    color: #202124;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .page-btn.nav-btn {
        color: #4285F4;
        font-size: 18px;
        min-width: 40px;
    }

        .page-btn.nav-btn i {
            font-size: 14px;
        }

    .page-btn:hover {
        background: #F1F3F4;
    }

    .page-btn.nav-btn:hover {
        background: rgba(66, 133, 244, 0.08);
    }

    .page-btn.active {
        background: #1A73E8;
        color: white;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

        .page-btn.active:hover {
            background: #1558B0;
        }

.page-dots {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
    font-size: 18px;
    user-select: none;
}

.scrolled {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 8px;
}

.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

.google-footer {
    background: #F2F2F2;
    border-top: 1px solid #DADCE0;
    padding: 16px 0;
    font-size: 14px;
    color: #3C4043;
}

.footer-container {
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #DADCE0;
    margin-bottom: 12px;
}

.location-info {
    color: #5F6368;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .location-info i {
        font-size: 14px;
    }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

    .footer-links a {
        color: #3C4043;
        text-decoration: none;
        transition: color 0.15s;
        font-size: 14px;
    }

        .footer-links a:hover {
            color: #1A73E8;
            text-decoration: underline;
        }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    .legal-links a {
        color: #3C4043;
        text-decoration: none;
        font-size: 14px;
    }

        .legal-links a:hover {
            color: #1A73E8;
            text-decoration: underline;
        }

.fa-circle {
    font-size: 6px;
    vertical-align: middle;
    margin: 0 4px;
    color: #9AA0A6;
}


/* Gallery Page Styles */

.image-card {
    margin-bottom: 24px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
}

.images-container {
    margin: 0 7.2rem;
}

.image-card:hover {
    transform: translateY(-4px);
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    border: 1px solid #E8EAED;
}

.image-card:hover .image-wrapper {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #F1F3F4;
}

.image-info {
    padding: 8px 4px 0 4px;
}

.site-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.site-favicon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #F1F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #5F6368;
}

.site-name {
    font-size: 13px;
    color: #202124;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-description {
    font-size: 13px;
    color: #5F6368;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
}

.image-actions {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.image-wrapper:hover .image-actions {
    opacity: 1;
}

.image-actions i {
    font-size: 14px;
    color: #3C4043;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s;
}

    .image-actions i:hover {
        background: rgba(0, 0, 0, 0.05);
    }


/* Videos Page Styles */
.videos-container {
    margin: 0 7.1rem;
}

.video-item {
    margin-bottom: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 16px;
    background: transparent;
}

.video-thumbnail {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    border: 1px solid #E8EAED;
    aspect-ratio: 16 / 9;
}

.video-item:hover .video-thumbnail {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #E8EAED;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.video-details {
    padding: 8px 4px 0 4px;
}

.site-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5F6368;
    font-size: 13px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.site-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #F1F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.site-name {
    font-weight: 500;
    color: #202124;
}

.breadcrumb-arrow {
    color: #9AA0A6;
    font-size: 12px;
}

.video-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
}

    .video-title a {
        color: #1A0DAB;
        text-decoration: none;
        transition: color 0.15s;
    }

        .video-title a:visited {
            color: #681DA8;
        }

        .video-title a:hover {
            text-decoration: underline;
        }

.video-description {
    color: #4D5156;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5F6368;
    font-size: 13px;
}

    .video-meta i {
        margin-left: 4px;
        font-size: 12px;
    }



/* News Page Styles */
.news-container {
    margin: 0 7.1rem;
}

.news-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #E8EAED;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

    .news-card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
        transform: translateY(-3px);
        border-color: #DADCE0;
    }

.news-image-wrapper {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    border: 1px solid #F1F3F4;
}

.news-card:hover .news-image-wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #E8EAED;
}

.news-source {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.source-favicon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #F1F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #5F6368;
    flex-shrink: 0;
}

.source-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}

.news-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
}

    .news-title a {
        color: #1A0DAB;
        text-decoration: none;
        transition: color 0.15s;
        width: 500px;
        display: block;
    }

        .news-title a:visited {
            color: #681DA8;
        }

        .news-title a:hover {
            text-decoration: underline;
        }

.news-description {
    color: #4D5156;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #5F6368;
    font-size: 13px;
}

    .news-footer i {
        margin-left: 4px;
        font-size: 12px;
    }



/* Mobile Sections */

.mobile-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5rem;
    padding: 5px;
}

.left-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-icon {
    color: #5F6368;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

    .home-icon:hover {
        color: #202124;
    }

.right-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.menu-icon {
    color: #5F6368;
    font-size: 16px;
    cursor: pointer;
}

.tabs-badge {
    background: #F1F3F4;
    color: #202124;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

    .tabs-badge:hover {
        background: #E8EAED;
    }

    .tabs-badge i {
        font-size: 14px;
        color: #5F6368;
    }

.account-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #317bf2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #DADCE0;
}

.google-logo-mobile {
    text-align: center;
    margin-bottom: 24px;
}

.logo-text {
    font-size: 64px;
    font-weight: 600;
}

    .logo-text span {
        color: rgb(184, 134, 11);
    }

.mobile-search-wrapper {
    margin-bottom: 32px;
}

.mobile-search-box {
    background: #FFFFFF;
    border: 1px solid #DFE1E5;
    border-radius: 30px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

    .mobile-search-box:focus-within {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-color: #DADCE0;
    }

.z-icon {
    margin-left: 12px;
}

    .z-icon span {
        display: inline-block;
        width: 20px;
        height: 20px;
        color: rgb(184, 134, 11);
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        line-height: 20px;
        border-radius: 50%;
    }

.mobile-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #202124;
    padding: 4px 0;
}

    .mobile-search-box input::placeholder {
        color: #9AA0A6;
    }

.mic-icon,
.camera-icon {
    color: #4285F4;
    font-size: 18px;
    margin: 0 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.camera-icon {
    color: #5F6368;
}

    .mic-icon:hover,
    .camera-icon:hover {
        opacity: 0.8;
    }

.shortcuts-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

    .shortcuts-title span {
        font-size: 15px;
        font-weight: 500;
        color: #202124;
    }

.customize-link {
    color: #1A73E8;
    font-size: 14px;
    text-decoration: none;
}

.shortcut-slide {
    padding: 4px 2px;
}

.shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 76px;
    margin: 0 auto;
}

.shortcut-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #F1F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: background 0.2s, transform 0.2s;
    color: #1A1A1A;
    font-size: 24px;
}

.shortcut-item:hover .shortcut-icon {
    background: #E8EAED;
    transform: scale(1.02);
}

.shortcut-name {
    font-size: 12px;
    color: #3C4043;
    text-align: center;
    max-width: 76px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: flex-start;
}

.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 16px;
}

.owl-theme .owl-dots .owl-dot span {
    background: #DADCE0;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #1A73E8;
}

.add-shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    width: 76px;
    cursor: pointer;
}

.add-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #F1F3F4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #5F6368;
    font-size: 22px;
    transition: background 0.2s;
}

.add-shortcut-item:hover .add-icon {
    background: #E8EAED;
}

.shortcuts-slider {
    border-radius: 10px;
    background: #fafafa;
    padding: 10px 0;
}


.tabs-switcher-container {
    max-width: 480px;
    margin: 0 auto;
}

.tabs-grid {
    margin-bottom: 20px;
}

.tab-card {
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

    .tab-card:active {
        transform: scale(0.98);
    }

.tab-preview {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    aspect-ratio: 12 / 16;
    background: #1C1C1E;
    transition: box-shadow 0.3s;
}

.tab-card:hover .tab-preview {
    box-shadow: 0 28px 40px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.tab-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tab-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.tab-favicon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(145deg, #3A3A44, #1F1F24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

    .tab-favicon.youtube {
        background: linear-gradient(145deg, #FF0000, #B30000);
    }

    .tab-favicon.github {
        background: linear-gradient(145deg, #333333, #111111);
    }

    .tab-favicon.twitter {
        background: linear-gradient(145deg, #1DA1F2, #0C7ABF);
    }

    .tab-favicon.instagram {
        background: linear-gradient(145deg, #F58529, #DD2A7B, #8134AF);
    }

    .tab-favicon.cnn {
        background: linear-gradient(145deg, #CC0000, #990000);
    }

.tab-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    color: #FFFFFF;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.2px;
}

.tab-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

    .tab-close:hover {
        background: #E53935;
        color: white;
        border-color: transparent;
        transform: scale(1.05);
    }

.new-tab-card {
    margin-bottom: 16px;
}

.add-tab-btn {
    width: 100%;
    aspect-ratio: 12 / 16;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

    .add-tab-btn:hover {
        background: rgba(255, 215, 0, 0.05);
        border-color: #FFD700;
        transform: translateY(-2px);
    }

    .add-tab-btn i {
        font-size: 40px;
        margin-bottom: 10px;
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    }

    .add-tab-btn span {
        font-size: 16px;
        font-weight: 500;
        letter-spacing: -0.2px;
    }

.tabs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #B0B0B0;
    font-size: 15px;
    padding: 12px 6px 0;
}

.footer-actions {
    display: flex;
    gap: 24px;
}

    .footer-actions i {
        font-size: 20px;
        cursor: pointer;
        color: #E0E0E0;
        transition: color 0.2s, transform 0.2s;
    }

        .footer-actions i:hover {
            color: #FFD700;
            transform: translateY(-2px);
        }

.mobile-tabs-plus {
    padding: 4px 10px;
    background: #dedddd;
    border-radius: 10px;
    font-size: 15px;
}

.gpop-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding: 8px 16px;
    margin: 0 auto;
}

.gpop-link {
    color: #1A1A1A;
    text-decoration: none;
    font-size: 14px;
}

    .gpop-link:hover {
        text-decoration: underline;
    }

.gpop-apps-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5F6368;
    font-size: 22px;
    transition: background-color 0.2s;
}

    .gpop-apps-btn:hover {
        background-color: #E8EAED;
        color: #202124;
    }

.gpop-profile {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #317bf2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #DADCE0;
}

.gpop-menu {
    position: absolute;
    top: 60px;
    left: 20px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 20px 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1000;
}

    .gpop-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.gpop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
    margin-bottom: 20px;
}

.gpop-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #202124;
    border-radius: 12px;
    padding: 8px 4px;
    transition: background-color 0.15s;
    cursor: pointer;
}

    .gpop-item:hover {
        background-color: #E8F0FE;
    }

.gpop-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    font-size: 24px;
    color: #5F6368;
}

    .gpop-icon.drive {
        color: #1A73E8;
    }

    .gpop-icon.gmail {
        color: #EA4335;
    }

    .gpop-icon.photos {
        color: #34A853;
    }

    .gpop-icon.maps {
        color: #FBBC05;
    }

.gpop-label {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.gpop-footer {
    border-top: 1px solid #E8EAED;
    padding-top: 16px;
    text-align: center;
}

.gpop-more-btn {
    background: none;
    border: 1px solid #DADCE0;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 14px;
    color: #1A73E8;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .gpop-more-btn:hover {
        background: #F1F3F4;
    }

.gpop-header {
    position: relative;
}



/* Add Website Page Styles */
.add-site-card {
    max-width: 1350px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 10px 30px 0px rgb(0 0 0 / 22%), 0 0 0 1px rgb(0 0 0 / 0%);
    padding: 28px 24px 32px;
    transition: box-shadow 0.2s;
    margin: 0 auto;
    margin-top: 3rem;
}

.card-header-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #1E1F22;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .card-title i {
        color: #1A73E8;
        font-size: 26px;
    }

.header-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    background: none;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .icon-btn:hover {
        background: #F1F3F4;
        color: #1A73E8;
    }

.custom-tabs {
    border-bottom: 1.5px solid #E9EBED;
    margin-bottom: 28px;
}

.nav-tabs {
    border-bottom: none;
    gap: 6px;
}

    .nav-tabs .nav-link {
        border: none;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        padding: 10px 20px;
        font-size: 15px;
        font-weight: 500;
        color: #5F6368;
        background: transparent;
        transition: all 0.2s;
        margin-left: 0;
        position: relative;
    }

        .nav-tabs .nav-link i {
            margin-left: 6px;
            font-size: 16px;
        }

        .nav-tabs .nav-link:hover {
            background: #F1F3F4;
            color: #1E1F22;
        }

        .nav-tabs .nav-link.active {
            background: #E9ECEF;
            color: #1A73E8;
            font-weight: 600;
            box-shadow: none;
        }

.suggested-badge {
    background: linear-gradient(135deg, #F6B83D 0%, #E69A0E 100%);
    color: #1E1F22;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 30px;
    margin-right: 8px;
    letter-spacing: -0.1px;
    box-shadow: 0 2px 6px rgba(230, 154, 14, 0.15);
    display: inline-block;
}

.tab-pane {
    padding-top: 8px;
}

.placeholder-text {
    color: #9AA0A6;
    text-align: center;
    padding: 32px;
    background: #F8F9FA;
    border-radius: 20px;
    border: 1px dashed #DADCE0;
}

.script-form {
    padding: 4px 0;
}

.script-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.script-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .script-label i {
        font-size: 20px;
        color: #1A73E8;
        background: #E9F0FD;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .script-label span {
        font-size: 16px;
        font-weight: 600;
        color: #1E1F22;
    }

.lang-badge {
    background: #E9EBED;
    color: #5F6368;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 40px;
    margin-right: 4px;
}

.toolbar-actions {
    display: flex;
    gap: 6px;
}

.tool-btn {
    background: none;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .tool-btn:hover {
        background: #F1F3F4;
        color: #1A73E8;
    }

/* textarea */
.script-textarea {
    width: 100%;
    padding: 18px 18px;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #1E1F22;
    background: #FCFCFD;
    border: 1.5px solid #E4E7EB;
    border-radius: 20px;
    resize: vertical;
    min-height: 220px;
    transition: border 0.15s, box-shadow 0.15s, background 0.15s;
    outline: none;
    direction: ltr;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

    .script-textarea:focus {
        border-color: #1A73E8;
        background: #FFFFFF;
        box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    }

    .script-textarea::placeholder {
        color: #9AA0A6;
        font-family: 'Segoe UI', sans-serif;
        font-size: 13px;
        direction: rtl;
        text-align: right;
        opacity: 0.7;
    }

.script-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    gap: 16px;
}

.script-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5F6368;
    font-size: 13px;
    background: #F8F9FA;
    padding: 8px 14px;
    border-radius: 40px;
    flex: 1;
}

    .script-info i {
        color: #1A73E8;
        font-size: 16px;
    }

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid #DADCE0;
    color: #5F6368;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, border 0.2s;
    cursor: pointer;
}

    .btn-outline-light:hover {
        background: #F1F3F4;
        border-color: #B0B5BD;
    }

.btn-primary-gradient {
    background: linear-gradient(145deg, #1A73E8 0%, #1557B0 100%);
    border: none;
    color: white;
    padding: 8px 22px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.15);
    transition: transform 0.15s, box-shadow 0.2s;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

    .btn-primary-gradient:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(26, 115, 232, 0.25);
    }

    .btn-primary-gradient i {
        font-size: 16px;
    }

.manual-form {
    padding: 4px 0;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1E1F22;
    margin-bottom: 8px;
    margin-top: 15px;
}

    .field-label i {
        color: #1A73E8;
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

.required {
    color: #E53935;
    margin-right: 2px;
}

.field-input,
.field-select,
.field-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    background: #FCFCFD;
    border: 1.5px solid #E4E7EB;
    border-radius: 16px;
    transition: border 0.15s, box-shadow 0.15s, background 0.15s;
    outline: none;
    font-family: inherit;
}

    .field-input:focus,
    .field-select:focus,
    .field-textarea:focus {
        border-color: #1A73E8;
        background: #FFFFFF;
        box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.08);
    }

.field-textarea {
    resize: vertical;
    min-height: 90px;
}

.field-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6B7280;
}

.field-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.char-counter {
    font-size: 12px;
    color: #9AA0A6;
}

.upload-area {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.preview-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #F1F3F4;
    border: 1.5px dashed #B0B5BD;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
    font-size: 24px;
    overflow: hidden;
    transition: border 0.2s;
    flex-shrink: 0;
}

    .preview-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.upload-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.upload-btn {
    background: #F1F3F4;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #1E1F22;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

    .upload-btn:hover {
        background: #E4E7EB;
    }

.upload-hint {
    font-size: 12px;
    color: #6B7280;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid #DADCE0;
    color: #5F6368;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}

    .btn-outline-light:hover {
        background: #F1F3F4;
        border-color: #B0B5BD;
    }

.btn-primary-gradient {
    background: linear-gradient(145deg, #1A73E8 0%, #1557B0 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.15);
    transition: transform 0.15s, box-shadow 0.2s;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

    .btn-primary-gradient:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(26, 115, 232, 0.25);
    }

.shortcut-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
    z-index: 1000;
}

    .shortcut-modal-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.shortcut-modal-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 24px 20px 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.shortcut-modal-overlay.show .shortcut-modal-card {
    transform: translateY(0);
}

.shortcut-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shortcut-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1E1F22;
}

.shortcut-modal-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

    .shortcut-modal-close:hover {
        background: #F1F3F4;
    }

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 6px;
}

    .form-label i {
        color: #1A73E8;
        font-size: 16px;
    }

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    background: #FCFCFD;
    border: 1.5px solid #E4E7EB;
    border-radius: 16px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

    .form-input:focus {
        border-color: #1A73E8;
        box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.08);
    }

.shortcut-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel {
    background: transparent;
    border: 1.5px solid #DADCE0;
    color: #5F6368;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn-cancel:hover {
        background: #F1F3F4;
    }

.btn-save {
    background: linear-gradient(145deg, #1A73E8 0%, #1557B0 100%);
    border: none;
    color: white;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.15);
    transition: transform 0.15s, box-shadow 0.2s;
}

    .btn-save:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(26, 115, 232, 0.25);
    }

.profile-popup {
    position: absolute;
    top: 6rem;
    left: 4rem;
    width: 280px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
}

.gpop-popup {
    position: absolute;
    top: 8rem;
    left: 4rem;
    width: 280px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
}

.profile-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gpop-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #F1F3F4;
}

.popup-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 500;
    color: #202124;
    flex-shrink: 0;
}

.popup-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.popup-user-name {
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}

.popup-user-email {
    font-size: 12px;
    color: #5F6368;
}

.popup-close-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

    .popup-close-btn:hover {
        background: #F1F3F4;
    }

.profile-popup-body {
    margin-bottom: 12px;
}

.popup-signin-btn {
    width: 100%;
    background: linear-gradient(145deg, #1A73E8 0%, #1557B0 100%);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.15);
    transition: transform 0.15s, box-shadow 0.2s;
}

    .popup-signin-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 16px rgba(26, 115, 232, 0.25);
    }

.profile-popup-footer {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid #F1F3F4;
}

.popup-link {
    font-size: 13px;
    color: #5F6368;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

    .popup-link:hover {
        color: #1A73E8;
    }

    .popup-link i {
        font-size: 16px;
    }

.header-more-menu {
    position: absolute;
    top: 6rem;
    left: 0;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    width: 260px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 55;
}

    .header-more-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.more-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    color: #202124;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s;
}

    .more-menu-item i {
        font-size: 18px;
        width: 24px;
        text-align: center;
        color: #5F6368;
    }

    .more-menu-item:hover {
        background: #F8F9FA;
    }

    .more-menu-item:active {
        background: #F1F3F4;
    }

.logout-item {
    color: #EA4335;
}

    .logout-item i {
        color: #EA4335;
    }

.more-menu-divider {
    height: 1px;
    background: #F1F3F4;
    margin: 6px 0;
}

.has-submenu {
    position: relative;
}

.sub-arrow {
    margin-right: auto;
    font-size: 12px;
    color: #5F6368;
}

.history-submenu {
    position: absolute;
    top: 0;
    left: 16rem;
    margin-right: 8px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    width: 260px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 60;
}

.has-submenu:hover .history-submenu,
.has-submenu.open .history-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-header {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #5F6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submenu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: #202124;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s;
}

    .submenu-item i {
        width: 18px;
        text-align: center;
        font-size: 14px;
        color: #5F6368;
    }

    .submenu-item:hover {
        background: #F8F9FA;
    }

.bookmark-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 6rem;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    width: 320px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 55;
}

    .bookmark-panel.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.bookmark-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px 8px;
}

    .bookmark-panel-header h4 {
        font-size: 16px;
        font-weight: 600;
        color: #202124;
        margin: 0;
    }

.bookmark-close {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #5F6368;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .bookmark-close:hover {
        background: #F1F3F4;
    }

.bookmark-list {
    padding: 0 8px;
}

.bookmark-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #202124;
    transition: background 0.15s;
}

    .bookmark-item:hover {
        background: #F8F9FA;
    }

    .bookmark-item i {
        font-size: 22px;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
    }

.bookmark-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bookmark-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bookmark-url {
    font-size: 12px;
    color: #5F6368;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 768px) {
    .form-actions {
        margin-top: 16px;
        justify-content: stretch;
    }

    .btn-outline-light,
    .btn-primary-gradient {
        flex: 1;
        justify-content: center;
    }

    .upload-area {
        gap: 25px;
    }

    .main-content {
        padding: 0 16px;
        margin-top: 170px;
    }

    .logo-text h2 {
        font-size: 50px;
    }

    .browser-tab {
        min-width: 160px;
        padding: 8px 8px 8px 12px;
    }

    .tab-title1 {
        font-size: 12px;
    }

    .new-tab-btn,
    .tab-menu-btn {
        width: 32px;
        height: 32px;
    }

    .top-search-wrapper {
        min-width: 200px;
    }

    .header-left-section {
        gap: 2px;
    }

    .nav-buttons {
        gap: 0;
    }

    .nav-btn {
        width: 30px;
        height: 30px;
    }

    .top-search-box input {
        font-size: 13px;
    }

    .suggestion-text {
        font-size: 12px;
    }

    .search-box input {
        padding: 8px 0;
        font-size: 14px;
    }

    .mic-icon,
    .camera-icon {
        font-size: 16px;
    }

    .browser-tab {
        min-width: 150px;
    }

    .result-searchBar-wrapper {
        padding: 0 5px;
    }

    .google-tabs-container {
        padding: 15px 16px 0 16px;
        width: 95%;
        margin-left: .3rem;
        margin-right: .3rem;
    }

    .search-results-container {
        margin: 1rem .3rem;
    }

    .google-tab {
        padding: 14px 12px 10px 12px;
        font-size: 13px;
    }

        .google-tab i {
            font-size: 14px;
        }

    @media (max-width: 600px) {
        .google-tab span {
            display: none;
        }

        .google-tab i {
            font-size: 20px;
            margin: 0;
        }

        .google-tab {
            padding: 14px 10px 10px 10px;
        }

            .google-tab.active::after {
                height: 3px;
            }
    }

    .google-tabs-wrapper {
        gap: 10px;
    }

    .result-title {
        font-size: 18px;
    }

    .result-url {
        font-size: 13px;
    }

    .web-name {
        font-size: 15px;
    }

    .related-item {
        padding: 8px 14px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .related-item {
        padding: 10px 18px;
    }

    .related-text {
        font-size: 14px;
    }

    .related-searches-section {
        margin: 1rem .3rem;
        padding: 0 16px;
    }

    .resultsMic-icon,
    .resultsCamera-icon {
        margin: 0;
    }

    .images-container {
        margin: 0 0.3rem;
        padding: 0 16px;
    }

    .news-container {
        margin: 0 0.3rem;
        padding: 0 16px;
    }

    .videos-container {
        margin: 0 0.3rem;
        padding: 0 16px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .legal-links {
        gap: 16px;
    }

    .footer-links {
        gap: 16px;
    }

    .site-name {
        font-size: 12px;
    }

    .image-description {
        font-size: 12px;
    }

    .video-title {
        font-size: 16px;
    }

    .video-description {
        font-size: 13px;
    }

    .news-card {
        padding: 14px;
    }

    .news-title {
        font-size: 18px;
    }

    .news-description {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .news-image-wrapper {
        aspect-ratio: 16 / 9;
        margin-bottom: 12px;
    }

    .source-name {
        font-size: 13px;
    }

    .news-title a {
        width: 300px;
    }

    .add-site-card {
        padding: 20px 16px;
        border-radius: 24px;
    }

    .card-title {
        font-size: 15px;
    }

        .card-title i {
            font-size: 20px;
        }

    .nav-tabs .nav-link {
        padding: 8px 14px;
        font-size: 13px;
    }

        .nav-tabs .nav-link i {
            font-size: 13px;
        }

    .script-label span {
        font-size: 13px;
    }

    .script-label i {
        font-size: 14px;
        width: 30px;
        height: 30px;
    }

    .btn-primary-gradient {
        padding: 10px 20px;
    }

    .script-textarea {
        margin-top: 25px;
    }

    .field-label {
        font-size: 13px;
    }

        .field-label i {
            font-size: 16px;
        }

    .suggested-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .gpop-menu {
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
    }

    .script-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .action-buttons {
        justify-content: flex-end;
    }

    .btn-outline-light,
    .btn-primary-gradient {
        flex: 1;
        justify-content: center;
    }

    .profile-popup {
        top: 3rem;
    }

    .header-more-menu {
        top: 3rem;
    }

    .history-submenu {
        top: 2rem;
        left: 2rem;
    }

    .bookmark-panel {
        top: 11rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .browser-tab {
        min-width: 80px;
    }

    .tab-favicon {
        display: none;
    }

    .pagination {
        padding: 6px 12px;
        gap: 1px;
    }

    .page-btn {
        min-width: 20px;
        height: 20px;
        font-size: 12px;
    }

        .page-btn.nav-btn {
            min-width: 36px;
        }

    .page-dots {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 52px;
    }

    .mobile-search-box {
        padding: 8px 12px;
    }

    .shortcut-icon,
    .add-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .shortcut-name {
        font-size: 11px;
    }

    .tab-title1 {
        font-size: 12px;
    }

    .add-tab-btn i {
        font-size: 34px;
    }
}
