File: /home/storage/5/78/dd/wicomm2/public_html/mroculos/components/whatsapp-modal/style.css
.whatsapp-modal {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
padding: 0 16px;
}
.whatsapp-modal.is-active {
display: flex;
}
.whatsapp-modal__overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(2px);
}
.whatsapp-modal__container {
position: relative;
background: #fff;
width: 100%;
max-width: 520px;
border-radius: 8px;
padding: 20px;
z-index: 2;
box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.whatsapp-modal__header-top {
display: flex;
align-items: center;
justify-content: space-between;
}
.whatsapp-modal__title {
color:#305296;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: 24px;
letter-spacing: 0.36px;
}
.whatsapp-modal__close {
padding: 0;
border: none;
background: transparent;
cursor: pointer;
}
.whatsapp-modal__description {
color: #000;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 20px;
letter-spacing: 0.24px;
margin: 0;
}
.whatsapp-modal__header {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 16px;
width: 100%;
}
.whatsapp-modal__actions {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 8px;
}
.whatsapp-modal__button {
aspect-ratio: 1/1;
width: 100%;
border-radius: 12px;
background: rgba(230, 239, 255, 0.80);
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 4px;
padding: 30px 16px;
width: 153px;
height: 134px;
text-decoration: none;
}
.whatsapp-modal_button-label {
text-align: center;
color: #305296;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22px;
letter-spacing: 0.28px;
}
.whatsapp-modal__button svg {
min-width: 33px;
min-height: 33px;
aspect-ratio: 1/1;
}
@media (max-width: 1080px) {
.whatsapp-modal__container {
padding: 20px 16px;
max-width: 320px;
}
.whatsapp-modal__actions {
display: flex;
flex-direction: column;
gap: 8px;
}
.whatsapp-modal__button {
width: 100%;
height: 100%;
padding: 28px 69px 22px 70px;
aspect-ratio: 261/134;
justify-content: center;
}
.whatsapp-modal__header-top {
align-items: flex-start;
}
}