.root {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: var(--border-width-sm) solid var(--border-color-alpha-black-10);
    border-radius: var(--border-radius-xs);
    background: none;
    box-shadow: none;
    cursor: pointer;
    padding: 0 16px;
    color: var(--color-text-primary);
    transition: border-color 0.3s;
}

.root:hover,
.active {
    border-color: var(--border-color-dark);
}

.label {
    position: absolute;
    top: -16px;
    right: 16px;
}

.planContainer {
    padding: 24px 0;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.planInfo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.planDetails {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.priceDetails {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.priceContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.savings {
    color: var(--color-indigo-300);
}

.price {
    color: var(--color-text-secondary);
}

.description {
    color: var(--color-text-primary);
}

.totalPrice {
    text-decoration: line-through;
    color: var(--color-text-primary-disabled);
}

.benefitsContainer {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transition: grid-template-rows 0.3s, opacity 0.3s, padding-top 0.3s, padding-bottom 0.3s;
}

.benefitsActive {
    border-top: var(--border-width-sm) solid var(--border-color-alpha-black-10);
    grid-template-rows: 1fr;
    padding: 16px 0;
    opacity: 1;
}

.benefitsContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 0;
}

.benefit {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
}

.benefitIcon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
