/* ==================== 确认模态框样式 ==================== */

/* 遮罩层 */
.my-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.my-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 模态框主体 */
.my-modal-box {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    padding: 32px 28px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.my-modal-overlay.active .my-modal-box {
    transform: scale(1) translateY(0);
}

/* 图标 */
.my-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: #ecf5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-modal-icon svg {
    width: 28px;
    height: 28px;
    color: #409eff;
}

/* 文字 */
.my-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
    text-align: center;
    margin-bottom: 12px;
}

.my-modal-message {
    font-size: 14px;
    color: #606266;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* 按钮组 */
.my-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.my-modal-btn {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    min-width: 96px;
    font-weight: 500;
}

.my-modal-btn-cancel {
    color: #606266;
    background: #fff;
    border-color: #dcdfe6;
}

.my-modal-btn-cancel:hover {
    color: #409eff;
    border-color: #c6e2ff;
    background: #ecf5ff;
}

.my-modal-btn-confirm {
    color: #fff;
    background: #409eff;
    border-color: #409eff;
}

.my-modal-btn-confirm:hover {
    background: #66b1ff;
    border-color: #66b1ff;
}

.my-modal-btn-confirm.danger {
    background: #f56c6c;
    border-color: #f56c6c;
}

.my-modal-btn-confirm.danger:hover {
    background: #f78989;
    border-color: #f78989;
}