/* 留言弹窗样式 - 公共CSS文件 */
.message-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
    display: none;
}

.message-modal-content {
    position: relative;
    margin: 7% auto;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s;
}

.message-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.message-container .iform {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 8px;
}

.message-container .info {
    padding: 30px;
    text-align: center;
    color: white;
}

.message-container .iform-box {
    padding: 30px;
    background: white;
    border-radius: 0 0 8px 8px;
}

#sumitblue {
    margin-top: 30px;
}

        .close-message {
            position: absolute;
            top: 10px;
            right: 20px;
            color: black;
            font-size: 28px;
            cursor: pointer;
            z-index: 10001;
            line-height: 1;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.3s;
        }
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .message-modal-content {
        margin: 7% auto;
        width: 95%;
    }
    
    .message-container .info,
    .message-container .iform-box {
        padding: 20px;
    }
}

/* 验证码行样式 */
.captcha-wrap .verifyCode:hover img {
    filter: brightness(0.9);
}