

.plan-price {
    margin: 8px 0;
}

.pricing-card {
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    background: #fff;
    transition: all .2s ease;
    margin-bottom: 30px;
    position: relative;
}

.pricing-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.pricing-card.highlighted {
    border: 2px solid #4A56E2;
    box-shadow: 0 4px 16px rgba(74,86,226,0.15);
}

/* Ribbon */
.ribbon {
    width: 120px;
    height: 120px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    right: -10px;
}
.ribbon span {
    position: absolute;
    width: 160px;
    padding: 6px 0;
    background: #4A56E2;
    color: #fff;
    font-size: 0.8em;
    font-weight: 600;
    text-align: center;
    transform: rotate(45deg);
    top: 20px;
    right: -40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Typography */
.plan-title { text-align: left; margin-bottom: 5px; }
.plan-comment { text-align: left; margin-bottom: 10px; min-height: 48px; }
.price { font-size: 2.4em; font-weight: bold; color: #000; }
.period { color: #888; font-size: 1em; margin-left: 5px; }
.credit-info { text-align: left; margin-top: 5px; }

/* CTA */
.pricing-cta {
    margin-top: 15px;
    background-color: #0066ff;
    border-color: #0066ff;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px;
    font-size: 1em;
}
.pricing-cta:hover { background-color: #0050cc; border-color: #0050cc; }

/* Footer */
.pricing-features {
    background: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 15px 25px;
    font-size: .95em;
}
.pricing-features li { margin: 8px 0; }
.pricing-features i { margin-right: 8px; color: #0066ff; }

/* Period toggle */
.pricing-period-toggle {
    display: inline-flex;
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #e2e6f0;
    border-radius: 50px;
    padding: 4px;
    font-size: 14px;
    font-weight: 500;
    margin: 20px auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.pricing-period-toggle button {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 50px;
    color: #667085;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pricing-period-toggle button.active {
    background: #fff;
    color: #101828;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.pricing-period-toggle button:hover:not(.active) {
    color: #344054;
    background: #f0f2f5;
}
.toggle-separator { width: 1px; height: 20px; background: #e2e6f0; }
.save-badge {
    background: linear-gradient(90deg, #4f46e5 0%, #3b82f6 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Two-line dropdown */
.pricing-select {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #f9fafb;
    color: #344054;
    box-shadow: 0 1px 2px rgba(16,24,40,0.05);
}
.pricing-select .dropdown-toggle {
    width: 100%;
    text-align: left;
    background: #f9fafb;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
}
.pricing-select .dropdown-menu {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e2e6f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pricing-select .dropdown-menu li a {
    padding: 8px 14px;
    white-space: normal;
}
.pricing-select .small {
    font-size: 12px;
    color: #667085;
}

#marketing-resource-tags .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

#marketing-resource-tags .tag-cloud li {
    margin: 0;
}

#marketing-resource-tags .tag-pill {
    border-radius: 999px;
    padding: 2px 8px;
}

.campaign-card-wide {
    display: flex;
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    padding: 0;
}

.campaign-card-image {
    flex: 0 0 70%;
    min-width: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.campaign-card-image-empty {
    background: #f3f5f7;
}

.campaign-card-side {
    flex: 0 0 30%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.campaign-card-body,
.campaign-card-footer {
    border: 0;
}

.campaign-card-body {
    flex: 1 1 auto;
    padding: 20px;
}

.campaign-card-footer {
    padding: 12px 20px;
}

.campaign-card-title {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 1.4;
}

/* mobile */
@media (max-width: 768px) {
    .campaign-card-wide {
        flex-direction: column;
    }

    .campaign-card-image,
    .campaign-card-side {
        flex: none;
        width: 100%;
        min-width: 0;
    }

    .campaign-card-image {
        min-height: 180px;
    }
}
.environment-card .environment-card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
}

.environment-card .environment-card-left {
    width: 70%;
    position: relative;
}

.environment-card .environment-card-right {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.environment-card .environment-card-image {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 8px;
}

.environment-card .environment-lock {
    position: absolute;
    top: 0;
    right: 0;
}

.environment-card .environment-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.environment-card .environment-role {
    margin-bottom: 0;
}