﻿@charset "utf-8";

/*===================== Validform 必须样式：粉色主题美化版 ====================*/

/* 普通提示文字 */
.Validform_checktip {
    margin-left: 8px;
    line-height: 25px;
    overflow: hidden;
    color: #999;
    font-size: 14px;
}

/* 验证通过 */
.Validform_right {
    color: #22a66a;
    padding-left: 20px;
    background: url(valid_icons.png) no-repeat -40px -20px;
}

/* 验证错误 */
.Validform_wrong {
    color: #e5484d;
    padding-left: 20px;
    white-space: nowrap;
    background: url(valid_icons.png) no-repeat -20px -40px;
}

/* 加载中 */
.Validform_loading {
    padding-left: 20px;
    background: url(icon_onload.gif) no-repeat left center;
}

/* 输入框错误状态 */
.Validform_error {
    background: #fff7fb !important;
    border-color: #e886ae !important;
    box-shadow: 0 0 0 4px rgba(232, 134, 174, 0.16) !important;
}


/*===================== Validform 弹窗提示 ====================*/

#Validform_msg {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    z-index: 100003 !important;
    display: none;
    width: 420px !important;
    max-width: calc(100% - 32px) !important;
    transform: translate(-50%, -50%) !important;
    color: #4f5f78;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #fff;
    border: none !important;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(232, 134, 174, 0.26) !important;
    filter: none !important;
}

/* 去掉旧版 iframe 遮挡层 */
#Validform_msg .iframe {
    display: none !important;
}

/* 顶部标题栏 */
#Validform_msg .Validform_title {
    position: relative;
    height: 58px !important;
    line-height: normal !important;
    padding: 0 62px 0 24px !important;
    text-align: left;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(270deg, #f0a3c4 0%, #e886ae 100%);
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

/* 标题前图标 */
#Validform_msg .Validform_title:before {
    content: "\f071";
    font-family: FontAwesome;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    font-size: 17px;
    color: #fff;
    line-height: 1 !important;
}

/* 标题文字链接 */
#Validform_msg .Validform_title a {
    color: #fff !important;
}

/* 关闭按钮 */
#Validform_msg a.Validform_close:link,
#Validform_msg a.Validform_close:visited {
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    transform: translateY(-50%) !important;
    display: block !important;
    overflow: hidden !important;
}

#Validform_msg a.Validform_close:before,
#Validform_msg a.Validform_close:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform-origin: center;
}

#Validform_msg a.Validform_close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#Validform_msg a.Validform_close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#Validform_msg a.Validform_close:hover {
    background: rgba(255, 255, 255, 0.30) !important;
    transform: translateY(-50%) rotate(90deg) !important;
}

/* 内容区域 */
#Validform_msg .Validform_info {
    position: relative;
    min-height: 96px !important;
    padding: 26px 30px 26px 92px !important;
    border: none !important;
    text-align: left;
    color: #344054;
    font-size: 16px;
    line-height: 24px !important;
    background: #fff;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

/* 内容左侧感叹号图标 */
#Validform_msg .Validform_info:before {
    content: "\f12a";
    font-family: FontAwesome;
    position: absolute;
    left: 30px;
    top: 50% !important;
    width: 44px;
    height: 44px;
    line-height: 1 !important;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    font-size: 20px;
    background: linear-gradient(270deg, #f0a3c4 0%, #e886ae 100%);
    box-shadow: 0 12px 24px rgba(232, 134, 174, 0.28);
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 内容底部分割线 */
#Validform_msg .Validform_info:after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 1px;
    background: #f4d4e2;
}


/*===================== 移动端 ====================*/

@media screen and (max-width: 768px) {
    #Validform_msg {
        width: calc(100% - 32px) !important;
        border-radius: 20px;
    }

    #Validform_msg .Validform_title {
        height: 54px !important;
        padding: 0 56px 0 20px !important;
        font-size: 17px;
    }

    #Validform_msg .Validform_title:before {
        font-size: 16px;
        margin-right: 8px !important;
    }

    #Validform_msg a.Validform_close:link,
    #Validform_msg a.Validform_close:visited {
        right: 14px !important;
        width: 32px !important;
        height: 32px !important;
    }

    #Validform_msg .Validform_info {
        min-height: 88px !important;
        padding: 24px 22px 24px 78px !important;
        font-size: 14px;
        line-height: 24px !important;
    }

    #Validform_msg .Validform_info:before {
        left: 22px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    #Validform_msg .Validform_info:after {
        left: 22px;
        right: 22px;
    }
}