/* استایل دکمه‌های شناور تماس - نسخه حرفه‌ای */
@font-face {
    font-family: "iransans";
    font-style: normal;
    font-weight: bold;
    src: url("https://multimedia.roltheme.ir/wp-content/plugins/rolfa-tamas/fonts/IRANSansWeb.eot");
    src: url("https://multimedia.roltheme.ir/wp-content/plugins/rolfa-tamas/fonts/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
         url("https://multimedia.roltheme.ir/wp-content/plugins/rolfa-tamas/fonts/IRANSansWeb.woff2") format("woff2"),
         url("https://multimedia.roltheme.ir/wp-content/plugins/rolfa-tamas/fonts/IRANSansWeb.woff") format("woff"),
         url("https://multimedia.roltheme.ir/wp-content/plugins/rolfa-tamas/fonts/IRANSansWeb.ttf") format("truetype");
}

.afcb-popup-overlay {
    font-family: iransans;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.afcb-popup-overlay.active {
    font-family: iransans;
    opacity: 1;
    visibility: visible;
}
.afcb-popup {
    font-family: iransans;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 400px;
    max-width: calc(100% - 40px);
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    direction: rtl;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    pointer-events: none;
    overflow: hidden;
}
.afcb-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}
.afcb-glass-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}
.afcb-popup-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.afcb-popup-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}
.afcb-popup-close {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s;
    color: white;
}
.afcb-popup-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}
.afcb-popup-body {
    padding: 24px;
}
.afcb-info-mini {
    background: #f8fafc;
    border-radius: 20px;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #334155;
    border: 1px solid #edf2f7;
}
.afcb-info-mini i {
    margin-left: 6px;
}
.afcb-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.afcb-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
}
.afcb-contact-item:last-child {
    border-bottom: none;
}
.afcb-contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.afcb-contact-info i {
    width: 34px;
    height: 34px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.afcb-contact-number {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
    direction: ltr;
}
.afcb-call-btn, .afcb-copy-btn {
    font-family: iransans;
    border: none;
    padding: 6px 16px;
    border-radius: 40px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.afcb-call-btn:hover, .afcb-copy-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}
.afcb-call-full {
    font-family: iransans;
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 8px;
}
.afcb-call-full:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}
.afcb-popup-note {
    font-size: 0.6rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 14px;
}
.fa-solid, .fas {
    font-size: 22px !important;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.afcb-btn {
    font-family: iransans;
font-size: 18px;
    position: fixed;
    z-index: 9997;
    cursor: pointer;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.afcb-btn-icon {
    border-radius: 50%;
}
.afcb-btn-text {
    border-radius: 50px;
}
.afcb-btn:hover {
    transform: scale(1.05) translateY(-3px);
    filter: brightness(1.05);
}
/* تنظیمات سرعت انیمیشن */
.afcb-animation-slow .afcb-animation-float,
.afcb-animation-slow .afcb-animation-pulse,
.afcb-animation-slow .afcb-animation-shake,
.afcb-animation-slow .afcb-animation-glow,
.afcb-animation-slow .afcb-animation-ripple,
.afcb-animation-slow .afcb-animation-swing,
.afcb-animation-slow .afcb-animation-wiggle {
    animation-duration: 3s !important;
}
.afcb-animation-fast .afcb-animation-float,
.afcb-animation-fast .afcb-animation-pulse,
.afcb-animation-fast .afcb-animation-shake,
.afcb-animation-fast .afcb-animation-glow,
.afcb-animation-fast .afcb-animation-ripple,
.afcb-animation-fast .afcb-animation-swing,
.afcb-animation-fast .afcb-animation-wiggle {
    animation-duration: 1s !important;
}
/* انیمیشن شناور */
@keyframes afcbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
/* انیمیشن ضربان قلب */
@keyframes afcbPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
/* انیمیشن لرزش */
@keyframes afcbShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
/* انیمیشن درخشش */
@keyframes afcbGlow {
    0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,0.15); filter: brightness(1); }
    50% { box-shadow: 0 0 20px 5px rgba(79, 70, 229, 0.6); filter: brightness(1.1); }
}
/* انیمیشن موج */
@keyframes afcbRipple {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}
/* انیمیشن نوسان (تاب خوردن) */
@keyframes afcbSwing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}
/* انیمیشن لرزش ظریف */
@keyframes afcbWiggle {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-3px) rotate(-2deg); }
    75% { transform: translateX(3px) rotate(2deg); }
}
.afcb-animation-float { animation: afcbFloat 2.5s ease-in-out infinite; }
.afcb-animation-pulse { animation: afcbPulse 1.5s ease-in-out infinite; transform-origin: center; }
.afcb-animation-shake { animation: afcbShake 0.4s ease-in-out infinite; }
.afcb-animation-glow { animation: afcbGlow 2s ease-in-out infinite; }
.afcb-animation-ripple { animation: afcbRipple 1.5s ease-out infinite; }
.afcb-animation-swing { animation: afcbSwing 1.8s ease-in-out infinite; }
.afcb-animation-wiggle { animation: afcbWiggle 0.3s ease-in-out infinite; }
@media (max-width: 768px) {
    .afcb-popup { width: 360px; }
    .afcb-btn-icon { width: 50px !important; height: 50px !important; }
    .afcb-btn-text { padding: 10px 20px !important; }
    .afcb-btn-text i { font-size: 18px; }
    .afcb-btn-text span { font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .afcb-popup { width: 320px; }
    .afcb-contact-item { flex-direction: column; align-items: flex-start; }
    .afcb-call-btn, .afcb-copy-btn { align-self: flex-start; }
}
