.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.custom-modal.show {
    display: block;
}

.custom-modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.custom-modal.show .custom-modal-content {
    transform: translateY(0);
}

.custom-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 12px 12px 0 0;
}

.custom-modal-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.custom-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.custom-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.custom-modal-body {
    padding: 1.8rem;
}

.custom-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* 消息弹窗样式 */
.message-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.message-icon {
    font-size: 3rem;
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.6;
}