.oms-br-plans {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("https://nexsaas.co/wp-content/uploads/2026/05/backGroundImage.png");
    background-attachment: fixed;
}
.oms-br-plans * {
    box-sizing: border-box;
}
.oms-br-plans-heading {
    text-align: center;
    margin-bottom: 30px;
}
.oms-br-plans-heading h2 {
    color: #fff;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
    margin: 12px 0;
}
.oms-br-plans-heading p {
    color: #fff;
    margin: 8px 0;
}
.oms-br-plans-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
.oms-br-plans-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 30px;
}
.oms-br-plans-tabs button {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: #fff;
    padding: 12px 28px;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}
.oms-br-plans-tabs button[aria-selected="true"] {
    border-bottom-color: #fff;
}
.oms-br-plans button:focus-visible,
.oms-br-plans-panel:focus-visible {
    outline: 3px solid #ffcc75;
    outline-offset: 5px;
}
.oms-br-plans-panel[hidden] {
    display: none !important;
}
.oms-br-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 400px));
    gap: 28px;
    max-width: 1280px;
    margin: auto;
    justify-content: center;
}

/* Exactly 2 cards */
.oms-br-plans-grid:has(> :first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 400px));
}
.oms-br-plan-card {
    background: #f2eefe;
    border-radius: 16px;
    border: 1px solid #7a7a7a;
    overflow: hidden;
    transition: transform 0.3s;
    padding: 20px;
}
.oms-br-plan-card.is-selected {
    border-color: #3e1953;
}
.oms-br-plan-price {
    font-family: "DM Sans", Sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #3e1953;
    margin: 0;
}
.oms-br-plan-card:nth-child(even) h3 {
    background-image: linear-gradient(90deg, #ff9e2c, #ffae12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.oms-br-plan-service {
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
    font-family: "DM Sans", Sans-serif;
    color: #3e1953;
}
.oms-br-plan-service.hide {
    display: none;
}
.oms-br-plan-select {
    display: block;
    background-image: linear-gradient(166deg, #4318ff 0%, #7527ff 100%);
    color: #fff;
    text-align: center;
    padding: 15px 0px;
    border-radius: 60px;
    text-decoration: none;
    margin: 20px 0;
    width: 100%;
    border: 0px;
    cursor: pointer;
}
.oms-br-plan-select:hover {
    background-image: linear-gradient(166deg, #4318ff 0%, #7527ff 100%);
    color: #fff;
}
.oms-br-plan-select[aria-pressed="true"] {
    background-image: linear-gradient(190deg, #4318ff 0%, #7527ff 100%);
    color: #fff;
}
.oms-br-plan-card h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    font-family: "DM Sans", Sans-serif;
    background: linear-gradient(90deg, #7527ff, #4318ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.oms-br-plan-duration {
    font-family: "DM Sans", Sans-serif;
    color: #625e6f;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
}
.divider-icon {
    display: none;
    /* margin: 20px 0; */
}
.oms-br-plan-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 26px 0;
    color: #c5afe8;
}
.oms-br-plan-divider::before,
.oms-br-plan-divider::after {
    content: "";
    height: 1px;
    background: #e0d4f3;
    flex: 1;
}
.oms-br-plan-card h4 {
    font-family: "DM Sans", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #625e6f;
}
.oms-br-plan-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.oms-br-plan-card li {
    position: relative;
    padding-left: 26px;
    font-family: "DM Sans", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #3e1953;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
}
.oms-br-plan-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3e1953;
}
.oms-br-plans-notice {
    text-align: center;
    padding: 28px;
    border: 1px solid #ffffff55;
    border-radius: 12px;
    color: #fff;
    margin: 0 auto;
    max-width: fit-content;
}
.oms-br-plan-selection {
    text-align: center;
    color: #fff;
    margin: 24px 0 0;
}
.oms-br-plan-selection:empty {
    display: none;
}
@media (max-width: 600px) {
    /* .oms-br-plans {
        padding: 30px 16px;
        border-radius: 0;
    } */
    .oms-br-plans-tabs {
        gap: 12px;
    }
    .oms-br-plans-tabs button {
        padding: 10px 24px;
    }
}

.oms-br-registration-screen [hidden] {
    display: none !important;
}
.oms-br-back-to-plans {
    background: transparent;
    color: #7527ff;
    border: 0px solid currentColor;
    border-radius: 0px;
    padding: 0;
    cursor: pointer;
    font: inherit;
}
.oms-br-back-to-plans:focus-visible {
    outline: 0px solid #5422bd;
    outline-offset: 0px;
}
.backplans {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    justify-content: space-between;
    margin-top: -0.5rem;
}
.oms-br-selected-plan-summary {
    background: linear-gradient(90deg, #4318ff, #4318ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin: 0;
}

@media (min-width: 1200px) {
    .oms-br-plan-price {
        font-size: 40px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .oms-br-plan-price {
        font-size: 36px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .oms-br-plan-price {
        font-size: 34px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .oms-br-plan-price {
        font-size: 32px;
    }
}

@media (min-width: 320px) and (max-width: 575px) {
    .oms-br-plan-price {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .oms-br-plans-grid,
    .oms-br-plans-grid:has(> :first-child:nth-last-child(2)) {
        grid-template-columns: repeat(2, minmax(0, 340px));
    }
}

@media (max-width: 640px) {
    .oms-br-plans-grid,
    .oms-br-plans-grid:has(> :first-child:nth-last-child(2)) {
        grid-template-columns: minmax(0, 340px);
    }
}
