

.seo-open-btn {
    position: fixed;
    top: 180px;
    left: 0;
    z-index: 2;
    display: block;
    width: 42px;
    height: 42px;
    border-top-right-radius: 15%;
    border-bottom-right-radius: 15%;
    background: #0c84ce;
    color: #fff !important;
    text-align: center;
    font-size: 18px !important;
    line-height: 42px;
    opacity: 1;
    border: none;
    -webkit-transition: all 0.1s linear 0.2s;
    -o-transition: all 0.1s linear 0.2s;
    transition: all 0.1s linear 0.2s;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}


.checkSeoIcon{transform-origin:50% 50%;will-change:transform}
@keyframes spinOnce{from{transform:rotate(0)}to{transform:rotate(-360deg)}}
.spin-once{animation:spinOnce .7s ease-in-out 1 forwards}


.seo-feedback .alert {
    font-size: .875rem;
    margin-bottom: .75rem;
}

.seo-feedback ul {
    margin-bottom: 0;
    padding-right: 1.25rem;
}

.seo-feedback li {
    line-height: 1.6;
}



/* داشبورد سئو */
.seo-hero-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.seo-kpi-card {
    background: #f8f9fb;
    transition: box-shadow .2s ease, transform .2s ease;
}

.seo-kpi-card:hover {
    box-shadow: 0 10px 25px rgba(17, 38, 146, 0.08);
    transform: translateY(-2px);
}

.seo-role-card {
    border: 1px solid #eef1f5;
    background: #fcfcfd;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.seo-role-card:hover {
    border-color: #d6e4ff;
    box-shadow: 0 8px 18px rgba(17, 38, 146, 0.08);
}

.seo-role-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f4ff;
    color: #0c84ce;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.seo-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.02);
    margin-top: 6px;
}

.seo-checklist li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.seo-action-card {
    background: #fdfefe;
    transition: transform .2s ease, box-shadow .2s ease;
}

.seo-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

/* پیش‌نمایش تنظیمات سئو */
.seo-visual-preview {
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f9fbff 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(12, 132, 206, 0.06);
}

.seo-visual-header {
    border-bottom: 1px dashed #e5e9f2;
    padding-bottom: 8px;
}

.seo-visual-title {
    color: #1a73e8;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 600;
    word-break: break-word;
}

.seo-visual-url {
    color: #0d652d;
    font-size: 0.875rem;
    direction: ltr;
    text-align: left;
}

.seo-visual-description {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word;
}

.seo-visual-form {
    border: 1px dashed #dbeafe;
    border-radius: 12px;
    padding: 14px;
    background: #f8fbff;
}

.seo-visual-form .form-control-sm,
.seo-visual-form textarea.form-control-sm {
    font-size: 0.9rem;
}

.seo-social-preview {
    border: 1px solid #eef2ff;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fbfcff;
}

.seo-social-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(145deg, #dbeafe, #eef2ff);
    margin-left: 12px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.seo-preview-valid {
    color: #0f9d58 !important;
}

.seo-preview-warning {
    color: #d93025 !important;
}
