/* 
/* ../otzyvy-na-sayt.ru/public_html/cabinet/style.css  */
.imennolk input:-webkit-autofill,
.imennolk input:-webkit-autofill:hover,
.imennolk input:-webkit-autofill:focus,
.imennolk input:-webkit-autofill:active,
.regstr input:-webkit-autofill,
.regstr input:-webkit-autofill:hover,
.regstr input:-webkit-autofill:focus,
.regstr input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 1000px #f2f2f5 inset !important;
    background-color: #f2f2f5 !important;
    -webkit-text-fill-color: #333 !important;
    transition: background-color 5000s ease-in-out 0s;
}
.oplata2 button{
    height:auto;
    min-height:50px;
}
.imennolk{
    background: #f2f2f5
}
.rw-promo-block{
        display: flex;
        margin-bottom: 16px;
}
.rw-promo-block input{
            width: 325px;
    padding: 12px 14px;
    border: none !important;
    background: #f2f2f5;
    border-radius: 8px;
    font-size: 15px;
}
.rw-promo-block button{
        width: 240px !important;
    margin-left: 5px;
    margin-top: 0!important;
    background:#16191A!important;
    color: #fff;
}
.rw-promo-block button:hover{
    background:var(--color-osnova2)!important;
}
.rw-promo-block button:disabled{
    background: #16191A!important;
    color:#fff!important;
}
/* === Фильтры отзывов по рейтингу === */
.rw-rating-filters-card .rw-filter-options { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; }
.rw-rating-filters-card .rw-filter-option { 
  display: flex; align-items: center; gap: 5px; 
  padding: 12px 16px; background: #f2f2f5; border-radius: 8px; cursor: pointer;
  transition: background 0.2s;
}
.rw-rating-filters-card .rw-filter-option:hover{
    background: var(--color-osnova2);
}
.rw-rating-filters-card .left{
        display: flex;
    align-items: center;
}
.rw-rating-filters-card .rw-filter-option:hover { background: #d3d0d7; }
.rw-rating-filters-card .rw-filter-option input[type="checkbox"] { 
  width: 18px; height: 18px; accent-color: var(--color-osnova);     margin-top: 0; cursor: pointer; flex-shrink: 0; 
}
.rw-rating-filters-card .rw-filter-label { 
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: #333; cursor: pointer; margin-top: -3px;
}
.rw-rating-filters-card h2{margin-bottom:10px!important;}
.rw-rating-filters-card .rw-btn{width:100%!important;}
.rw-rating-filters-card .rw-filter-stars { margin-left:5px;color: #ffc107; font-size: 16px; letter-spacing: 1px; }
@media (max-width: 480px) { 
  .rw-rating-filters-card .rw-filter-option { padding: 10px 12px; } 
}
@media (max-width: 400px){
  .rw-rating-filters-card .rw-filter-label { display:none; }  
  .rw-rating-filters-card .rw-filter-options{flex-wrap: wrap;flex-direction: row;}
}

/* === Страницы авторизации (регистрация/вход) === */
/* 🔥 Стили для заблокированной кнопки подключения */
.rw-btn-connect:disabled {
    cursor: not-allowed !important;
    pointer-events: none;
    background: #fff3cd !important;
    color: #333 !important;
    height: 40px;
    width: 300px !important;
    display: flex;
}

/* Подсказка при наведении на заблокированную кнопку */
.rw-btn-connect:disabled:hover {
    background: #e0e0e0 !important;
    color: #888 !important;
    transform: none;
}
/* Новый статус — бесплатный тариф */
.rw-subscription-badge.rw-free {
    background: #fff3cd;
    color: #856404;
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 500;
}

/* Активная подписка */
.rw-subscription-badge.rw-active {
    background: #d4edda;
    color: #155724;
}

.rw-auth-page {
    min-height: calc(100vh - (93.7px + 115px));
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f5;
}
.regstr{
background: #f2f2f5;    
}
.rw-auth-page .rw-card{
    margin-bottom:30px;
}
.otprpar{margin-bottom:20px;}
.rw-auth-page .rw-form, .rw-auth-page #loginForm, .rw-auth-page #remindForm{ background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); max-width: 600px; margin: 0px auto 20px; }
.rw-auth-page .rw-form-group { margin-bottom: 20px; }
.rw-auth-page .rw-form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.rw-auth-page .rw-form-group input {     background: #f2f2f5;width: 100%; padding: 12px 14px; border: none; border-radius: 8px; font-size: 15px; box-sizing: border-box; }
.rw-auth-page .rw-form-group input:focus { outline: none; border-color: #0071e3; }
.rw-auth-page .rw-form-group small { display: block; margin-top: 4px; font-size: 12px; color: #666; }
.rw-auth-page .rw-btn { width: 100%; padding: 12px; border: none; border-radius: 10px; font-size: 15px; font-weight: 500; cursor: pointer; box-sizing: border-box; }
.rw-auth-page .rw-btn-primary { background: var(--color-osnova); color: #fff; }
.rw-auth-page .rw-btn-primary:hover { background: var(--color-osnova2) }
.rw-auth-page .rw-btn-secondary { background: #e5e5ea; color: #1d1d1f; }
.rw-auth-page .rw-btn-secondary.napomni, .rw-auth-page .rw-btn-secondary.otprpar{background: #16191A;color:#fff;}
.rw-auth-page .rw-btn-secondary:hover { background: #d1d1d6; }
.rw-auth-page .rw-btn-link {     color: #fff;
    padding: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    background: var(--color-osnova);}
.rw-auth-page .rw-alert { padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.rw-auth-page .rw-alert.rw-error { background: #ffe5e5; color: #c00; border: 1px solid #fcc; }
.rw-auth-page .rw-alert.rw-success {     background: #e5f9e5;
    color: #0a0;
    border: 1px solid #cfc;
    margin: 20px auto 30px;
    text-align: center; }
.rw-auth-page .rw-alert.rw-warning { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }
.rw-auth-page .rw-alert.rw-info { background: #e7f3ff; color: #004085; border: 1px solid #b8daff; }
.rw-auth-page .rw-remind-wrap { text-align: center; margin: 20px 0 0; }
.rw-auth-page .rw-link { text-align: center; margin-top: 24px; font-size: 14px; }
.rw-auth-page .rw-link a { color: #0071e3; text-decoration: none; }
.rw-auth-page .rw-hidden { display: none; }
@media (max-width: 480px) { .rw-form { padding: 24px; margin: 20px auto; } }
.rw-auth-page h2, .rw-auth-page .rw-footer-link{
    text-align:center;
}
.rw-auth-page h2{
    margin-bottom:20px!important;
}
.rw-auth-page .rw-footer-link{
    margin-bottom:0;
}
.rw-auth-card {
    background: #fff;
    padding: 32px;
    border-radius: 10px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.rw-auth-card h2 {
    margin: 0 0 24px 0;
    font-size: 24px;
    text-align: center;
    color: #333;
}

.rw-auth-card .rw-form-group {
    margin-bottom: 20px;
}

.rw-auth-card .rw-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.rw-auth-card .rw-form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d0d5;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

.rw-auth-card .rw-form-group input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}

.rw-auth-card .rw-form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.rw-auth-card .rw-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.rw-auth-card .rw-btn-primary {
    background: var(--color-osnova);
    color: #fff;
}

.rw-auth-card .rw-btn-primary:hover {
    background: var(--color-osnova2);
}

.rw-auth-card .rw-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.rw-auth-card .rw-alert.rw-error {
    background: #ffe5e5;
    color: #c00;
    border: 1px solid #fcc;
}

.rw-auth-card .rw-alert.rw-success {
    background: #e5f9e5;
    color: #0a0;
    border: 1px solid #cfc;
}

.rw-auth-card .rw-auth-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
}

.rw-auth-card .rw-auth-link a {
    color: #0071e3;
    text-decoration: none;
}

.rw-auth-card .rw-auth-link a:hover {
    text-decoration: underline;
}

/* === Reviews Widget Dashboard === */
.rw-dashboard{
    padding-top:0px;
}
.rw-dashboard .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.oplata2{
    margin-bottom:60px!important;
}
.oplata2 .rw-code-block .rw-btn-primary{
    margin-top:0!important;
}
.oplata2  .rw-code-block {
    margin: 0px!important;
}
/* === Wrapper и карточки === */
.rw-dashboard .rw-dashboard-header {
    background: #fff;
    padding: 30px 30px 35px;
    border-radius: 10px;
    margin-bottom: 60px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.rw-dashboard .rw-header-top {
    display: flex;
    justify-content: space-between;
flex-direction: row;
    align-items: flex-start;
}

.rw-dashboard .rw-user-info {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rw-dashboard .rw-user-id {
    background: #e7f3ff;
    color: #004085;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}
.rw-dashboard .rw-user-info .rw-btn-secondary{
    width: max-content;
    background: #e7f3ff;
    color: #004085;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}
.rw-dashboard .rw-user-info .rw-btn-secondary:hover{
        background: var(--color-osnova);
    color: #fff;
}
.rw-dashboard .rw-subscription-badge {
    background: #e5f9e5;
    color: #0a0;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.rw-dashboard .rw-subscription-badge.rw-inactive {
    background: #fff3cd;
    color: #333;
}
/* === КАСТОМНЫЙ ЧЕКБОКС (ШАГ 3) — ИСПРАВЛЕННАЯ ВЕРСИЯ === */

/* 1. Скрываем нативный чекбокс */
.rw-rating-filters-card .rw-filter-toggle-real {
    display: none !important;
}

/* 2. Квадратик-оболочка */
.rw-rating-filters-card .rw-custom-checkbox {
    position: relative; /* Обязательно для позиционирования галочки */
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.2s;
}

/* 3. Галочка (изначально скрыта) */
.rw-rating-filters-card .rw-custom-checkbox::after {
    content: ""; /* 🔥 КРИТИЧНО: без этого ::after не существует */
    position: absolute;
    display: none; /* Скрыта, пока не отмечено */
left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 4. Состояние: АКТИВНО */
.rw-rating-filters-card .rw-filter-toggle-real:checked + .rw-custom-checkbox {
    background: var(--color-osnova, #292c2e); /* Фолбэк на hex, если переменная не задана */
    border-color: var(--color-osnova, #292c2e);
}

/* 🔥 Показываем галочку при активном состоянии */
.rw-rating-filters-card .rw-filter-toggle-real:checked + .rw-custom-checkbox::after {
    display: block !important; /* !important перебивает тему */
}




.rw-dashboard .rw-hint {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.rw-dashboard .rw-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 60px;
}

.rw-dashboard .rw-card:last-child {
    margin-bottom: 0;
}

.rw-dashboard .rw-card h2 {
    margin-bottom:5px!important;
    font-size: 26px;
    font-weight: 700;
}
.rw-dashboard .rw-subtitle {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.rw-dashboard .rw-section-title {
    margin: 24px 0 16px;
    font-size: 20px;
    font-weight: 600;
}

.rw-dashboard .rw-form-title {
    margin: 20px 0 !important;
    font-weight: 600 !important;
}
/* === Выбор площадки для кода === */
.rw-dashboard .rw-platform-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.rw-dashboard .rw-platform-code-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.rw-dashboard .rw-platform-code-btn.active,
.rw-dashboard .rw-platform-code-btn:hover {
    background: #0071e3;
    color: #fff;
    border-color: #0071e3;
}
.rw-dashboard .rw-code-block.rw-hidden {
    display: none;
}
/* === Блок данных пользователя === */




.rw-dashboard .rw-user-data-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rw-dashboard .rw-user-data-item label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rw-dashboard .rw-user-data-value {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.rw-dashboard .rw-user-data-value small {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

/* === Формы === */
.rw-dashboard .rw-form-group {
    margin-bottom: 20px;
}

.rw-dashboard .rw-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.rw-dashboard .rw-form-group input,
.rw-dashboard .rw-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: none !important;
    background: #f2f2f5;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rw-dashboard .rw-form-group input:focus,
.rw-dashboard .rw-form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}

.rw-dashboard .rw-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* === Кнопки === */
.rw-dashboard .rw-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
    box-sizing: border-box;
}
.rw-header-top .exit{
        white-space: nowrap;
    background: #e7f3ff!important;
    color: #004085!important;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    width: max-content;
    margin-top: 0;
    margin-left: 0 !important;
}
.rw-dashboard .rw-btn-primary {
    background: var(--color-osnova);
    color: #fff;
}

.rw-dashboard .rw-btn-primary:hover {
    background: var(--color-osnova2);
}

.rw-dashboard .rw-btn-secondary:disabled {
    background: #e1dfe5;
        color: #333;
}

.rw-dashboard .rw-btn-secondary:hover {
    background: #e1dfe5;
}

.rw-dashboard .rw-btn-link {
    background: none;
    color: #0071e3;
    padding: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    width: auto;
    display: inline-block;
    margin-top: 4px;
}

.rw-dashboard .rw-btn-disabled {
    cursor: not-allowed;
}

.rw-dashboard .rw-btn-disabled:hover, .rw-dashboard .rw-btn-secondary:disabled:hover {
    background: #e5e5ea !important;
    transform: none;
}

/* === Сообщения === */
.rw-dashboard .rw-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.rw-dashboard .rw-alert.rw-error {
    background: #ffe5e5;
    color: #c00;
    border: 1px solid #fcc;
}

.rw-dashboard .rw-alert.rw-success {
    background: #e5f9e5;
    color: #0a0;
    border: 1px solid #cfc;
}

.rw-dashboard .rw-alert.rw-info {
    background: #e7f3ff;
    color: #004085;
    border: 1px solid #b8daff;
}

/* === Табы === */
.rw-dashboard .rw-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-top:20px;
}
.rw-dashboard .rekdan h2{
    margin-bottom:5px!important;
        white-space: revert;
}
#rekdanCard .rw-subtitle{
    margin-bottom:0;
}
.rw-card .shag{
        border-radius: 10px;
    position: absolute;
    margin-top: -66px;
    padding: 14px 40px;
    background: #7439E9;
    color: #fff;
    text-transform: uppercase;
        z-index: 10;
}
.rw-card .shag h3, .rw-dashboard .rw-platforms-card .shag h3{
    margin-bottom:0px!important;
    font-weight: 600 !important;
    font-size: 24px;
}
.rw-dashboard .rw-tab-btn {
    border: none;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    background: #e1dfe5;
    width: max-content;
    margin-right: 15px;
}

.rw-dashboard .rw-tab-btn.active, .rw-dashboard .rw-tab-btn.active:hover {
    background: #000!important;
    color:#fff;
}
/* === Состояние подключения площадки === */

.rw-connecting-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid #e0e0e0;
  border-top-color: #0071e3;
  border-radius: 50%;
  animation: rw-spin 1s linear infinite;
}

@keyframes rw-spin {
  to { transform: rotate(360deg); }
}

.rw-error-text {
  color: #c00;
  font-weight: 500;
}

.rw-platform-connecting .rw-btn-connect {
  background: #e0e0e0;
  cursor: not-allowed;
}
.rw-dashboard .rw-tab-btn:hover:not(.active) {
    background: #000!important;
}

.rw-dashboard .rw-tab-content {
    display: none;
}

.rw-dashboard .rw-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Футер ссылки === */
.rw-dashboard .rw-footer-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
}

.rw-dashboard .rw-footer-link a {
    color: #0071e3;
    text-decoration: none;
}

.rw-dashboard .rw-footer-link a:hover {
    text-decoration: underline;
}

.rw-dashboard .rw-hidden {
    display: none;
}



/* === Сворачиваемый блок реквизитов === */
.rw-dashboard .rekdan.rw-collapsed .svernuto {
    display: none;
}

.rw-dashboard .rekdan-toggle {
cursor: pointer; display: flex; align-items: center; gap: 10px; justify-content: space-between;
}
.rw-dashboard .rekdan-toggle span:first-child{
    padding-right:15px;
}
.rw-dashboard .rekdan-toggle:hover {
    opacity: 0.9;
}

.rw-dashboard .rekdan-toggle-icon {
width: 20px; height: 20px; display: inline-flex; transition: transform 0.3s ease;
    flex-shrink: 0;
}
.rw-dashboard .rekdan-toggle-icon img{
width: 100%; height: 100%; object-fit: contain; display: block;    
}
.rw-dashboard .rekdan.rw-collapsed .rekdan-toggle-icon{
    transform: rotate(90deg);
}
/* Скрываем стрелку, если реквизиты не заполнены */
.rw-dashboard .rekdan-toggle:not(.rw-toggle-visible) .rekdan-toggle-icon {
    display: none;
}

/* Убираем ховер-эффект, если стрелка скрыта */
.rw-dashboard .rekdan-toggle:not(.rw-toggle-visible):hover {
    opacity: 1;
}
/* === Сворачиваемый блок реквизитов === */
.rw-dashboard .rw-requisites-badge {
    display: inline-block;
    background: #e7f3ff;
    color: #004085;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rw-dashboard .rw-requisites-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.rw-dashboard .rw-req-item {
    display: flex;
    flex-direction: column;
    width: calc(50% - 40px);
    margin: 0 20px 20px;
}

.rw-dashboard .rw-req-item label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rw-dashboard .rw-req-item span {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    word-break: break-word;
}
/* === Адаптивность === */
@media (max-width: 768px) {
    .rw-dashboard .rw-dashboard-header,
    .rw-dashboard .rw-card {
        padding: 30px 20px;
    }
    .rw-dashboard .rw-platform-item{
            padding: 15px;
    }
    
    .rw-dashboard .rw-form-row {
        grid-template-columns: 1fr;
    }
    

    
    .rw-dashboard .rw-user-data-grid {
        grid-template-columns: 1fr;
    }

    
    .rw-dashboard .rw-tab-btn {
        border-bottom: 1px solid #eee;
        margin-bottom: 0;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .rw-dashboard .rw-card h2 {
        font-size: 21px;
    }
    

}

/* === Источники отзывов === */
.rw-dashboard .rw-platforms-card {
    margin-top: 24px;
}
.rw-dashboard .rw-platforms-card h2{
    margin-bottom:5px!important;
}
.rw-dashboard .rw-platforms-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rw-dashboard .rw-platform-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f2f2f5;
    border-radius: 10px;
    transition: all 0.3s;
}
.rw-dashboard .rw-platform-item button{
    margin-top:0;
}
.rw-dashboard .rw-platform-item .podkl{
    display:none;
    background: var(--color-osnova);
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
    padding: 7.5px 16px;
}
.rw-dashboard .rw-platform-item.rw-platform-active .podkl{
    display:flex;
}
.rw-dashboard .rw-platform-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.rw-dashboard .rw-platform-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
}

.rw-dashboard .rw-platform-info {
    flex: 1;
}

.rw-dashboard .rw-platform-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.zazero{
    height: auto!important;
    min-height: 50px!important;
        background: #16191A;
}
/* Оверлей превью виджета */
.rw-preview-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  padding: 20px;
  box-sizing: border-box;
}
.rw-preview-content {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
      max-height: 90vh;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.rw-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.rw-preview-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}
.rw-preview-close {
  background: none;
  border: none;
  cursor: pointer;
    padding: 0 !important;
    width: 30px;
    height: 30px;
}
.rw-preview-close:hover {  background-color: #fff0 !important; }
.rw-preview-body {
  flex: 1;
  overflow: auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
      height: 100%;
}
#rw-reviews-wrap, .rw-preview-body iframe{
    height: 100%;
}
.rw-preview-body iframe {
  border: none;
  width: 100%;
  min-height: 600px;
}
html.no-scroll, body.no-scroll {
  overflow: hidden !important;
  overscroll-behavior: none; /* отключает "упругий" скролл на iOS/Android */

}
@media (max-width: 768px) {
  .rw-preview-content { max-height: 95vh; }
  .rw-preview-body { padding: 12px; }
}
.rw-dashboard .rw-platform-meta {
    font-size: 13px;
    color: #666;
}

.rw-dashboard .rw-platform-meta.rw-not-connected {
    color: #999;
    font-style: italic;
    margin-top:4px;
}


.rw-dashboard .rw-platform-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rw-dashboard .rw-btn-connect {
    background: var(--color-osnova);
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.rw-dashboard .rw-connect-hint{
    text-align: center;
    margin-top: 5px;
}
.rw-dashboard .rw-btn-connect:hover {
    background: var(--color-osnova2);
}

.rw-dashboard .rw-btn-icon {
    background: #fff;
    border-radius: 6px;
    width: 70px;
    height: 36px;
    padding:0!important;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rw-dashboard .rw-btn-icon svg{
    
}
.rw-dashboard .rw-btn-icon:hover img{
    filter: invert(1);
}
.rw-dashboard .rw-btn-trash:hover {
    border-color: #dc3545;
    background: #ffe5e5;
}
.rw-platform-item.rw-platform-connecting {
  background: #fff8e1 !important;
  border: 1px solid #ffc107 !important;
  transition: all 0.3s ease;
}
.rw-platform-item.rw-platform-error {
  background: #ffebee !important;
  border: 1px solid #ef5350 !important;
  transition: all 0.3s ease;
}
.rw-connecting-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid #ffc107;
  border-top-color: #856404;
  border-radius: 50%;
  animation: rw-spin 0.8s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes rw-spin { to { transform: rotate(360deg); } }
.rw-alert-box {
  position: fixed;
  top: 20px; right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10001;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.rw-alert-box.show { opacity: 1; transform: translateY(0); }
.rw-alert-box.success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #2e7d32; }
.rw-alert-box.error { background: #ffebee; color: #c62828; border-left: 4px solid #c62828; }

/* === Модальное окно === */
.rw-dashboard .rw-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.rw-dashboard .rw-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 32px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s;
}

.rw-dashboard .rw-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.rw-dashboard .rw-modal-close:hover {
    color: #333;
}

.rw-dashboard .rw-modal-desc {
    color: #555;
    line-height: 1.6;
    margin: 16px 0;
}

.rw-dashboard .rw-modal-example {
    background: var(--fon);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 13px;
}

.rw-dashboard .rw-modal-example strong {
    color: #0071e3;
}

.rw-dashboard .rw-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.rw-dashboard .rw-platform-url-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d0d5;
    border-radius: 8px;
    font-size: 15px;
}

/* === Код для вставки === */
.rw-dashboard .rw-widget-code-card {
    margin-top: 24px;
}
.rw-dashboard .rw-widget-code-card .twobot{
    display: flex;
    justify-content: space-between;
}
.rw-dashboard .rw-widget-code-card .twobot button{
    width:calc(50% - 8px);
}
.rw-widget-code-card.predposmotr{
    margin-top: 0px;
}
.rw-widget-code-card.predposmotr .rw-code-block{
    margin-bottom:0px!important;
}
.rw-widget-code-card.predposmotr h2{
    margin-bottom:5px!important;
}
.rw-widget-code-card.predposmotr .rw-widget-preview, .rw-widget-code-card.predposmotr .rw-code-block{
    margin-top: 0px;
}
.rw-widget-code-card.predposmotr .rw-placeholder-message, .rw-dashboard .rw-code-display .rw-placeholder-message{
    text-align: center; 
    border-radius: 10px;
    background: #fff3cd;
        padding: 16px;
}
.rw-widget-code-card.predposmotr .rw-placeholder-message p, .rw-dashboard .rw-code-display .rw-placeholder-message p{
    color: #333;
    border-radius: 10px;
    margin-bottom: 0;
}
.rw-dashboard .rw-widget-code-card h2 br{
    display:none;
}
.rw-dashboard .rw-code-block {
    margin: 16px 0 30px;
}
.vstavkakod .rw-code-block{
    margin-bottom:0px;
}
.rw-dashboard .rw-code-display .rw-placeholder-no-message{
    background: #f8f9fa;
    border-radius: 10px;
        padding: 16px; 
}

.rw-dashboard .rw-code-label {
    font-weight: 600;
    color: #333;
}
.rw-dashboard pre{
    margin-bottom:20px;
}
.rw-dashboard .rw-btn-copy {
    background: var(--color-osnova);
    cursor: pointer;
    transition: all 0.2s;
    width:100%;
}
.rw-dashboard .rw-btn-copy:hover {
    background: var(--color-osnova2);
}
.rw-dashboard .rw-code-display pre code{
        margin: 0;
    color: #333;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}


.rw-dashboard .rw-code-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    resize: vertical;
    background: #fff;
}

.rw-dashboard .rw-widget-preview {
    margin-top: 24px;
}



@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 670px) {
    .rw-dashboard .rw-platform-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .rw-dashboard .rw-platform-actions, .rw-dashboard .rw-platform-btn-wrap, .rw-dashboard .rw-platform-btn-wrap button{
        width: 100%!important;
    }
}
@media (max-width: 570px){
 .rw-dashboard .rw-widget-code-card .twobot{
    flex-direction:column;
}
.rw-dashboard .rw-widget-code-card .twobot button{
    width:100%;
} 
.rw-dashboard .rw-widget-code-card .twobot .zazero{
    margin-top:15px;
}
}






@media (max-width: 510px){
.rw-dashboard .rw-widget-code-card h2 br{
    display:block;
}    
}
@media (max-width: 460px){
.rw-promo-block {
    flex-direction: column;
}   
.rw-promo-block input{
    margin-bottom:16px;
    width:100%;
}
.rw-promo-block button{
    width:100%!important;
    margin-left:0;
}
}
@media (max-width: 400px){
 .rw-dashboard .rw-platform-item .podkl{
     width:100%;
 }   
.rw-dashboard .rw-platform-actions {
    flex-wrap: wrap;
}
.rw-dashboard .rw-platform-active .rw-platform-actions .rw-btn-edit, .rw-dashboard .rw-platform-active .rw-platform-actions form{
        width: calc(50% - 4px);
}
}

@media (max-width: 380px){
.rw-dashboard .rw-card h2{
    font-size:20px;
} 
.rw-dashboard .rw-platform-left{
    align-items: flex-start;
}

.rw-dashboard .rw-platform-actions form button{
    width:100%;
}
.rw-dashboard .rw-platform-name{
    margin-bottom:0;
}
}
@media (max-width: 365px){
.rw-dashboard .rw-card h2{
    font-size:19px;
}    
}
@media (max-width: 360px){
.rw-dashboard .rw-card h2{
    font-size:18px;
}  
.rw-auth-page .rw-form, .rw-auth-page #loginForm, .rw-auth-page #remindForm{
        padding: 30px 15px;
}  
}
@media (max-width: 350px){
.rw-dashboard .rw-card h2{
    font-size:17px;
}   
.rw-dashboard .rekdan-toggle-icon{
    width:18px;
    heught:18px;
}
}
@media (max-width: 330px){
.rw-dashboard .rw-card h2{
    font-size:16px;
}   
}
