.modalBox { display: flex; flex-direction: column; align-items: center; position: relative; transform: translateY(-50px) scale(0.98); transition: all 0.2s ease-in-out; opacity: 0; &.bottom { transform: translateY(100%) scale(1); } &.showed { transform: translateY(0) scale(1); opacity: 1; } .modalBoxContainer { background-color: var(--primary1); border-radius: 0.1rem; padding: 0.1rem; width: 100%; } .closeBtn { margin-top: 0.1rem; background-color: var(--primary1); border-radius: 0.06rem; padding: 0.08rem; cursor: pointer; } .footer { padding-top: 0.1rem; } .confirmBtn { font-size: 14px; padding: 10px 0; width: 100%; } }