.am-dialog-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: amDialogFadeIn 0.3s ease;
}

@keyframes amDialogFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.am-dialog-container {
    background-color: #ffffff;
    border-radius: 12px;
    width: 560px;
    max-width: 85vw;
    overflow: hidden;
    animation: amDialogScaleIn 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

@keyframes amDialogScaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.am-dialog-header {
    padding: 40px 40px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
}

.am-dialog-body {
    padding: 10px 40px 40px;
    text-align: center;
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-line;
}

.am-dialog-footer {
    display: flex;
    border-top: 1px solid #eeeeee;
    position: relative;
}

.am-dialog-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eeeeee;
    transform: scaleY(0.5);
    transform-origin: 0 0;
}

.am-dialog-btn {
    flex: 1;
    padding: 24px 16px;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    transition: background-color 0.2s;
    position: relative;
    color: #333333;
    font-weight: 500;
}

.am-dialog-btn:hover,
.am-dialog-btn:active {
    background-color: rgba(0, 0, 0, 0.04);
}

.am-dialog-btn + .am-dialog-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1px;
    background-color: #eeeeee;
    transform: scaleX(0.5);
    transform-origin: 0 0;
}

.am-dialog-btn-primary {
    color: #1677ff;
    font-weight: 600;
}

.am-dialog-btn-danger {
    color: #f93a4a;
    font-weight: 600;
}
