/*蓝色按钮----------------------------------------*/
button {
    tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: .3s ease;
    cursor: pointer;
    height: 40px;
    width: 100%;
    border: 1px solid rgba(51, 100, 237, .35);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 3px;
    background: linear-gradient(180deg, #648CFF 0%, #4172FA 100%);
    box-shadow: 0 3px 4px 0 rgba(44, 71, 146, .32), inset 0 -2px 0 0 #3262e6;
    text-align: center;
    line-height: 46px;
    user-select: none;
    font-size: 16px;
    box-shadow: 0 22px 20px #3973ff44;
    display: flex;
    justify-content: center;
    align-items: center;
}

button:hover {
    opacity: .9;
    /* box-shadow: none; */
    box-shadow: 0 11px 10px #3973ff44;
}

button:active {
    outline: none;
    background: linear-gradient(180deg, #4d7bff, #154deb);
    /* transform: scale(.97); */
    /* box-shadow: 0 11px 10px #3973ff00; */
    box-shadow: none;
    transform: translate(1px, 1px);
}

button[disabled] {
    color: #fff;
    background: #b0c7ff;
    pointer-events: none;
    cursor: default;
    box-shadow: none;
}

/*白色按钮----------------------------------------*/
button[white] {
    tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: .618s ease;
    cursor: pointer;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    color: #292f3a;
    letter-spacing: 0;
    outline: none;
    background: linear-gradient(-180deg, #fff 8%, #f2f2f7 97%);
    box-shadow: 0 2px 3px 0 rgba(44, 71, 146, .32), 0 -1px 1px 0 rgba(44, 71, 146, .1);
}

button[white]:hover {
    background: linear-gradient(-180deg, #f2f2f7 20%, #f2f2f7 97%);
    box-shadow: none;
    color: #3973ff;
    border: none;
}

button[white]:active,
button[white]:active {
    background: #d8dde6;
    transform: scale(.97);
}

button[white][disabled] {
    background: rgba(216, 221, 230, .8) !important;
    pointer-events: none;
    cursor: default;
    color: white;
    box-shadow: none;
}

/*输入框----------------------------------------*/
input {
    transition: .618s ease;
    width: 100%;
    height: 40px;
    background: #fff;
    border-radius: 3px;
    padding: 10px;
    outline: none;
    font-size: 16px;
    color: #292f3a;
    letter-spacing: 0;
    line-height: 16px;
    box-sizing: border-box;
    border: 1px solid #c0c4cc;
}

input:hover {
    border-color: #909399;
}

input:focus,
input:active {
    border-color: #3973ff;
    background: #f7f9fc;
    box-shadow: 0 5px 22px #3973ff33;
}

input[disabled] {
    pointer-events: none;
    background: #f2f5fa;
    border: 1px solid #c0c4cc;
}

input[error] {
    border-color: #dd1a32;
    background: #ffeff1;
}

input[error]:focus,
input[error]:active {
    color: #dd1a32;
    border-color: #ad0015;
    background: #dd1a3222;
}

/*下拉框----------------------------------------*/
select {
    transition: .618s ease;
    width: 100%;
    height: 40px;
    font-size: 16px;
    color: #292f3a;
    letter-spacing: 0;
    line-height: 16px;
    border: 1px solid #c0c4cc;
    border-radius: 3px;
    background: #fff;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 10px 12px 10px 12px;
    cursor: pointer;
}

select:hover {
    border-color: #909399;
}

select:focus,
select:active {
    border: 2px solid #3973ff;
    background: #f7f9fc;
    padding: 9px 11px 9px 11px;
}

select[disabled] {
    pointer-events: none;
    background: #f2f5fa;
    border: 1px solid #c0c4cc;
}

/*标签----------------------------------------*/
.tag {
    display: inline-block;
    position: relative;
    padding: 6px 12px;
    font-size: 14px;
    background: #e4e9f2;
    color: rgb(32, 17, 172);
    border-radius: 100px;
    cursor: default;
}

/*黑色气泡框----------------------------------------*/
.black-arrow-tip {
    position: relative;
    display: inline-block;
    padding: 10px 12px;
    max-width: 240px;
    border-radius: 3px;
    font-size: 12px;
    color: #fff;
    line-height: 12px;
    box-sizing: border-box;
    background: #292f3a;
    box-shadow: 0 2px 3px 0 rgba(41, 47, 58, .4);
}

.black-arrow-tip:after {
    content: "";
    position: absolute;
    left: -4px;
    top: 11px;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    transform: rotate(45deg);
    background: #292f3a;
    box-shadow: 0 2px 3px 0 rgba(41, 47, 58, .4);
}

/*白色气泡框----------------------------------------*/
.white-arrow-tip {
    position: relative;
    display: inline-block;
    padding: 10px 12px;
    border-radius: 3px;
    max-width: 240px;
    font-size: 12px;
    color: #fff;
    line-height: 12px;
    background: #fff;
    box-shadow: 0 -1px 1px 0 rgba(216, 221, 230, .4), 0 2px 4px 0 #ccd0d9;
    color: rgba(41, 47, 58, .7);
}

.white-arrow-tip:after {
    content: "";
    position: absolute;
    left: -4px;
    top: 11px;
    display: block;
    width: 10px;
    height: 10px;
    background: #fff;
    box-shadow: -1px 2px 1px 0 rgba(41, 47, 58, .14);
    border-radius: 2px;
    transform: rotate(45deg);
}

/*普通提示----------------------------------------*/
.normal-tip {
    display: inline-block;
    padding: 10px 12px;
    background: #525966;
    border-radius: 2px;
    font-size: 12px;
    color: hsla(0, 0%, 100%, .7);
    letter-spacing: 0;
    line-height: 12px;
}

/*关闭按钮----------------------------------------*/
.close-btn {
    tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: transparent !important;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    font-style: normal;
    position: relative;
    text-align: center;
    user-select: none;
}

.close-btn:after {
    content: "";
    position: absolute;
    margin-top: -21px;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, .08);
    opacity: 0;
    transform: scale(.5);
    transition: all .2s cubic-bezier(.175, .885, .32, 1.275);
}

.close-btn:hover:after {
    opacity: 1;
    transform: scale(1.4);
}

/*卡片----------------------------------------*/
.normal-card {
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px;
    margin: 10px;
    background: #fff;
    box-shadow: 0 2px 4px 0 #ccd0d9;
}

.card {
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px;
    margin: 10px;
    background: #fff;
    box-shadow: 0 -1px 3px 0 rgba(216, 221, 230, .3), 0 6px 12px 0 rgba(204, 208, 217, .8);
}

.large-card {
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px;
    margin: 10px;
    background: #fff;
    box-shadow: 0 12px 29px 0 #ccd0d9;
}

/*单选框----------------------------------------*/
input[type="radio"] {
    width: 20px;
    height: 20px;
    transform: translateY(4px);
}

/*复选框----------------------------------------*/
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    transform: translateY(4px);
}

/* 多方文本---------------------------------------- */

textarea {
    transition: .618s ease;
    width: 100%;
    height: 40px;
    background: #fff;
    border-radius: 3px;
    padding: 10px;
    outline: none;
    font-size: 16px;
    color: #292f3a;
    letter-spacing: 0;
    line-height: 1.6;
    box-sizing: border-box;
    border: 1px solid #c0c4cc;
    resize: none;
    font-family: 'Microsoft YaHei';
}

textarea:hover {
    border-color: #909399;
}

textarea:focus,
textarea:active {
    border-color: #3973ff;
    background: #f7f9fc;
    box-shadow: 0 5px 22px #3973ff33;
}

textarea[disabled] {
    pointer-events: none;
    background: #f2f5fa;
    border: 1px solid #c0c4cc;
}

textarea[error] {
    border-color: #dd1a32;
    background: #ffeff1;
}

textarea[error]:focus,
textarea[error]:active {
    color: #dd1a32;
    border-color: #ad0015;
    background: #dd1a3222;
}

/* 强调---------------------------------------- */
/*强调css*/
[sg-emphasize] {
    animation: sg-emphasize .3s ease 3;
}

@keyframes sg-emphasize {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}


/*左上角标签，父元素必须设置position: relative;overflow: hidden;height: 大于120;width: 大于120px;，同时，角标标签内加入属性superscript-title="左上角标签文字内容"*/
[superscript-title]:after {
    content: attr(superscript-title);
    position: absolute;
    top: 0px;
    right: -50px;
    width: 120px;
    height: 18px;
    line-height: 18px;
    font-size: 12px;
    font-family: 'Microsoft YaHei';
    text-align: center;
    color: white;
    background: linear-gradient(90deg, orange 0%, orangered 100%);
    transform: rotate(45deg);
}

[superscript-title] {
    position: relative;
    overflow: hidden;
    /* 以下代码可以不要---------------------------------------- */
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 100px; */
    /* height: 100px; */
    border-radius: 10px;
    background-color: #1f75d5;
    color: white;
    margin: 10px;
}

/* elementUI ---------------------------------------- */
.el-btn {
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 8px 20px 10px;
    font-size: 14px;
    border-radius: 4px;

    color: #409eff;
    background: #ecf5ff;
    border-color: #b3d8ff;
}

.el-btn:hover {
    background: #409eff;
    border-color: #409eff;
    color: #fff;
}

.el-btn:active {
    background: #3a8ee6;
    border-color: #3a8ee6;
    color: #fff;
    outline: none;
}

.el-btn+.el-btn {
    margin-left: 5px;
}