.subscription-form {
    max-width: 500px;
    margin: 0 auto;
}
.button{
    color: #fff !important;
}
.plan-card {
    border: 2px solid #5cb85c;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    background: #f8fff8;
    text-align: center;
}

.plan-card h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.period {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.features li {
    padding: 8px 0;
    color: #333;
}

.payment-options {
    margin-top: 30px;
}

.auto-renew-option {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.auto-renew-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
}

.auto-renew-option input {
    margin-right: 10px;
}

.hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    margin-left: 24px;
}

.total-summary {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-line.final {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 18px;
}

.total-amount {
    color: #5cb85c;
}

.security-notice {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 15px;
}

.button.large {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%;
}

.subscription-box {
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 5px 17px rgba(0, 0, 0, .03);
    border-radius: 20px;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
}

.info-row .label {
    font-weight: bold;
    width: 180px;
    color: #333;
}

.info-row .value {
    flex: 1;
}

.premiumclub-badge-container {
    margin-top: 1rem;
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px;
    background: #fff;
    /* max-width: 300px; */
    border: 1px solid #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.premiumclub-badge {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Заголовок */
.premiumclub-badge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premiumclub-badge-market {
    font-weight: 700;
    font-size: 14px;
    color: #1F1F1F;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.premiumclub-badge-badge {
    background: #F2F2F2;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

/* Рейтинг */
.premiumclub-badge-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
}

.premiumclub-badge-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.premiumclub-badge-rating-value {
    font-weight: 600;
    color: #1F1F1F;
    margin-left: 4px;
    font-size: 14px;
}

.premiumclub-badge-reviews {
    color: #999;
    font-size: 12px;
}

.premiumclub-badge-reviews-count {
    font-weight: 600;
    color: #1F1F1F;
}

/* Блок со скидкой */
.premiumclub-badge-discount-block {
    background: linear-gradient(135deg, #823cff 0%, #7224ff 100%);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
}

.premiumclub-badge-discount-value {
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.premiumclub-badge-discount-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}
.premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 15px;
    background: linear-gradient(135deg, #823cff 0%, #7224ff 100%);
    color: white;
    border-radius: 30px;
    font-weight: 500;
}

.premium i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 14px;
}

/* Если используете icon16 star от Webasyst */
.premium i.icon16 {
    background-image: none; /* Отключаем стандартный фон */
    position: relative;
    margin: 0;
}
/* Статистика */
.premiumclub-badge-stat {
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.premiumclub-badge_icon {
    font-weight: 500;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}
.premiumclub-badge_icon i{
    color: #7529ff;
}
.premium_end_date{
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #26ab20;
}
.premium_end_date .dashed{
    flex-grow: 1;
    border-bottom: 1px dotted;
    position: relative;
    top: -3px;
    color: #ddd;
}
.premium_end_date .end_date{
    color: #26ab20;
}
/* Цена */
.premiumclub-badge-pricing {
    background: #F7F7F7;
    padding: 12px;
    border-radius: 12px;
}

.premiumclub-badge-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.premiumclub-badge-price-old {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

.premiumclub-badge-price-new {
    font-size: 22px;
    font-weight: 800;
    color: #5cb85c;
}

.premiumclub-badge-price-period {
    color: #666;
    font-size: 12px;
}

.premiumclub-badge-price-note {
    font-size: 11px;
    color: #059669;
    margin-top: 4px;
    font-weight: 500;
}

/* Кнопка */
.premiumclub-badge-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #8B5CF6;
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.premiumclub-badge-button:hover {
    background: #7C3AED;
    color: #fff;
}

.premiumclub-badge-button-arrow {
    transition: transform 0.2s ease;
}

.premiumclub-badge-button:hover .premiumclub-badge-button-arrow {
    transform: translateX(4px);
}

/* Футер */
.premiumclub-badge-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px dashed #F0F0F0;
}

.premiumclub-badge-footer-item {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}
.premiumclub-badge-footer-item i{
    color: #5cb85c
}

.subscription-actions {
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: center;
}

.subscription-actions .button {
    margin: 0 5px;
}

/* Horizontal */
.premiumclub-horizontal-container {
    position: relative;
    width: 100%;
    background: #f8f6ff;
    border-radius: 16px;
    padding: 16px 24px;
    margin: 1rem 0;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* Фоновые декоративные круги */
.premiumclub-horizontal-bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.premiumclub-horizontal-bg-circles .circle {
    position: absolute;
    background: linear-gradient(135deg, #823cff 0%, #7224ff 100%);
    border-radius: 50%;
    opacity: 0.03;
}

.premiumclub-horizontal-bg-circles .circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.premiumclub-horizontal-bg-circles .circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.premiumclub-horizontal-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Левая часть - скидка */
.premiumclub-horizontal-left {
    flex: 0 0 auto;
}

.premiumclub-horizontal-discount-block {
    background: linear-gradient(135deg, #823cff 0%, #7224ff 100%);
    padding: 8px 16px;
    border-radius: 40px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.premiumclub-horizontal-discount-value {
    font-size: 24px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.premiumclub-horizontal-discount-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

/* Центральная часть */
.premiumclub-horizontal-center {
    flex: 1;
    min-width: 280px;
}

.premiumclub-horizontal-market {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.premiumclub-horizontal-market-text {
    font-weight: 700;
    font-size: 15px;
    color: #1F1F1F;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.premiumclub-horizontal-badge {
    background: #F2F2F2;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

.premiumclub-horizontal-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.premiumclub-horizontal-stat-item {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.premiumclub-horizontal-stat-item i {
    color: #823cff;
    font-size: 14px;
}

/* Правая часть */
.premiumclub-horizontal-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Для авторизованных с подпиской */
.premiumclub-horizontal-premium-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f6ff;
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid #e8e0ff;
}

.premiumclub-horizontal-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #823cff 0%, #7224ff 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.premiumclub-horizontal-premium-badge i {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFEB3B;
}

.premiumclub-horizontal-premium-date {
    font-size: 13px;
    color: #823cff;
    font-weight: 500;
    white-space: nowrap;
    padding-right: 4px;
}

/* Для неавторизованных */
.premiumclub-horizontal-price-block {
    background: #F7F7F7;
    padding: 6px 14px;
    border-radius: 30px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.premiumclub-horizontal-price-old {
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
}

.premiumclub-horizontal-price-new {
    font-size: 18px;
    font-weight: 800;
    color: #5cb85c;
}

.premiumclub-horizontal-price-period {
    color: #666;
    font-size: 12px;
}

.premiumclub-horizontal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #8B5CF6;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.premiumclub-horizontal-button:hover {
    background: #7C3AED;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.premiumclub-horizontal-button-arrow {
    transition: transform 0.2s ease;
}

.premiumclub-horizontal-button:hover .premiumclub-horizontal-button-arrow {
    transform: translateX(4px);
}

.premiumclub-horizontal-footer {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.premiumclub-horizontal-footer-item {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.premiumclub-horizontal-footer-item i {
    color: #5cb85c;
    font-size: 12px;
}

/* Адаптивность */
@media (max-width: 900px) {
    .premiumclub-horizontal-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .premiumclub-horizontal-left,
    .premiumclub-horizontal-center,
    .premiumclub-horizontal-right {
        width: 100%;
    }

    .premiumclub-horizontal-right {
        align-items: stretch;
    }

    .premiumclub-horizontal-discount-block {
        justify-content: center;
    }

    .premiumclub-horizontal-market {
        justify-content: center;
    }

    .premiumclub-horizontal-stats {
        justify-content: center;
    }

    .premiumclub-horizontal-premium-info {
        justify-content: space-between;
    }

    .premiumclub-horizontal-price-block {
        justify-content: center;
        width: fit-content;
        margin: 0 auto;
    }


    .premiumclub-horizontal-footer {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .premiumclub-horizontal-container {
        padding: 16px;
    }

    .premiumclub-horizontal-stats {
        flex-direction: column;
        gap: 8px;
    }

    .premiumclub-horizontal-footer {
        flex-direction: column;
        /* align-items: center; */
        gap: 8px;
    }
}
/* Horizontal the end*/

.status-active { color: #090; }
.status-canceled { color: #900; }
.status-expired { color: #999; }

.text-green { color: #090; }
.text-red { color: #900; }
.text-gray { color: #999; }

.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.premiumclub-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.payment-status-succeeded { background-color: #f0fff0; }
.payment-status-canceled { background-color: #fff0f0; }
.payment-status-pending { background-color: #fff9f0; }
.status.success { color: #00a000; }
.status.error { color: #d00000; }
.status.warning { color: #ff8c00; }
.monospace { font-family: monospace; }
ul.zebra { padding: 0; margin: 0; }
ul.zebra li { list-style: none; background: #fff; padding: 8px; }
ul.zebra a { text-decoration: none; }
ul.zebra li:nth-child(even) { background: #f2f7ff; }
ul.zebra li.critical { background: #fcc; }
table.zebra { border: 0; margin: 0; width: 100%; }
table.zebra tr:nth-child(odd) td { background: #f2f7ff; }
table.zebra td { padding: 5px; border: 0; vertical-align: middle; background: #fff;  }
table.zebra th { text-align: left; padding: 2px 5px; border-bottom: 1px solid #BBBBBB; background: -moz-linear-gradient(center top, #F5F5F5 0%, #DDDDDD 100%) repeat scroll 0 0 transparent; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#F5F5F5', endColorstr='#dddddd')"; font-weight: normal; color: #777; background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f5f5f5), color-stop(1, #ddd)); background-image: -o-linear-gradient(rgb(245,245,245),rgb(221,221,221));}
table.zebra th.align-right { text-align: right; }
table.zebra tr.critical td { background: #fcc; }
table.zebra a { display: block; text-decoration: none; }
table.zebra a.inline,
table.zebra p a { display:inline; }
table.zebra .alist a { display: inline; }
table.zebra th a { color: #777; }
table.zebra th a:hover { color: #333 !important; }
table.zebra input { margin: 0; min-width: auto !important; width: auto !important; }
table.zebra input.short { min-width: 60px !important; width: 60px !important; }
table.zebra input.long { min-width: 350px !important; width: 350px !important; }
table.zebra td.min-width,
table.zebra th.min-width { width: 1%; }
table.zebra td.short,
table.zebra th.short { width: 120px; }
table.zebra tr.selected td { background: #eed!important; }
table.zebra tr.highlighted td { background: #ffe!important; }
table.zebra tr:hover td { background: #ffffe5; }
table.zebra.single-lined th div,
table.zebra.single-lined td div { height: 1.3em; line-height: 1.3; overflow: hidden; position: relative; width: 100%; word-break: break-all; }
table.zebra.single-lined th div i.shortener,
table.zebra.single-lined td div i.shortener { box-shadow: -10px 0 10px #FFFFFF inset; -moz-box-shadow: -10px 0 10px #FFFFFF inset; -webkit-box-shadow: -10px 0 10px #FFFFFF inset;  display: block; height: 1.3em; position: absolute;right: 0;top: 0; width: 1em; }
table.zebra.single-lined th div a,
table.zebra.single-lined td div a { color: inherit; }
table.zebra.single-lined tr:nth-child(2n+1) td div i.shortener { box-shadow: -10px 0 10px #F2F7FF inset;  }
table.zebra.single-lined tr:hover td div i.shortener { box-shadow: -10px 0 10px #ffffe5 inset;  }
table.zebra.single-lined tr.selected td div i.shortener { box-shadow: -10px 0 10px #eed inset;  }
table.zebra tr td.hover-only-links a { display: none; }
table.zebra tr:hover td.hover-only-links a { display: inline; }
table.zebra tr.white td,
table.zebra tr.white th { background: #fff; }
table.zebra tr.heading td,
table.zebra tr.heading th { font-weight: bold; }
table.zebra.padded th { padding: 4px 8px; }
table.zebra.padded td { padding: 8px; }
table.zebra.double-padded th { padding: 4px 10px; }
table.zebra.double-padded td { padding: 10px; }
table.zebra td.top-padded { padding-top: 15px; }
table.zebra td.bottom-padded { padding-bottom: 15px; }
table.zebra td.top-double-padded { padding-top: 25px; }
table.zebra td.bottom-double-padded { padding-bottom: 25px; }

table.full-width { width: 100% !important; }
table.bottom-bordered { border-bottom: 1px solid #aaa; }