w-aura/src/components/CompatibilityV2/pages/TrialChoice/styles.module.scss
2025-09-07 19:59:31 +00:00

197 lines
3.3 KiB
SCSS

.container {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
}
.email-substrate {
display: grid;
grid-template-columns: 1fr 36px;
align-content: center;
position: absolute;
max-width: calc(100% + 9px);
top: -18px;
right: -26px;
height: 46px;
}
.title {
font-size: 28px;
line-height: 125%;
margin-top: 44px;
color: #2c2c2c;
font-weight: 500;
}
.prices-container {
justify-content: center;
gap: 10px;
width: fit-content;
margin: 0 auto;
}
.price-item {
border: solid #2c2c2c 1px;
width: 70px;
height: 65px;
font-size: 20px;
font-weight: 500;
// &:last-child::after {
// content: "";
// position: absolute;
// width: 2px;
// height: 20px;
// background-color: #224e90;
// bottom: -30px;
// left: 50%;
// }
& > .priceItemArrow {
position: absolute;
bottom: -29px;
left: 50%;
transform: translateX(-50%);
}
&.price-item-active {
border: solid #224e90 3px !important;
background-color: transparent;
color: #224e90;
}
&.price-item-disabled {
color: #fb6c6c;
border-color: #fb6c6c;
}
}
:global(.dark-theme) .price-item {
border: solid #f7f7f7 1px;
&.price-item-active {
border: solid #4f8de5 3px !important;
color: #4f8de5;
}
&.price-item-disabled {
color: #fb6c6c;
border-color: #fb6c6c;
}
}
.price-container {
position: relative;
width: 100%;
margin-top: 10px;
display: flex;
flex-direction: column;
gap: 32px;
&.price-container-disabled {
background: #fef2f2;
border: 1px solid rgba(254, 202, 202, 1);
}
}
.priceListContainer {
width: fit-content;
margin-inline: auto;
transition: all 0.2s ease;
&.priceListContainerDisabled {
background: #fef2f2;
border: 1px solid rgba(254, 202, 202, 1);
padding: 20px 12px 10px;
border-radius: 8px;
& > .priceListContainerDisabledText {
color: rgba(185, 28, 28, 1);
font-size: 16px;
line-height: 24px;
display: flex;
align-items: center;
gap: 15px;
padding-left: 6px;
margin-bottom: 20px;
}
& .price-item {
border: 1px solid rgba(156, 163, 175, 1);
color: #000;
background-color: #fff;
box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1),
0px 2px 4px 0px rgba(0, 0, 0, 0.1);
&:last-child {
border-width: 3px;
}
}
}
}
.auxiliary-text {
font-size: 15px;
line-height: 125%;
font-weight: 600;
color: #0244a5;
width: 100%;
text-align: center;
}
:global(.dark-theme) .auxiliary-text {
color: #4f8de5;
}
.cursor {
position: absolute;
width: 2px;
height: 20px;
background-color: #224e90;
top: 71px;
right: 34px;
}
.loader {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.button {
margin-top: 20px;
transition: background 0.2s ease, color 0.2s ease;
&:not(.button-v1):disabled {
border: solid #224e90 1px;
background: none;
color: #120d0d;
opacity: 1;
}
&.button-v1 {
position: sticky;
bottom: calc(0dvh + 16px);
&.button-v1-disabled {
opacity: 0.2;
}
}
}
:global(.dark-theme) {
.button:not(.button-v1):disabled {
border: solid #4f8de5 1px;
background: none;
color: #f7f7f7;
}
}
.text {
white-space: pre-wrap;
margin-top: 40px;
margin-bottom: 6px;
}