.popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--popup-back-overlay-color);display:flex;justify-content:center;align-items:center;z-index:1000}.popup{background-color:var(--color-white);border-radius:8px;padding:20px;width:clamp(500px,700px,100%);max-width:calc(100vw - 12px);box-shadow:0 4px 8px #0000001a;position:relative;display:flex;flex-direction:column;height:-moz-max-content;height:max-content;max-height:100%;box-sizing:border-box}.popup-header{display:flex;justify-content:space-between;align-items:center;min-width:0}.popup-header h2{margin:0;font-size:1.1rem;min-width:0;word-break:break-word}.close-btn{background:none;border:none;font-size:24px;cursor:pointer}.popup-content{margin-top:20px;height:100%;flex:1 1 auto;min-height:0;overflow-y:auto}.popup-footer{flex:0 0 auto;margin-top:12px;background-color:var(--color-white);box-sizing:border-box}.button-text-with-icon .close-btn{border-radius:50%;height:30px;width:30px;box-shadow:1px 2px 20px #0003;display:grid;place-items:center;padding:0}.button-text-with-icon .close-btn span{font-size:1rem;box-shadow:1px 2px 20px #cccccc7f;line-height:1rem;border-radius:50%}@media screen and (max-width: 768px){.popup-overlay{padding:8px;align-items:center}.popup{width:96%;max-width:96vw;max-height:calc(100dvh - 16px);padding:14px}.popup-content{margin-top:12px}.popup-footer{margin-top:10px;padding-bottom:env(safe-area-inset-bottom,0px)}}@media screen and (max-width: 480px){.popup{padding:12px;border-radius:10px}}
