@charset "UTF-8";

@font-face {
    font-family: 'gft-iransans';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('../intro/css/fonts/iransans/woff2/IRANSansWeb_Bold.woff2') format('woff2'),
         url('../intro/css/fonts/iransans/woff/IRANSansWeb_Bold.woff') format('woff');
}

#box-widget-icon {
    width: auto;
    height: auto;
    margin: 22px 10px 0 0;
    padding: 0;
    text-align: initial;
}

#box-widget-icon .widget-icon,
a.gft-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: auto;
    height: 46px;
    margin: 0;
    padding: 0 12px 0 18px;
    border-radius: 23px;
    background: #0066ff;
    box-shadow: 0 4px 12px rgba(0, 102, 255, .35);
    color: #fff;
    direction: rtl;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease !important;
}

#box-widget-icon .widget-icon:hover,
a.gft-pill:hover {
    transform: translateY(-2px);
    background: #0058e0;
    box-shadow: 0 6px 16px rgba(0, 102, 255, .45);
}

#box-widget-icon .widget-icon svg {
    display: none;
}

#box-widget-icon .widget-icon::before,
a.gft-pill::before {
    content: '';
    flex: none;
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 5.5V4.5A3.5 3.5 0 0 1 10 1h9.5A3.5 3.5 0 0 1 23 4.5V12a3.5 3.5 0 0 1-3.5 3.5h-1' stroke-opacity='.55'/%3E%3Cpath d='M4.5 5.5H15A3.5 3.5 0 0 1 18.5 9v7.5a3.5 3.5 0 0 1-3.5 3.5h-3l-2.25 2.75L7.5 20h-3A3.5 3.5 0 0 1 1 16.5V9a3.5 3.5 0 0 1 3.5-3.5z'/%3E%3Cg fill='white' fill-opacity='.8' stroke='none'%3E%3Ccircle cx='6.25' cy='12.75' r='1.05'/%3E%3Ccircle cx='9.75' cy='12.75' r='1.05'/%3E%3Ccircle cx='13.25' cy='12.75' r='1.05'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

#box-widget-icon .widget-icon::after {
    content: 'پشتیبانی آنلاین';
    font: 700 13px/1 'gft-iransans', Tahoma, sans-serif;
    white-space: nowrap;
}

#box-widget-icon .unread-num {
    top: -8px;
    right: auto;
    left: -6px;
}

a.gft-pill {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2000000002;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    font-family: 'gft-iransans', Tahoma, sans-serif !important;
    white-space: nowrap;
}

a.gft-pill,
a.gft-pill:hover,
a.gft-pill:focus {
    color: #fff;
    text-decoration: none;
}

a.gft-pill:focus-visible {
    outline: 2px solid #0066ff;
    outline-offset: 3px;
}

.gft-panel {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000000003;
    box-sizing: border-box;
    width: 380px;
    height: 640px;
    max-height: calc(100vh - 40px);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 40px rgba(16, 24, 40, .28);
    direction: rtl;
}

a.gft-pill[hidden],
.gft-panel[hidden] {
    display: none !important;
}

.gft-panel .gft-panel-actions {
    position: absolute;
    top: 13px;
    left: 12px;
    z-index: 1;
    display: flex;
    gap: 6px;
    direction: ltr;
}

.gft-panel .gft-panel-btn,
.gft-panel .gft-panel-btn:hover,
.gft-panel .gft-panel-btn:focus {
    color: #fff;
    text-decoration: none;
}

.gft-panel .gft-panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .22);
    cursor: pointer;
}

.gft-panel .gft-panel-btn:hover {
    background: rgba(0, 0, 0, .38);
}

.gft-panel .gft-panel-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.gft-panel .gft-panel-btn svg {
    width: 18px;
    height: 18px;
}

.gft-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    a.gft-pill {
        bottom: 50px;
    }

    .gft-panel {
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }
}

@media print {
    a.gft-pill,
    .gft-panel {
        display: none;
    }
}
