/* 全局重置与基础样式 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* 提示框主体样式 */
.showMsg {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    position: relative;
}

/* 头部样式 */
.showMsg h5 {
    background: linear-gradient(135deg, #fd5523, #09313c);
    color: #ffffff;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.showMsg h5::before {
    content: '💡';
    margin-right: 10px;
    font-size: 20px;
}

/* 内容区域样式 */
.showMsg .content {
    padding: 30px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showMsg .guery {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
    padding-left: 40px;
    position: relative;
}

/* 图标样式 */
.showMsg .ok::before,
.showMsg .guery::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.showMsg .ok::before {
    background-color: #dcfce7;
    color: #10b981;
    content: '✓';
}

.showMsg .guery::before {
    background-color: #eff6ff;
    color: #3b82f6;
    content: 'ℹ️';
}

/* 底部按钮区域 */
.showMsg .bottom {
    background: #f9fafb;
    padding: 16px 24px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    margin: 0;
}

/* 链接和按钮样式 */
a:link,
a:visited {
    text-decoration: none;
    color: #fd5523;
    font-weight: 500;
}

a:hover,
a:active {
    color: #1d4ed8;
    text-decoration: underline;
}

input[type="button"] {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

input[type="button"]:hover {
    background-color: #1d4ed8;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.showMsg {
    animation: fadeIn 0.4s ease-out forwards;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .showMsg {
        width: 95%;
    }
    
    .showMsg h5 {
        font-size: 16px;
        padding: 14px 20px;
    }
    
    .showMsg .content {
        padding: 24px 16px;
        font-size: 15px;
    }
    
    .showMsg .bottom {
        padding: 14px 16px;
    }
}