.pct-toast-host {
position: fixed;
left: 50%;
bottom: calc(78px + env(safe-area-inset-bottom, 0px));
transform: translateX(-50%);
z-index: 10050;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
width: min(480px, calc(100vw - 24px));
pointer-events: none;
}
.pct-toast {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
max-width: 280px;
padding: 16px 20px;
border-radius: 16px;
background: #fff;
color: #1a2b33;
font-size: 14px;
line-height: 1.45;
text-align: center;
box-shadow: 0 10px 32px rgba(13, 72, 86, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
border: 1px solid rgba(36, 160, 189, 0.18);
opacity: 0;
transform: translateY(12px);
transition: opacity 0.28s ease, transform 0.28s ease;
pointer-events: auto;
}
.pct-toast--info {
max-width: 360px;
padding: 18px 24px;
}
.pct-toast.is-visible {
opacity: 1;
transform: translateY(0);
}
.pct-toast__icon {
flex: 0 0 auto;
width: 40px;
height: 40px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 18px;
line-height: 1;
}
.pct-toast__text {
display: block;
width: 100%;
}
.pct-toast--info .pct-toast__icon {
background: rgba(36, 160, 189, 0.14);
color: #156072;
}
.pct-toast--success .pct-toast__icon {
background: rgba(230, 57, 70, 0.12);
color: #e63946;
}
.pct-toast--neutral .pct-toast__icon {
background: rgba(21, 96, 114, 0.12);
color: #156072;
}
#pcs-toast.pcs-toast {
display: none;
}
@media (min-width: 768px) {
.pct-toast-host {
top: 20px;
bottom: auto;
}
.pct-toast {
transform: translateY(-12px);
}
.pct-toast--info {
max-width: 520px;
padding: 20px 28px;
}
.pct-toast.is-visible {
transform: translateY(0);
}
}
@media (max-width: 767px) {
.pct-toast {
max-width: 260px;
padding: 14px 18px;
font-size: 13px;
border-radius: 14px;
}
.pct-toast--info {
max-width: min(340px, calc(100vw - 32px));
padding: 16px 20px;
}
.pct-toast__icon {
width: 36px;
height: 36px;
font-size: 16px;
}
}