/* استایل‌های قفل اشتراک‌گذاری - هماهنگ با طراحی افزونه Sultan */
.sultan-share-lock-wrapper {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    direction: rtl;
    text-align: center;
    margin: 30px auto;
}

.sultan-share-lock-overlay {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 0;
    overflow: hidden;
}

.sultan-share-lock-card {
    padding: 30px 25px;
}

.sultan-share-lock-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: -30px -25px 25px -25px;
    padding: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px 12px 0 0;
}

.sultan-share-lock-header .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    padding: 8px;
}

.sultan-share-lock-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.sultan-share-lock-card p {
    color: #555;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.sultan-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 10px;
}

.sultan-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #8b5cf6; /* fallback */
}

.sultan-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    filter: brightness(1.1);
}

/* رنگ‌های اختصاصی هر شبکه */
.sultan-share-btn-telegram { background: #0088cc; }
.sultan-share-btn-whatsapp { background: #25D366; }
.sultan-share-btn-facebook  { background: #1877F2; }
.sultan-share-btn-twitter   { background: #1DA1F2; }
.sultan-share-btn-eitaa     { background: #f57f17; }
.sultan-share-btn-soroush   { background: #1565c0; }
.sultan-share-btn-bale      { background: #00bfa5; }
.sultan-share-btn-rubika    { background: #e81e62; }

.sultan-share-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #fff;
}

.sultan-share-status {
    margin-top: 20px;
    font-size: 14px;
    color: #0073aa;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sultan-share-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,115,170,0.2);
    border-radius: 50%;
    border-top-color: #0073aa;
    animation: sultan-spin 0.8s linear infinite;
}

@keyframes sultan-spin {
    to { transform: rotate(360deg); }
}

/* Hidden content styling */
.sultan-share-lock-hidden {
    padding: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .sultan-share-lock-card {
        padding: 20px 15px;
    }
    .sultan-share-lock-header {
        margin: -20px -15px 20px -15px;
    }
    .sultan-share-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* پیام خطای ضد تقلب */
.sultan-share-lock-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
    font-weight: 600;
}

/* ===== Toast راهنما ===== */
.sultan-share-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    z-index: 100000;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
}