:root{
    --themeColor: #ed484b;
    --themeColorHoverDark: #fa3538;
    --themeColorHoverLight: #f86b6e;
    --borColor: #ddd;
    --borColorHov: #ccc;
    --ts: #ed484b;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body{
    width: 100%;
    height: 100%;
}
body {
    font-family: "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}


ul, ol, li {
    list-style: none;
}


a {
    text-decoration: none;
    color: inherit;
    -webkit-touch-callout: none;
    cursor: pointer;
}

a:hover {
    color: #1890ff;
}


input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: transparent;
    cursor: text;
    color: #666;
}

input:disabled, button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}


.clearfix::after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #d9d9d9;
}
::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

/* msg */
.stack-msg-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    padding: 0 20px;
}

.stack-msg-item {
    padding: 8px 12px;
    border-radius: 8px;
    color: rgba(0, 0, 0, 0.88);
    font-size: 14px;
    text-align: left;
    max-width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s ease; /* 显示/隐藏/上移动画 */
    pointer-events: none; /* 不遮挡页面交互 */
    display: flex;
    align-items: flex-start;
}
.stack-msg-item .msgIcon{
    font-size: 14px;
    margin-right: 5px;
}
.stack-msg-item.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.msg-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
}
.msg-error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
}
.msg-warning {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
}
.msg-info {
    background-color: #e6f4ff;
    border: 1px solid #91caff;
}

/* 适配移动端 */
@media (max-width: 768px) {
    .stack-msg-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    .stack-msg-container {
        top: 10px;
        gap: 8px;
    }
}



.is-required{
    position: relative;
}
.is-required:before{
    position: absolute;
    top: 1px;
    left: -10px;
    content: '* ';
    color: var(--ts);
}

.disabledBtn{
    background: var(--themeColorHoverLight) !important;
}