﻿.main {
    background-image: url(../../images/F_images/banner_bg.jpg);
    background-size: 120%;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: calc(100vh - 152px);
    padding-top: 32px;
}



.tools-header {
    position: sticky;
    top: 16px;
    z-index: 1125;
    background: #fffc;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 10px 30px 0 rgb(201 209 214 / 25%);
    width: fit-content;
    padding: 0 32px;
    margin: 0 auto;
}

.tool-header-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 2px;
}

.tool-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0 20px 16px;
    cursor: pointer;
}

.tool-header-title{
    font-size: 14px;
}

.tool-header-icon {
    font-size: 14px;
}


/*tippy__tool-panel*/
.tippy__tool-panel {
    width: 464px;
}

    .tippy__tool-panel .tippy-box {
        height: 100%;
        border-radius: 12px;
        box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.05);
    }

    .tippy__tool-panel .tippy-content {
        padding: 24px 14px;
    }

.tool-panel-header {
    margin-bottom: 12px;
}

.tool-panel-header-title {
    font-size: 14px;
    font-weight: 600;
    padding: 0 10px;
}

.tool-panel-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 6px 8px;
    max-height: 252px;
    overflow: auto;
    overscroll-behavior: none;
}

    .tool-panel-items::-webkit-scrollbar {
        width: 6px;
    }

    .tool-panel-items::-webkit-scrollbar-track {
        background: #ffffff;
    }

    .tool-panel-items::-webkit-scrollbar-thumb {
        background: #d7d7d7;
        border-radius: 6px;
    }


.tool-panel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 6px;
    transition: 0.2s;
}

.tool-panel-item:hover {
    background: #f3f3f3;
}

.tool-panel-item-icon {
    flex-shrink: 0;
    width: 18px;
}

.tool-panel-item-title {
    font-size: 14px;
    line-height: 14px;
    color: #666;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.tool-panel-null {
    text-align: center;
    padding-bottom: 15px;
}

.tool-panel-null img {
    width: 180px;
}


/*tool-header-search*/
.tool-header-search {
    position: relative;
    margin-left: auto;
}

.tool-header-search-input {
    border: none;
    background: #f3f3f3;
    border-radius: 40px;
    height: 38px;
    width: 220px;
    padding: 0 40px;
    font-size: 14px;
}

    .tool-header-search-input::placeholder {
        font-size: 14px;
        color: #9499a0;
        transition: .2s;
    }

.tool-header-search:hover .tool-header-search-input::placeholder, .tool-header-search:hover .tool-header-search-input-icon {
    color: #333;
}

.tool-header-search-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #9499a0;
    transition: .2s;
}

.tool-header-search-input-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    color: #9499a0;
    cursor: pointer;
    padding: 6px;
    border-radius: 5px;
    transition: .2s;
    display: none;
}

.tool-header-search-input-clear:hover {
    color: #333;
}




.tools {
    padding-bottom: 60px;
}

.tool-space {
    padding: 15px 0;
    margin-bottom: 15px;
}

.tool-title {
    font-size: 18px;
}

.tool-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 18px;
}

.tool-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 28px 18px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.tool-item:hover {
    border-color: #38c0fc;
}

.tool-item-icon {
    width: 44px;
    flex-shrink: 0;
}

.tool-item-content {
    width: calc(100% - 63px);
}

.tool-item-title {
    font-size: 18px;
    font-weight: 600;
}

.tool-item-info {
    font-size: 14px;
    color: #616161;
}

.tool-item-text {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.tool-item-opera {
    position: absolute;
    top: 8px;
    right: 8px;
    transition: 0.3s;
}

.tool-item:not(:hover) .tool-item-opera {
    opacity: 0;
}

.tool-item-share {
    cursor: pointer;
    background-image:
    conic-gradient( from 0deg, rgba(90, 200, 255, 0.12) 0deg, rgba(130, 220, 255, 0.22) 60deg, rgba(70, 160, 255, 0.1) 120deg, rgba(140, 230, 255, 0.18) 180deg, rgba(60, 170, 250, 0.08) 240deg, rgba(110, 210, 255, 0.15) 300deg, rgba(90, 200, 255, 0.12) 360deg ),
    conic-gradient( from 45deg, rgba(180, 140, 255, 0.0) 0deg, rgba(150, 180, 255, 0.25) 40deg, rgba(210, 160, 255, 0.15) 80deg, rgba(130, 200, 255, 0.3) 130deg, rgba(100, 160, 250, 0.0) 200deg, rgba(190, 150, 255, 0.1) 260deg, rgba(130, 210, 255, 0.18) 320deg, rgba(180, 140, 255, 0.0) 360deg ),
    conic-gradient( from 120deg, rgba(255, 255, 255, 0.0) 0deg, rgba(210, 235, 255, 0.28) 30deg, rgba(190, 225, 255, 0.4) 70deg, rgba(235, 245, 255, 0.15) 110deg, rgba(255, 255, 255, 0.0) 160deg, rgba(200, 225, 255, 0.2) 220deg, rgba(170, 210, 255, 0.1) 280deg, rgba(255, 255, 255, 0.0) 360deg ),
    radial-gradient(circle at 30% 40%, rgba(255, 240, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(160, 200, 255, 0.15) 0%, transparent 60%);
    color: #007bff;
    border-radius: 33%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.tool-more-space {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: fit-content;
    cursor: pointer;
    padding: 6px 12px;
    color: #9499a0;
    font-size: 14px;
    margin: 20px auto 0;
    transition: 0.3s;
}

    .tool-more-space:hover {
        color: #67a6ff;
    }

.tools-null{
    margin-top: 100px;
}


@media(min-width: 576px) {
    .main, .max_container {
        width: 100%;
        min-width: 1200px;
    }
}

@media(min-width:1460px) {
    .max_container {
        padding: 0 100px;
    }
}

@media(min-width:1570px) {
    .max_container {
        padding: 0 180px;
    }
}

@media(min-width:1570px) {
    .max_container {
        padding: 0 180px;
    }
}

@media(min-width:1680px) {
    .max_container {
        padding: 0 240px;
    }
}


@media(max-width: 576px){
    .tools-header {
        padding: 0 8px;
        max-width: 100%;
    }

    .tool-header-items {
        justify-content: start;
        white-space: nowrap;
        overflow: auto;
        scrollbar-width: none;
        gap: 0;
    }

    .tool-header-item {
        padding: 20px 16px;
    }


    .tool-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .tool-item {
        padding: 22px 10px;
    }

    .tool-item-icon {
        width: 34px;
    }

    .tool-item-content {
        width: calc(100% - 49px);
    }

    .tool-item-title {
        font-size: 15px;
    }

    .tool-item-info {
        font-size: 13px;
    }
}