﻿.msg-box {
    z-index: 10000;
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    max-width: 90vw;
    background: #fff;
    border-radius: 0.08rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.msg-box .box-inner {
    display: flex;
    flex-direction: row;
}

.msg-box .box-left {
    flex: 0 0 280px;
    position: relative;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e8ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.msg-box .box-left::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.msg-box .box-left img {
    width: 200px;
    height: 260px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.msg-box .box-right {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.msg-box .close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 10;
    background: url('../../img/common/box-close.png') no-repeat center;
    background-size: 100% 100%;
}

.msg-box .close:hover {
    opacity: 0.7;
}

.msg-box .title {
    font-weight: bold;
    text-align: left;
    font-size: 24px;
    color: #1a365d;
    margin-bottom: 5px;
}

.msg-box .subtitle {
    text-align: left;
    font-size: 14px;
    color: #f59e0b;
    margin-bottom: 20px;
}

.msg-box .content {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.8;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.msg-box .content::-webkit-scrollbar {
    width: 4px;
}

.msg-box .content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.msg-box .content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.msg-box .content p {
    margin-bottom: 15px;
    text-indent: 2em;
}

/* 响应式 */
@media (max-width: 768px) {
    .msg-box {
        width: 95vw;
    }
    
    .msg-box .box-inner {
        flex-direction: column;
    }
    
    .msg-box .box-left {
        flex: 0 0 auto;
        padding: 20px;
    }
    
    .msg-box .box-left img {
        width: 150px;
        height: 200px;
    }
    
    .msg-box .content {
        max-height: 200px;
    }
}

.mask-layer {
    z-index: 9999;
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(81,92,84,0.5);
}
