/* Instagram Mobile Plugin Styles */
.imp-mobile-icon {
    position: fixed;
    left: 0;
    top: 70%;
    transform: translateY(-60%);
    z-index: 9999;
    display: none;
}

.imp-mobile-icon.right {
    left: auto;
    right: 0;
}

.imp-icon-button {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    padding: 12px;
    border-radius: 0 50% 50% 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.imp-mobile-icon.right .imp-icon-button {
    border-radius: 50% 0 0 50%;
}

.imp-icon-button:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.imp-icon-button:active {
    transform: scale(0.95);
}

.imp-icon-button svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.imp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.imp-overlay.active {
    opacity: 1;
    visibility: visible;
}

.imp-drawer {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 320px;
    max-width: 85vw;
    z-index: 9999;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.imp-drawer.right {
    left: auto;
    right: 0;
    transform: translateX(100%);
}

.imp-drawer.active {
    transform: translateX(0);
}

.imp-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.imp-drawer-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.imp-drawer-title svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.imp-close-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imp-close-button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.imp-close-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.imp-drawer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    position: relative;
}

.imp-icon-container {
    margin-bottom: 24px;
    display: inline-block;
}

.imp-icon-container svg {
    width: 64px;
    height: 64px;
    fill: white;
}

.imp-icon-container img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.imp-main-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.5;
    direction: rtl;
}

.imp-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.5;
    direction: rtl;
}

.imp-follow-button {
    background: white;
    color: #333;
    font-weight: bold;
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.imp-follow-button:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.imp-follow-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.imp-telegram-button {
  margin-top: 16px;
}

.imp-decorative-1 {
    position: absolute;
    top: 25%;
    right: 16px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.imp-decorative-2 {
    position: absolute;
    bottom: 25%;
    left: 16px;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(30px);
}

/* Mobile Only */
@media (min-width: 768px) {
    .imp-mobile-icon,
    .imp-overlay,
    .imp-drawer {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .imp-mobile-icon {
        display: block;
    }
}

/* RTL Support */
[dir="rtl"] .imp-drawer-title {
    flex-direction: row-reverse;
}

[dir="rtl"] .imp-follow-button {
    flex-direction: row-reverse;
}

/* Animation for smooth appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.imp-mobile-icon {
    animation: fadeIn 0.5s ease;
}