Files
PVHFrontend/src/components/Modal/Modal.module.css
T
2026-05-27 21:28:43 +03:00

99 lines
1.5 KiB
CSS

.modalRoot :global(.ant-modal-content) {
overflow: hidden;
padding: 0;
border-radius: 24px;
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}
.modalRoot :global(.ant-modal-close) {
top: 18px;
right: 18px;
border-radius: 50%;
color: #222;
}
.modalRoot :global(.ant-modal-close:hover) {
background: #ffffff;
transform: translateY(-1px);
}
.modalBox {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
padding: 46px 44px 38px;
text-align: center;
}
.modalBox::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
border: 1px solid rgba(255, 212, 0, 0.35);
border-radius: 24px;
}
.iconWrap {
display: grid;
place-items: center;
width: 78px;
height: 78px;
margin-bottom: 22px;
border-radius: 50%;
background: #fff4a8;
box-shadow: 0 14px 30px rgba(255, 212, 0, 0.3);
}
.icon {
color: #111111;
font-size: 42px;
}
.title {
max-width: 360px;
margin: 0;
font-size: 30px;
font-weight: 700;
}
.subtitle {
max-width: 350px;
margin: 12px 0 28px;
color: #636363;
font-size: 16px;
line-height: 1.55;
}
@media (max-width: 560px) {
.modalRoot :global(.ant-modal) {
max-width: calc(100vw - 28px);
}
.modalBox {
padding: 40px 24px 30px;
}
.iconWrap {
width: 68px;
height: 68px;
margin-bottom: 18px;
}
.icon {
font-size: 36px;
}
.title {
font-size: 24px;
}
.subtitle {
margin-bottom: 24px;
font-size: 15px;
}
}